Class EventHandlerFactory

java.lang.Object
com.oracle.coherence.spring.event.liveevent.EventHandlerFactory

public class EventHandlerFactory extends Object
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 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, org.springframework.context.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)