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 . |
getSession, getSessionId
public SessionCreatedEvent(java.lang.Object source, Session session)
SessionCreatedEvent
.source
- the source of the eventsession
- the session that was created