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 provided InjectionPoint.
Since:
3.0
Author:
Gunnar Hillert
  • Method Details

    • getAnnotationsMarkedWithMarkerAnnotation

      public static List<Annotation> getAnnotationsMarkedWithMarkerAnnotation(org.springframework.beans.factory.InjectionPoint injectionPoint, Class markerAnnotation)
    • getSingleAnnotationMarkedWithMarkerAnnotation

      public static Annotation getSingleAnnotationMarkedWithMarkerAnnotation(org.springframework.beans.factory.InjectionPoint injectionPoint, Class markerAnnotation)
    • getBeanTypeForBeanName

      public static Class<?> getBeanTypeForBeanName(org.springframework.beans.factory.BeanFactory beanFactory, String beanName)
    • getSingleBeanWithAnnotation

      public static <T> T getSingleBeanWithAnnotation(org.springframework.context.ApplicationContext applicationContext, Class<? extends Annotation> annotationType)
    • getBeansOfTypeWithAnnotation

      public static <T> Collection<T> getBeansOfTypeWithAnnotation(org.springframework.context.ConfigurableApplicationContext applicationContext, Class<? extends T> beanType, Class<? extends Annotation> annotationType)