|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.deployment.SOAPServletContainer
cgl.narada.wsinfra.deployment.impl.SOAPServletContainerImpl
public class SOAPServletContainerImpl
This container will be used to register SOAP Based roles. It is expected that in some cases there may be a servlet associated per role. Typically, this need not be the case. Upon the receipt of a SOAP message, a special class will parse the SOAP message to determine all the targeted roles. Depending on the roles, appropriate filter pipelines will be deployed to ensure complete processing of a SOAP message. In some cases, a set of default roles may be associated with a given SOAP message. This may include processing related to logging every SOAP message etc.
| Method Summary | |
|---|---|
void |
deregisterServlet(String servletName)
This method deregisters a servlet. |
void |
deregisterServletForRole(String servletName,
String role)
This method de-registers a servlet associated witha a specific role. |
static SOAPServletContainer |
getInstance()
|
ServletConfig |
getServletConfigForRole(String role)
Retrieve the ServletContext associated with a specific role. |
void |
initializeServices(int portNum)
Starts up the HTTP Servlet container at this port number. |
boolean |
isServletRegisteredForRole(String servletName,
String role)
Checks to see if a servlet has been registered for the specified role. |
void |
processSOAPMessage(SOAPMessage soapMessage,
String servletName)
Method used by servlets to notify about SOAP messages received over the network. |
void |
registerServlet(String servletName,
String servletPath,
String servletClass)
This method registers a servlet. |
void |
registerServletForRole(String role,
String servletName,
String servletPath,
String servletClass)
This method registers a servlet associated with a specific role. |
void |
startServices()
Start Services |
void |
stopServices()
Stop Services |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SOAPServletContainer getInstance()
public void initializeServices(int portNum)
throws DeploymentException
initializeServices in class SOAPServletContainerDeploymentException
public void startServices()
throws DeploymentException
startServices in class SOAPServletContainerDeploymentException
public void stopServices()
throws DeploymentException
stopServices in class SOAPServletContainerDeploymentException
public void registerServlet(String servletName,
String servletPath,
String servletClass)
throws DeploymentException
registerServlet in class SOAPServletContainerDeploymentException
public void deregisterServlet(String servletName)
throws DeploymentException
deregisterServlet in class SOAPServletContainerDeploymentException
public void registerServletForRole(String role,
String servletName,
String servletPath,
String servletClass)
throws DeploymentException
registerServletForRole in class SOAPServletContainerDeploymentException
public void deregisterServletForRole(String servletName,
String role)
throws DeploymentException
deregisterServletForRole in class SOAPServletContainerDeploymentException
public boolean isServletRegisteredForRole(String servletName,
String role)
throws DeploymentException
isServletRegisteredForRole in class SOAPServletContainerDeploymentException
public ServletConfig getServletConfigForRole(String role)
throws DeploymentException
getServletConfigForRole in class SOAPServletContainerDeploymentException
public void processSOAPMessage(SOAPMessage soapMessage,
String servletName)
throws DeploymentException
processSOAPMessage in class SOAPServletContainerDeploymentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||