org.idoox.webservice.server
Interface Initializable


Deprecated. Use Initializable instead.

public interface Initializable

This interface is called by a WebServiceContext whenever a web service is being initialized or destroyed. If a web service wants to have a reference to the WebServiceContext, it must implement this interface. However, it is not necessary to implement it for simple web services.

Since:
1.0
See Also:
WebServiceContext
Component:
Core

Method Summary
 void destroy()
          Deprecated. called just before the web service is destroyed.
 void init(WebServiceContext container)
          Deprecated. This method is called after a web service is loaded into a container.
 

Method Detail

init

public void init(WebServiceContext container)
Deprecated. 
This method is called after a web service is loaded into a container. For security reasons, each service is contained within one container.

Parameters:
container - the container into which the web service is loaded.

destroy

public void destroy()
Deprecated. 
called just before the web service is destroyed. For security reasons, each service is contained within one container.