Class MethodEventObserver<E extends com.tangosol.net.events.Event<?>>

  • 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 Detail

      • MethodEventObserver

        public MethodEventObserver​(java.lang.String beanName,
                                   java.lang.reflect.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 Detail

      • notify

        public void notify​(E event)