|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.web.tomcat6.ws.WebservicesWebDeployer
public class WebservicesWebDeployer
The WebservicesWebDeployer is responsible of deploying/creating/removing web contexts for EJB based endpoints.
Constructor Summary | |
---|---|
WebservicesWebDeployer(Tomcat6Service tomcatService)
Construct a new WebservicesWebDeployer manager based on Tomcat. |
Method Summary | |
---|---|
protected JOnASStandardContext |
createWebservicesContext(String contextName)
Creates an empty (no servlets registered) StandardContext setup for serving webservices endpoints. |
void |
deploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
Deploy the given module, with all its endpoints in the web container, creating appropriate contexts when required. |
protected void |
deployEndpoints(org.ow2.jonas.web.tomcat6.ws.WebservicesWebDeployer.WebContext webContext,
List<IEJBWebserviceEndpoint> endpoints)
Deploy a context and the associated endpoints. |
protected List<String> |
getAssociatedWebContexts(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
Get the web contexts list associated with the WS module's endpoints. |
void |
setWorkDirectory(String workDirectory)
|
void |
undeploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
Undeploy the given module, with all its endpoints from the web container. |
protected org.apache.catalina.core.StandardWrapper |
wrapWebserviceEndpoint(IEJBWebserviceEndpoint endpoint)
Wrap the WS endpoint in a StandardWrapper instance that represents the Servlet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebservicesWebDeployer(Tomcat6Service tomcatService)
WebservicesWebDeployer
manager based on Tomcat.
tomcatService
- Tomcat instanceMethod Detail |
---|
public void setWorkDirectory(String workDirectory)
workDirectory
- the workDirectory to setpublic void deploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module) throws WSException
deploy
in interface IWebDeployer
module
- the webservices module to deploy
WSException
- if deployment went wrong.protected void deployEndpoints(org.ow2.jonas.web.tomcat6.ws.WebservicesWebDeployer.WebContext webContext, List<IEJBWebserviceEndpoint> endpoints) throws WSException
webContext
- context to be createdendpoints
- endpoints to be deployed
WSException
public void undeploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
undeploy
in interface IWebDeployer
module
- the webservices module to undeployprotected List<String> getAssociatedWebContexts(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
module
- WS hosting module
protected JOnASStandardContext createWebservicesContext(String contextName)
contextName
- name of the context
protected org.apache.catalina.core.StandardWrapper wrapWebserviceEndpoint(IEJBWebserviceEndpoint endpoint)
endpoint
- endpoint to be wrapped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |