Class EventHandlerFactory
- java.lang.Object
-
- com.oracle.coherence.spring.event.liveevent.EventHandlerFactory
-
public class EventHandlerFactory extends Object
Manages registration of observer methods withInterceptorRegistry
uponConfigurableCacheFactory
activation, and their subsequent un-registration on deactivation.- Since:
- 3.0
- Author:
- Jonathan Knight, Gunnar Hillert
-
-
Constructor Summary
Constructors Constructor Description EventHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
static <E extends com.tangosol.net.events.Event<T>,T extends Enum<T>>
EventHandler<E,T>createEventHandler(Class<E> type, MethodEventObserver<E> observer)
-
-
-
Method Detail
-
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)
-
-