Class AnnotatedMapListener<K,V>

java.lang.Object
com.oracle.coherence.spring.event.mapevent.SimpleMapListener<K,V>
com.oracle.coherence.spring.event.mapevent.AnnotatedMapListener<K,V>
Type Parameters:
K - the type of the cache key
V - the type of the cache value
All Implemented Interfaces:
com.tangosol.util.MapListener<K,V>, Comparable<SimpleMapListener<?,?>>, EventListener

public class AnnotatedMapListener<K,V> extends SimpleMapListener<K,V>
MapListener implementation that dispatches MapEvents to CoherenceEventListener annotated methods.
Since:
3.0
Author:
Jonathan Knight, Gunnar Hillert
See Also:
  • MapListenerRegistrationBean.registerMapListeners(CacheLifecycleEvent)
  • Constructor Details

    • AnnotatedMapListener

      public AnnotatedMapListener(MethodMapListener<K,V> observer)
      Constructs an AnnotatedMapListener.
      Parameters:
      observer - whose annotations are used to set various properties on the listener. Must not be null.
  • Method Details