Interface SessionActivationListener
-
- All Superinterfaces:
java.util.EventListener
public interface SessionActivationListener extends java.util.EventListenerObjects that are bound to a session may listen to container events notifying them that sessions will be passivated and that session will be activated. A container that migrates session between VMs or persists sessions is required to notify all attributes bound to sessions implementing SessionActivationListener.Created: 2017. 9. 9.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsessionDidActivate(Session session)Notification that the session has just been activated.voidsessionWillPassivate(Session session)Notification that the session is about to be passivated.
-
-
-
Method Detail
-
sessionWillPassivate
void sessionWillPassivate(Session session)
Notification that the session is about to be passivated.- Parameters:
session- the session to which the object is bound or unbound
-
sessionDidActivate
void sessionDidActivate(Session session)
Notification that the session has just been activated.- Parameters:
session- the session to which the object is bound or unbound
-
-