javax.xml.rpc.server.ServiceLifecycle defines
a lifecycle interface for a Jakarta XML RPC service endpoint. If the
service endpoint class implements the ServiceLifeycle
interface, the servlet container based Jakarta XML RPC runtime system
is required to manage the lifecycle of the corresponding service
endpoint objects.
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy()
Jakarta XML RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method. |
| public void |
| destroy | back to summary |
|---|---|
| public void destroy() Jakarta XML RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method. The service endpoint releases its resourcesin the implementation of the destroy method. | |
| init | back to summary |
|---|---|
| public void init(Object context) throws ServiceException Used for initialization of a service endpoint. After a service
endpoint instance (an instance of a service endpoint class) is
instantiated, the Jakarta XML RPC runtime system invokes the
The init method implementation should typecast the context
parameter to an appropriate Java type. For service endpoints
deployed on a servlet container based Jakarta XML RPC runtime system,
the
| |