public interface SessionListener
Modifier and Type | Method and Description |
---|---|
void |
initialize(Session session)
This callback will be called after the security context has been set up and is valid for
the life of this thread and before any of the client code it will be executed.
|
void |
terminate(Session session)
This method is called when the session is ending.
|
void initialize(Session session)
Implement this method if you some work must be done from the thread that has the proper security context set up.
session
- The session that is starting.void terminate(Session session)
session
- The session that is ending.