|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Observer<T>
The Observer
interface is used to observe the session
activity within the session manager. This enables tracking of all
sessions created and destroyed by the session manager. Once the
session is created the observer start
method is
invoked and when the session is canceled the cancel
method is invoked. Observations allow specialized monitoring.
SessionManager
Method Summary | |
---|---|
void |
cancel(Session<T> session)
This method is called after the session has been canceled or expired. |
void |
create(Session<T> session)
This method is called after the session has been created but before it is used. |
Method Detail |
---|
void create(Session<T> session)
session
- this is the session instance that was createdvoid cancel(Session<T> session)
session
- this is the session object that is canceled
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |