Class CoherenceAnnotationUtils
- java.lang.Object
-
- com.oracle.coherence.spring.configuration.support.CoherenceAnnotationUtils
-
public final class CoherenceAnnotationUtils extends 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 List<Annotation>
getAnnotationsMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, Class markerAnnotation)
static Class<?>
getBeanTypeForBeanName(BeanFactory beanFactory, String beanName)
static Annotation
getSingleAnnotationMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, Class markerAnnotation)
static <T> T
getSingleBeanWithAnnotation(ApplicationContext applicationContext, Class<? extends Annotation> annotationType)
-
-
-
Method Detail
-
getAnnotationsMarkedWithMarkerAnnotation
public static List<Annotation> getAnnotationsMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, Class markerAnnotation)
-
getSingleAnnotationMarkedWithMarkerAnnotation
public static Annotation getSingleAnnotationMarkedWithMarkerAnnotation(InjectionPoint injectionPoint, Class markerAnnotation)
-
getBeanTypeForBeanName
public static Class<?> getBeanTypeForBeanName(BeanFactory beanFactory, String beanName)
-
getSingleBeanWithAnnotation
public static <T> T getSingleBeanWithAnnotation(ApplicationContext applicationContext, Class<? extends Annotation> annotationType)
-
-