Class MethodEventObserver<E extends com.tangosol.net.events.Event<?>>
- java.lang.Object
-
- com.oracle.coherence.spring.event.MethodEventObserver<E>
-
-
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 protected String
getId()
protected Set<Annotation>
getObservedQualifiers()
protected Object
getTargetBean()
Return the target bean instance to use.
-
-
-
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
-
getTargetBean
protected Object getTargetBean()
Return the target bean instance to use.- Returns:
- the actual bean from the
ApplicationContext
usingbeanName
.
-
getId
protected String getId()
-
getObservedQualifiers
protected Set<Annotation> getObservedQualifiers()
-
-