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