Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
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

    public 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved