Class BaseMethodObserver

java.lang.Object
com.oracle.coherence.spring.event.BaseMethodObserver
Direct Known Subclasses:
MethodEventObserver, MethodMapListener

public abstract class BaseMethodObserver extends Object
A Coherence event observer implementation that wraps an Method.
Since:
3.0
Author:
Gunnar Hillert
See Also:
  • Field Details

    • beanName

      protected final String beanName
    • method

      protected final Method method
  • Constructor Details

    • BaseMethodObserver

      protected BaseMethodObserver(String beanName, Method method, ApplicationContext applicationContext)
      Parameters:
      beanName - the spring bean name that has the executable method
      method - the method to execute when events are received
      applicationContext - spring application context to look up the Spring bean
  • Method Details

    • getTargetBean

      protected Object getTargetBean()
      Return the target bean instance to use.
      Returns:
      the actual bean from the ApplicationContext using beanName.
    • getId

      public String getId()
    • getObservedQualifiers

      public Set<Annotation> getObservedQualifiers()
    • isAsync

      public boolean isAsync()