Class EventHandlerFactory
java.lang.Object
com.oracle.coherence.spring.event.liveevent.EventHandlerFactory
Manages registration of observer methods with
InterceptorRegistry
upon ConfigurableCacheFactory
activation, and their subsequent un-registration on deactivation.- Since:
- 3.0
- Author:
- Jonathan Knight, Gunnar Hillert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends com.tangosol.net.events.Event<T>,
T extends Enum<T>>
EventHandler<E,T> create
(Class<E> type, String beanName, Method method, ApplicationContext applicationContext) static <E extends com.tangosol.net.events.Event<T>,
T extends Enum<T>>
EventHandler<E,T> createEventHandler
(Class<E> type, MethodEventObserver<E> observer)
-
Constructor Details
-
EventHandlerFactory
public EventHandlerFactory()
-
-
Method Details
-
create
public static <E extends com.tangosol.net.events.Event<T>,T extends Enum<T>> EventHandler<E,T> create(Class<E> type, String beanName, Method method, ApplicationContext applicationContext) -
createEventHandler
public static <E extends com.tangosol.net.events.Event<T>,T extends Enum<T>> EventHandler<E,T> createEventHandler(Class<E> type, MethodEventObserver<E> observer)
-