javax.servlet.sip.ar
Interface SipApplicationRouter


public interface SipApplicationRouter

This interface class specifies the API between the container and the application router. Since: 1.1


Method Summary
 void applicationDeployed(List<String> newlyDeployedApplicationNames)
          Container notifies application router that new applications are deployed.
 void applicationUndeployed(List<String> undeployedApplicationNames)
          Container notifies application router that some applications are undeployed.
 void destroy()
          Container calls this method when it finishes using this application router.
 SipApplicationRouterInfo getNextApplication(SipServletRequest initialRequest, SipApplicationRoutingRegion region, SipApplicationRoutingDirective directive, SipTargetedRequestInfo targetedRequestInfo, Serializable stateInfo)
          This method is called by the container when a servlet sends or proxies an initial SipServletRequest.
 void init()
          Initializes the SipApplicationRouter.
 void init(Properties properties)
          Container calls this method to initialize the application router, with applications that are currently deployed.
 

Method Detail

applicationDeployed

void applicationDeployed(List<String> newlyDeployedApplicationNames)
Container notifies application router that new applications are deployed.


applicationUndeployed

void applicationUndeployed(List<String> undeployedApplicationNames)
Container notifies application router that some applications are undeployed.


destroy

void destroy()
Container calls this method when it finishes using this application router.


getNextApplication

SipApplicationRouterInfo getNextApplication(SipServletRequest initialRequest,
                                            SipApplicationRoutingRegion region,
                                            SipApplicationRoutingDirective directive,
                                            SipTargetedRequestInfo targetedRequestInfo,
                                            Serializable stateInfo)
This method is called by the container when a servlet sends or proxies an initial SipServletRequest. The application router returns a set of information. See @{link SipApplicationRouterInfo} for details.


init

void init()
Initializes the SipApplicationRouter.


init

void init(Properties properties)
Container calls this method to initialize the application router, with applications that are currently deployed.



Copyright © 2012. All Rights Reserved.