public interface LifeCycle
org.apache.river.start.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).
org.apache.river.start.NonActivatableServiceDescriptor
org.apache.river.start.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 © 2016–2018. All rights reserved.