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
ConstructorsConstructorDescriptionSessionExpiredEvent(Object source, Session session) Create a newSessionExpiredEvent. -
Method Summary
Methods inherited from class org.springframework.session.events.AbstractSessionEvent
getSession, getSessionIdMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods 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
-