javax.servlet.sip
Interface SipSessionActivationListener

All Superinterfaces:
java.util.EventListener

public interface SipSessionActivationListener
extends java.util.EventListener

Objects 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 SipSessionActivationListener.


Method Summary
 void sessionDidActivate(SipSessionEvent se)
          Notification that the session has just been activated.
 void sessionWillPassivate(SipSessionEvent se)
          Notification that the session is about to be passivated.
 

Method Detail

sessionWillPassivate

void sessionWillPassivate(SipSessionEvent se)
Notification that the session is about to be passivated.

Parameters:
se - event identifying the session about to be persisted

sessionDidActivate

void sessionDidActivate(SipSessionEvent se)
Notification that the session has just been activated.

Parameters:
se - event identifying the activated session