|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWebServiceDeploymentManager
An IWebServiceDeploymentManager is an object that knows how to
expose an IWebServiceEndpoint using some protocol. It is also
responsible of its undeployment.
For example, a deployment manager that we will probably have to
implement is a web container based deployment manager: It will know
what to do with the given endpoint to expose it through HTTP (by
using a Servlet or anything else that can intercept the request/response
flow and invoke the endpoint).
| Method Summary | |
|---|---|
void |
registerWSEndpoint(IWebServiceEndpoint endpoint)
Add support for a given IWebServiceEndpoint (i.e. |
void |
unregisterWSEndpoint(IWebServiceEndpoint endpoint)
Remove support for the given IWebServiceEndpoint. |
| Method Detail |
|---|
void registerWSEndpoint(IWebServiceEndpoint endpoint)
throws WSException
IWebServiceEndpoint (i.e. deploy).
<servlet>
<servlet-name>My POJO WebService</servlet-name>
<servlet-class>my.company.app.ServiceImplementationBean</servlet-class>
</servlet>
Then the servlet element's value has to be replaced
by a real Servlet implementation.
Some other changes are probably needed but not described here
as they are implementation specific.
endpoint - the IWebServiceEndpoint to deploy.
WSException - if deployment fails or if the IWebServiceEndpoint
is already registered.
void unregisterWSEndpoint(IWebServiceEndpoint endpoint)
throws WSException
IWebServiceEndpoint.
After a call to this method, the given IWebServiceEndpoint
will not be accessible anymore.
endpoint - the IWebServiceEndpoint to undeploy.
WSException - if undeployment fails or if the IWebServiceEndpoint
is not registered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||