Class MapListenerRegistrationBean
java.lang.Object
com.oracle.coherence.spring.event.mapevent.MapListenerRegistrationBean
CoherenceEventListener
responsible for the registration of MapListener
s.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
Constructor Summary
ConstructorDescriptionMapListenerRegistrationBean
(FilterService filterService, MapEventTransformerService mapEventTransformerService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
MapListenerRegistrationBean
public MapListenerRegistrationBean(FilterService filterService, MapEventTransformerService mapEventTransformerService)
-
-
Method Details
-
getMapListeners
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
Add specified listener to the collection of discovered observer-based listeners.- Parameters:
listener
- the listener to add
-