public interface RegistryShutdownListener extends java.util.EventListener
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.
Modifier and Type | Method and Description |
---|---|
void |
registryDidShutdown()
Invoked when a service is being shutdown, and should release any external resources.
|
void registryDidShutdown()