public abstract class AbstractSessionEvent
extends org.springframework.context.ApplicationEvent
SessionRepository
implementations that support it, this event is fired when
a Session
is updated.Modifier and Type | Method and Description |
---|---|
<S extends Session> |
getSession()
Gets the
Session that was destroyed. |
java.lang.String |
getSessionId() |
public <S extends Session> S getSession()
Session
that was destroyed. For some SessionRepository
implementations it may not be possible to get the original session in which case
this may be null.S
- the type of SessionSession
or null if the data store does not support
obtaining itpublic java.lang.String getSessionId()