Class AbstractSessionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.session.events.AbstractSessionEvent
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 SessionCreatedEvent,SessionDestroyedEvent
public abstract class AbstractSessionEvent
extends org.springframework.context.ApplicationEvent
For 
SessionRepository implementations that support it, this event is fired when
 a Session is updated.- Since:
 - 1.1
 - See Also:
 
- 
Field Summary
Fields inherited from class java.util.EventObject
source - 
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString 
- 
Method Details
- 
getSession
Gets theSessionthat was destroyed. For someSessionRepositoryimplementations it may not be possible to get the original session in which case this may be null.- Type Parameters:
 S- the type of Session- Returns:
 - the expired 
Sessionor null if the data store does not support obtaining it 
 - 
getSessionId
 
 -