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 a Method.
Since:
3.0
Author:
Jonathan Knight, Gunnar Hillert
  • Constructor Details

    • MethodEventObserver

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

    • notify

      public void notify(E event)