|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegistryShutdownListener
Lifecycle interface that may be implemented by objects
that need to know when the Registry
has shutdown. Typically, this is implemented by core service implementations
(as well as many proxies created by HiveMind).
A core service implementation that implements this interface will automatically be registered for notifications (exception: not if the service uses the threaded service model).
Using this notification is
preferrable to implementing a finalize()
since it will be invoked
at a known time.
The order in which listeners will be invoked is not well known. In the future, some form of dependency system may be instituted.
Method Summary | |
---|---|
void |
registryDidShutdown()
Invoked when a service is being shutdown, and should release any external resources. |
Method Detail |
---|
void registryDidShutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |