hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davor Hrg" <>
Subject RegistryShutdownListener
Date Wed, 02 Aug 2006 13:34:22 GMT
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">

registryDidShutdown will be called twice
once on registry shutdown

371:      coordinatorService.shutdown();

and second time for proxy shutdown

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

View raw message