Package org.openspaces.events.support
Class AnnotationProcessorUtils
java.lang.Object
org.openspaces.events.support.AnnotationProcessorUtils
- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArchiveOperationHandlerfindArchiveHandler(Object bean, String archiveHandlerName, org.springframework.context.ApplicationContext applicationContext, String beanName) static EventContainersBusfindBus(org.springframework.context.ApplicationContext applicationContext) static DynamicEventTemplateProviderstatic GigaSpacefindGigaSpace(Object bean, String gigaSpaceName, org.springframework.context.ApplicationContext applicationContext, String beanName) static <T> TfindRef(Object bean, String refName, org.springframework.context.ApplicationContext applicationContext, String beanName, Class<T> refClass) static ObjectfindTemplateFromProvider(Object listener) static org.springframework.transaction.PlatformTransactionManagerfindTxManager(String txManagerName, org.springframework.context.ApplicationContext applicationContext, String beanName)
-
Method Details
-
findBus
public static EventContainersBus findBus(org.springframework.context.ApplicationContext applicationContext) -
findGigaSpace
public static GigaSpace findGigaSpace(Object bean, String gigaSpaceName, org.springframework.context.ApplicationContext applicationContext, String beanName) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
findArchiveHandler
public static ArchiveOperationHandler findArchiveHandler(Object bean, String archiveHandlerName, org.springframework.context.ApplicationContext applicationContext, String beanName) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
findRef
public static <T> T findRef(Object bean, String refName, org.springframework.context.ApplicationContext applicationContext, String beanName, Class<T> refClass) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
findTxManager
-
findDynamicEventTemplateProvider
- Returns:
- a
DynamicEventTemplateProviderbased on interface or annotation.
-
findTemplateFromProvider
-