Class SessionDestroyedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.session.events.AbstractSessionEvent
org.springframework.session.events.SessionDestroyedEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SessionDeletedEvent
,SessionExpiredEvent
Base class for events fired when a
Session
is destroyed explicitly.- Since:
- 1.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSessionDestroyedEvent
(Object source, Session session) Create a newSessionDestroyedEvent
. -
Method Summary
Methods inherited from class org.springframework.session.events.AbstractSessionEvent
getSession, getSessionId
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SessionDestroyedEvent
Create a newSessionDestroyedEvent
.- Parameters:
source
- the source of the eventsession
- the session that was created
-