You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by Davor Hrg <hr...@gmail.com> on 2006/08/02 15:34:22 UTC
RegistryShutdownListener
If a service implements RegistryShutdownListener
and is created without using an interface in service definition
(interface is the actual class)
<service-point id="MyService" interface="mypackage.MyService">
......
<invoke-factory model="singleton">
<construct class="mypackage.MyService">
....
</service-point>
registryDidShutdown will be called twice
once on registry shutdown
org.apache.hivemind.impl.RegistryInfrastructureImpl
371: coordinatorService.shutdown();
and second time for proxy shutdown
org.apache.hivemind.impl.RegistryInfrastructureImpl
379: _shutdownCoordinator.shutdown();
I'm not arguing if this is ok or not, just that it should be mentioned
in documentation. (or hopefully someone with this problem will find this
mail in archives)
Davor Hrg