Class CoherenceSessionEventMapListener
- java.lang.Object
-
- com.oracle.coherence.spring.session.events.CoherenceSessionEventMapListener
-
- All Implemented Interfaces:
com.tangosol.util.MapListener<java.lang.String,org.springframework.session.MapSession>
,java.util.EventListener
public class CoherenceSessionEventMapListener extends java.lang.Object implements com.tangosol.util.MapListener<java.lang.String,org.springframework.session.MapSession>
Custom Map Event that subscribes to Coherence MapEvents. The handled event is then propagated as a Spring application event via Spring'sApplicationEventPublisher
.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Constructor Summary
Constructors Constructor Description CoherenceSessionEventMapListener(ApplicationEventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entryDeleted(com.tangosol.util.MapEvent<java.lang.String,org.springframework.session.MapSession> event)
void
entryInserted(com.tangosol.util.MapEvent<java.lang.String,org.springframework.session.MapSession> event)
void
entryUpdated(com.tangosol.util.MapEvent<java.lang.String,org.springframework.session.MapSession> event)
-
-
-
Constructor Detail
-
CoherenceSessionEventMapListener
public CoherenceSessionEventMapListener(ApplicationEventPublisher eventPublisher)
-
-
Method Detail
-
entryInserted
public void entryInserted(com.tangosol.util.MapEvent<java.lang.String,org.springframework.session.MapSession> event)
- Specified by:
entryInserted
in interfacecom.tangosol.util.MapListener<java.lang.String,org.springframework.session.MapSession>
-
entryUpdated
public void entryUpdated(com.tangosol.util.MapEvent<java.lang.String,org.springframework.session.MapSession> event)
- Specified by:
entryUpdated
in interfacecom.tangosol.util.MapListener<java.lang.String,org.springframework.session.MapSession>
-
entryDeleted
public void entryDeleted(com.tangosol.util.MapEvent<java.lang.String,org.springframework.session.MapSession> event)
- Specified by:
entryDeleted
in interfacecom.tangosol.util.MapListener<java.lang.String,org.springframework.session.MapSession>
-
-