Package com.ibm.websphere.sip
Interface SipApplicationSessionStateListener
-
- All Superinterfaces:
java.util.EventListener
public interface SipApplicationSessionStateListener extends java.util.EventListener
Deprecated.SIP Servlet 1.1 introduced standard APISipApplicationSessionActivationListener
This listener will receive notification on application session passivation and activation events. A container that migrates session between VMs or persists sessions must notify this listener. Normally, when migrating the session to a different container on another VM, the sessionWillPassivate will be called on the source container, and when the session is activated on the target container, sessionDidActivate will be called there. Users of this listener must bear in mind that on case of a server unexpected shutdown or connectivity failure, the failover mechanism will activate the session on another container in the cluster and sessionDidActivate will be called, but sessionWillPassivate might not be called on the failed server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
sessionDidActivate(javax.servlet.sip.SipApplicationSessionEvent applicationSessionEvent)
Deprecated.Notification that the session has just been activated.void
sessionWillPassivate(javax.servlet.sip.SipApplicationSessionEvent applicationSessionEvent)
Deprecated.Notification that the session is about to be passivated.
-
-
-
Method Detail
-
sessionWillPassivate
void sessionWillPassivate(javax.servlet.sip.SipApplicationSessionEvent applicationSessionEvent)
Deprecated.Notification that the session is about to be passivated.- Parameters:
applicationSessionEvent
- event identifying the session about to be persisted
-
sessionDidActivate
void sessionDidActivate(javax.servlet.sip.SipApplicationSessionEvent applicationSessionEvent)
Deprecated.Notification that the session has just been activated.- Parameters:
applicationSessionEvent
- event identifying the activated session
-
-