Skip navigation links


javax.servlet.sip
Interface SipApplicationSessionActivationListener

All Superinterfaces:
java.util.EventListener

public interface SipApplicationSessionActivationListener
extends java.util.EventListener

Objects that are bound to a SipApplicationSession may listen to container events notifying them when the application session to which they are bound will be passivated or activated. A container that migrates application sessions between VMs or persists them is required to notify all attributes implementing this listener and that are bound to those application sessions of the events.

Since:
1.1

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

 

Method Detail

sessionWillPassivate

void sessionWillPassivate(SipApplicationSessionEvent se)
Notification that the application session is about to be passivated.
Parameters:
se - event identifying the application session about to be persisted
Since:
1.1

sessionDidActivate

void sessionDidActivate(SipApplicationSessionEvent se)
Notification that the application session has just been activated.
Parameters:
se - event identifying the activated application session
Since:
1.1

Skip navigation links

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Java SIP Servlet API 1.1 Reference

Part Number E17883-01