Package com.oracle.coherence.cdi.events
Class EventObserverSupport
java.lang.Object
com.oracle.coherence.cdi.events.EventObserverSupport
Manages registration of CDI observers with
InterceptorRegistry
upon ConfigurableCacheFactory
activation, and their subsequent
un-registration on deactivation.- Since:
- 20.06
- Author:
- Aleks Seovic 2020.04.03
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Handler forCacheLifecycleEvent
s.static class
Handler forCoherenceLifecycleEvent
s.static class
Handler forEntryEvent
s.static class
Handler forEntryProcessorEvent
s.static class
Abstract base class for all observer-based interceptors.static interface
EventObserverSupport.EventObserver<E extends Event>
An observer of a specific event type.static class
Handler forLifecycleEvent
s.static class
Abstract base class for all observer-based service interceptors.static class
Handler forSessionLifecycleEvent
s.static class
Handler forTransactionEvent
s.static class
Handler forTransactionEvent
s.static class
Handler forUnsolicitedCommitEvent
s. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Event<T>,
T extends Enum<T>>
EventObserverSupport.EventHandler<E, T> createObserver
(Class<E> type, EventObserverSupport.EventObserver<E> observer)
-
Constructor Details
-
EventObserverSupport
public EventObserverSupport()
-
-
Method Details
-
createObserver
public static <E extends Event<T>,T extends Enum<T>> EventObserverSupport.EventHandler<E,T> createObserver(Class<E> type, EventObserverSupport.EventObserver<E> observer)
-