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