GigaSpaces XAP 9.7.2 API

org.openspaces.events.support
Class AnnotationProcessorUtils

java.lang.Object
  extended by org.openspaces.events.support.AnnotationProcessorUtils

public class AnnotationProcessorUtils
extends Object

Author:
kimchy

Method Summary
static ArchiveOperationHandler findArchiveHandler(Object bean, String archiveHandlerName, ApplicationContext applicationContext, String beanName)
           
static EventContainersBus findBus(ApplicationContext applicationContext)
           
static DynamicEventTemplateProvider findDynamicEventTemplateProvider(Object bean)
           
static GigaSpace findGigaSpace(Object bean, String gigaSpaceName, ApplicationContext applicationContext, String beanName)
           
static
<T> T
findRef(Object bean, String refName, ApplicationContext applicationContext, String beanName, Class<T> refClass)
           
static Object findTemplateFromProvider(Object listener)
           
static PlatformTransactionManager findTxManager(String txManagerName, ApplicationContext applicationContext, String beanName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findBus

public static EventContainersBus findBus(ApplicationContext applicationContext)

findGigaSpace

public static GigaSpace findGigaSpace(Object bean,
                                      String gigaSpaceName,
                                      ApplicationContext applicationContext,
                                      String beanName)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

findArchiveHandler

public static ArchiveOperationHandler findArchiveHandler(Object bean,
                                                         String archiveHandlerName,
                                                         ApplicationContext applicationContext,
                                                         String beanName)
                                                  throws IllegalArgumentException
Throws:
IllegalArgumentException

findRef

public static <T> T findRef(Object bean,
                            String refName,
                            ApplicationContext applicationContext,
                            String beanName,
                            Class<T> refClass)
                 throws IllegalArgumentException
Throws:
IllegalArgumentException

findTxManager

public static PlatformTransactionManager findTxManager(String txManagerName,
                                                       ApplicationContext applicationContext,
                                                       String beanName)

findDynamicEventTemplateProvider

public static DynamicEventTemplateProvider findDynamicEventTemplateProvider(Object bean)
Returns:
a DynamicEventTemplateProvider based on interface or annotation.

findTemplateFromProvider

public static Object findTemplateFromProvider(Object listener)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.