Class SessionRemovedMapListener
- java.lang.Object
-
- com.oracle.coherence.spring.session.events.SessionRemovedMapListener
-
- All Implemented Interfaces:
com.tangosol.util.MapListener<String,org.springframework.session.MapSession>
,EventListener
public class SessionRemovedMapListener extends Object implements com.tangosol.util.MapListener<String,org.springframework.session.MapSession>
Custom Map Event that handles the deletion and expiration of a session. 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 SessionRemovedMapListener(ApplicationEventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entryDeleted(com.tangosol.util.MapEvent<String,org.springframework.session.MapSession> event)
void
entryInserted(com.tangosol.util.MapEvent<String,org.springframework.session.MapSession> evt)
void
entryUpdated(com.tangosol.util.MapEvent<String,org.springframework.session.MapSession> evt)
-
-
-
Constructor Detail
-
SessionRemovedMapListener
public SessionRemovedMapListener(ApplicationEventPublisher eventPublisher)
-
-
Method Detail
-
entryInserted
public void entryInserted(com.tangosol.util.MapEvent<String,org.springframework.session.MapSession> evt)
- Specified by:
entryInserted
in interfacecom.tangosol.util.MapListener<String,org.springframework.session.MapSession>
-
entryUpdated
public void entryUpdated(com.tangosol.util.MapEvent<String,org.springframework.session.MapSession> evt)
- Specified by:
entryUpdated
in interfacecom.tangosol.util.MapListener<String,org.springframework.session.MapSession>
-
-