Class MethodEventObserver<E extends com.tangosol.net.events.Event<?>>
- java.lang.Object
-
- com.oracle.coherence.spring.event.BaseMethodObserver
-
- com.oracle.coherence.spring.event.liveevent.MethodEventObserver<E>
-
- Type Parameters:
E
- the event type
public class MethodEventObserver<E extends com.tangosol.net.events.Event<?>> extends BaseMethodObserver
A Coherence event observer implementation that wraps aMethod
.- Since:
- 3.0
- Author:
- Jonathan Knight, Gunnar Hillert
-
-
Field Summary
-
Fields inherited from class com.oracle.coherence.spring.event.BaseMethodObserver
beanName, method
-
-
Constructor Summary
Constructors Constructor Description MethodEventObserver(String beanName, Method method, ApplicationContext applicationContext)
Create aMethodEventObserver
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(E event)
-
Methods inherited from class com.oracle.coherence.spring.event.BaseMethodObserver
getId, getObservedQualifiers, getTargetBean, isAsync
-
-
-
-
Constructor Detail
-
MethodEventObserver
public MethodEventObserver(String beanName, Method method, ApplicationContext applicationContext)
Create aMethodEventObserver
.- Parameters:
beanName
- provide the Spring bean name that has the executable methodmethod
- the method to execute when events are receivedapplicationContext
- the Spring application context to look up the Spring bean
-
-
Method Detail
-
notify
public void notify(E event)
-
-