Class BaseMethodObserver
java.lang.Object
com.oracle.coherence.spring.event.BaseMethodObserver
- Direct Known Subclasses:
MethodEventObserver,MethodMapListener
A Coherence event observer implementation that wraps an
Method.- Since:
- 3.0
- Author:
- Gunnar Hillert
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseMethodObserver(String beanName, Method method, ApplicationContext applicationContext) Create aMethodEventObserver. -
Method Summary
-
Field Details
-
beanName
The name of the bean that has the executable method. -
method
The executable method.
-
-
Constructor Details
-
BaseMethodObserver
Create aMethodEventObserver.- Parameters:
beanName- the spring bean name that has the executable methodmethod- the method to execute when events are receivedapplicationContext- spring application context to look up the Spring bean
-
-
Method Details
-
getTargetBean
Return the target bean instance to use.- Returns:
- the actual bean from the
ApplicationContextusingbeanName.
-
getId
-
getObservedQualifiers
-
isAsync
public boolean isAsync()
-