Class MapListenerRegistrationBean
- java.lang.Object
-
- com.oracle.coherence.spring.event.mapevent.MapListenerRegistrationBean
-
public class MapListenerRegistrationBean extends Object
CoherenceEventListener
responsible for the registration ofMapListener
s.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Constructor Summary
Constructors Constructor Description MapListenerRegistrationBean(FilterService filterService, MapEventTransformerService mapEventTransformerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMapListener(AnnotatedMapListener<?,?> listener)
Add specified listener to the collection of discovered observer-based listeners.Set<AnnotatedMapListener<?,?>>
getMapListeners(String serviceName, String cacheName)
Return all map listeners that should be registered for a particular service and cache combination.
-
-
-
Constructor Detail
-
MapListenerRegistrationBean
public MapListenerRegistrationBean(FilterService filterService, MapEventTransformerService mapEventTransformerService)
-
-
Method Detail
-
getMapListeners
public Set<AnnotatedMapListener<?,?>> getMapListeners(String serviceName, String cacheName)
Return all map listeners that should be registered for a particular service and cache combination.- Parameters:
serviceName
- the name of the servicecacheName
- the name of the cache- Returns:
- a set of all listeners that should be registered
-
addMapListener
public void addMapListener(AnnotatedMapListener<?,?> listener)
Add specified listener to the collection of discovered observer-based listeners.- Parameters:
listener
- the listener to add
-
-