public class SessionCreatedEvent extends AbstractSessionEvent
SessionRepository
implementations that support it, this event is fired when
a Session
is created.Constructor and Description |
---|
SessionCreatedEvent(java.lang.Object source,
Session session)
Create a new
SessionCreatedEvent . |
SessionCreatedEvent(java.lang.Object source,
java.lang.String sessionId) |
getSession, getSessionId
public SessionCreatedEvent(java.lang.Object source, java.lang.String sessionId)
public SessionCreatedEvent(java.lang.Object source, Session session)
SessionCreatedEvent
.source
- The Source of the SessionCreatedEventsession
- the Session that was created