GigaSpaces XAP 10.0.1 API

com.sun.jini.start
Interface LifeCycle


public interface LifeCycle

The interface used to manage the lifecycle of shared, non-activatable services started by the service starter. Services started via a NonActivatableServiceDescriptor get passed a reference to a LifeCycle object, which can be used by the server to inform the hosting environment that it can release any resources associated with the server (presumably because the server is terminating).

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
NonActivatableServiceDescriptor, ServiceStarter

Method Summary
 boolean unregister(Object impl)
          Method invoked by a server to inform the LifeCycle object that it can release any resources associated with the server.
 

Method Detail

unregister

boolean unregister(Object impl)
Method invoked by a server to inform the LifeCycle object that it can release any resources associated with the server.

Parameters:
impl - Object reference to the implementation object created by the NonActivatableServiceDescriptor. This reference must be equal, in the "==" sense, to the object created by the NonActivatableServiceDescriptor.
Returns:
true if the invocation was successfully processed and false otherwise.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.