org.apache.ws.resource
Interface ResourceLifecycle


public interface ResourceLifecycle

Defines a lifecycle interface for a WS-Resource. If the Resource class implements the ResourceLifeycle interface, the WS-RF runtime system is required to manage the lifecycle of the corresponding Resource objects.

Author:
Ian P. Springer (Hewlett-Packard Company)

Method Summary
 void destroy()
          The WS-RF runtime system ends the lifecycle of a Resource object by invoking this method.
 void init(java.util.Map context)
          The WS-RF runtime system initializes a Resource object by invoking this method.
 

Method Detail

destroy

public void destroy()
The WS-RF runtime system ends the lifecycle of a Resource object by invoking this method.


init

public void init(java.util.Map context)
The WS-RF runtime system initializes a Resource object by invoking this method.

Parameters:
context - initialization parameters; null may be specified if there are no initialization parameters


Copyright © 2004 Apache Software Foundation. All Rights Reserved.