|
JSecurity | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionListenerRegistrar
A SessionListenerRegistrar is a component that is capable of registering interested
SessionListeners that wish to be notified during
Session lifecycle events.
Session's
lifecycle. How that notification occurs is implementation specific (e.g. iteration over a collection of
listeners, JMS, etc.).
| Method Summary | |
|---|---|
void |
add(SessionListener listener)
Registeres a single listener that wishes to be notified during Session lifecycles. |
boolean |
remove(SessionListener listener)
Removes a single listener that no longer wishes to be notified during Session lifecycles. |
void |
setSessionListeners(Collection<SessionListener> listeners)
Sets the SessionListener(s) that wish to be notified during Session lifecycles. |
| Method Detail |
|---|
void setSessionListeners(Collection<SessionListener> listeners)
SessionListener(s) that wish to be notified during Session lifecycles.
listeners - one or more SessionListeners that should be notified during
Session lifecycles.void add(SessionListener listener)
listener that wishes to be notified during Session lifecycles.
listener - the single listener that wishes to be notified during Session lifecycles.boolean remove(SessionListener listener)
listener that no longer wishes to be notified during Session lifecycles.
listener - the single listener that no longer wishes to be notified during Session lifecycles.
true if the listener was removed (i.e. it was previously registered), or false
if the listener was not removed (i.e. it wasn't registered yet, effectively a no-op).
|
JSecurity | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||