Class SessionDeletedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.session.events.AbstractSessionEvent
org.springframework.session.events.SessionDestroyedEvent
org.springframework.session.events.SessionDeletedEvent
- All Implemented Interfaces:
Serializable
For
SessionRepository
implementations that support it, this event is fired when
a Session
is destroyed via deletion.- Since:
- 1.1
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSessionDeletedEvent
(Object source, Session session) Create a newSessionDeletedEvent
. -
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
-
SessionDeletedEvent
Create a newSessionDeletedEvent
.- Parameters:
source
- the source of the eventsession
- the session that was created
-