Class CoherenceAnnotationUtils
- java.lang.Object
-
- com.oracle.coherence.spring.configuration.support.CoherenceAnnotationUtils
-
public final class CoherenceAnnotationUtils extends java.lang.Object
Provides utilities for retrieving annotations from the providedInjectionPoint
.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.annotation.Annotation>
getAnnotationsMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, java.lang.Class markerAnnotation)
static <T> java.util.Collection<T>
getBeansOfTypeWithAnnotation(ConfigurableApplicationContext applicationContext, java.lang.Class<? extends T> beanType, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
static java.lang.Class<?>
getBeanTypeForBeanName(BeanFactory beanFactory, java.lang.String beanName)
static java.lang.annotation.Annotation
getSingleAnnotationMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, java.lang.Class markerAnnotation)
static <T> T
getSingleBeanWithAnnotation(ApplicationContext applicationContext, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
-
-
-
Method Detail
-
getAnnotationsMarkedWithMarkerAnnotation
public static java.util.List<java.lang.annotation.Annotation> getAnnotationsMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, java.lang.Class markerAnnotation)
-
getSingleAnnotationMarkedWithMarkerAnnotation
public static java.lang.annotation.Annotation getSingleAnnotationMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, java.lang.Class markerAnnotation)
-
getBeanTypeForBeanName
public static java.lang.Class<?> getBeanTypeForBeanName(BeanFactory beanFactory, java.lang.String beanName)
-
getSingleBeanWithAnnotation
public static <T> T getSingleBeanWithAnnotation(ApplicationContext applicationContext, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
-
getBeansOfTypeWithAnnotation
public static <T> java.util.Collection<T> getBeansOfTypeWithAnnotation(ConfigurableApplicationContext applicationContext, java.lang.Class<? extends T> beanType, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
-
-