|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.echarts.servlet.sip.appRouter.DFCRouterImpl.SipApplicationDFCRouterImpl
public class SipApplicationDFCRouterImpl
This class is the top level class that constitutes the Distributed Feature Composition (DFC) Application Router implementation. Like all application router implementations, it implements the SipApplicationRouter interface. There should only be one DFC application router implementation per container instance.
org.echarts.servlet.sip.appRouter.SipApplicationRouter| Constructor Summary | |
|---|---|
SipApplicationDFCRouterImpl()
|
|
| Method Summary | |
|---|---|
void |
applicationDeployed(java.util.List<java.lang.String> newlyDeployedApplicationNames)
This method is used by the container to notify the application router that applications have been undeployed. |
void |
applicationUndeployed(java.util.List<java.lang.String> undeployedApplicationNames)
This method is used by the container to notify the application router that new applications have been deployed. |
void |
configurationChanged(java.io.InputStream configInputStream)
|
void |
destroy()
The container calls this method when it finishes using the application router. |
SipApplicationRouterInfo |
getNextApplication(SipServletRequest initialRequest,
SipApplicationRoutingRegion region,
SipApplicationRoutingDirective directive,
SipTargetedRequestInfo targetedRequestInfo,
java.io.Serializable stateInfo)
This method is called by the container (adaptation layer) when a servlet sends or proxies an initial SipServletRequest. |
void |
init()
Initializes the application router |
void |
init(java.util.List<java.lang.String> deployedApplicationNames)
Initializes the application router providing a list of the currently deployed applications. |
void |
init(java.util.Properties properties)
Initialize the implementation from a Properties object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SipApplicationDFCRouterImpl()
| Method Detail |
|---|
public void applicationUndeployed(java.util.List<java.lang.String> undeployedApplicationNames)
applicationUndeployed in interface SipApplicationRouterundeployedApplicationNames - the list of undeployed application namespublic void applicationDeployed(java.util.List<java.lang.String> newlyDeployedApplicationNames)
applicationDeployed in interface SipApplicationRouternewlyDeployedApplicationNames - the list of newly deployed application namespublic void destroy()
destroy in interface SipApplicationRouterpublic void init(java.util.Properties properties)
init in interface SipApplicationRouterproperties - Properties object to be used in initializationRouterConfigurationpublic void init()
init in interface SipApplicationRouterpublic void init(java.util.List<java.lang.String> deployedApplicationNames)
public SipApplicationRouterInfo getNextApplication(SipServletRequest initialRequest,
SipApplicationRoutingRegion region,
SipApplicationRoutingDirective directive,
SipTargetedRequestInfo targetedRequestInfo,
java.io.Serializable stateInfo)
The application router returns a set of information encapsulated in the SipApplicationRouterInfo class.
getNextApplication in interface SipApplicationRouterinitialRequest - The initial request for which the container is asking for application selectionregion - Which region the application selection process is in - set by this implementationdirective - The routing directive used in creating this request. One of either NEW or CONTINUE.
If this is a request received externally, directive is NEW.stateInfo - If this request is relayed from a previous request by an application, this is the stored state the application router returned earlier when invoked to handle the previous request.
org.echarts.servlet.sip.appRouter.SipApplicationRouterInfopublic void configurationChanged(java.io.InputStream configInputStream)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||