Package org.apache.wicket
Class SessionListenerCollection
- java.lang.Object
-
- org.apache.wicket.util.listener.ListenerCollection<ISessionListener>
-
- org.apache.wicket.SessionListenerCollection
-
- All Implemented Interfaces:
Serializable
,Iterable<ISessionListener>
,ISessionListener
public class SessionListenerCollection extends ListenerCollection<ISessionListener> implements ISessionListener
- Author:
- igor
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wicket.util.listener.ListenerCollection
ListenerCollection.INotifier<T>
-
-
Constructor Summary
Constructors Constructor Description SessionListenerCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCreated(Session session)
Called when a new instance of session is createdvoid
onUnbound(String sessionId)
Informs the listener that session with specific id has been unbound.-
Methods inherited from class org.apache.wicket.util.listener.ListenerCollection
add, isAllowingDuplicates, isAllowingNulls, iterator, notify, notifyIgnoringExceptions, remove, reversedNotify, reversedNotifyIgnoringExceptions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
SessionListenerCollection
public SessionListenerCollection()
-
-
Method Detail
-
onCreated
public void onCreated(Session session)
Description copied from interface:ISessionListener
Called when a new instance of session is created- Specified by:
onCreated
in interfaceISessionListener
-
onUnbound
public void onUnbound(String sessionId)
Description copied from interface:ISessionListener
Informs the listener that session with specific id has been unbound.- Specified by:
onUnbound
in interfaceISessionListener
- Parameters:
sessionId
- the id of the unbound session
-
-