Class SessionChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.session.data.gemfire.events.SessionChangedEvent
- All Implemented Interfaces:
Serializable
public class SessionChangedEvent
extends org.springframework.context.ApplicationEvent
- Since:
- 2.2.0
- See Also:
-
ApplicationEvent
Session
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSessionChangedEvent
(Object source, org.springframework.session.Session session) -
Method Summary
Modifier and TypeMethodDescription<S extends org.springframework.session.Session>
SGets theSession
that was changed.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SessionChangedEvent
- Parameters:
source
-Object
referencing the source of the event.session
-Session
that changed.- See Also:
-
Session
-
-
Method Details
-
getSession
public <S extends org.springframework.session.Session> S getSession()Gets theSession
that was changed.- Type Parameters:
S
-type
ofSession
.- Returns:
- a reference to the
Session
that is the subject of the change event. - See Also:
-
Session
-