public interface LifeCycle
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).NonActivatableServiceDescriptor
,
ServiceStarter
Modifier and Type | Method and Description |
---|---|
boolean |
unregister(Object impl)
Method invoked by a server to inform the
LifeCycle
object that it can release any resources associated with the server. |
boolean unregister(Object impl)
LifeCycle
object that it can release any resources associated with the server.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
.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.