org.ow2.jonas.ws.jaxws.ejb
Interface IWebDeployer

All Known Implementing Classes:
WebservicesWebDeployer

public interface IWebDeployer

The IEJBWsModuleWebDeployer is responsible to hook up an ejb endpoint inside a web container. That means creating one (or more) Web context(s), generating required servlets declarations, servlet mappings, security stuff, ...

Author:
Guillaume Sauthier

Method Summary
 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.
 void undeploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
          Undeploy the given module, with all its endpoints from the web container.
 

Method Detail

deploy

void deploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
            throws WSException
Deploy the given module, with all its endpoints in the web container, creating appropriate contexts when required.

Parameters:
module - the webservices module to deploy
Throws:
WSException - if deployment went wrong.

undeploy

void undeploy(IWebservicesModule<? extends IWebservicesContainer<? extends IEJBWebserviceEndpoint>> module)
Undeploy the given module, with all its endpoints from the web container. An implementation should catch most of the Exceptions and try to cleanupas much as possible.

Parameters:
module - the webservices module to undeploy


Copyright © 2010 OW2 Consortium. All Rights Reserved.