[ 
http://issues.apache.org/jira/browse/HIVEMIND-103?page=comments#action_61625 ]
     
Achim H�gen commented on HIVEMIND-103:
--------------------------------------

I stumbled across this behaviour some days ago and decided that it's not a bug 
but a mattern of wrong assumptions and unclear documentation. The doc doesn't 
state explicitely that the registration is done automatically. Howard's 
testcase (TestShutdown) registers the services manually in shutdown.xml as 
event listeners.

I appreciate that change, but it will break some of the existing code if the 
registryDidShutdown is now called twice (that is what ShutdownCoordinatorImpl 
states). Have you prevented this case?



> Core service implementations which implement RegistryShutdownListener are not 
> notified for primitive, singleton, and pooled service models
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: HIVEMIND-103
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-103
>      Project: HiveMind
>         Type: Bug
>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman
>     Assignee: James Carman
>      Fix For: 1.1

>
> Per the documentation, if a core service implementation object implements 
> RegistryShutdownListener, it is supposed to automatically be added as a 
> listener to the ShutdownCoordinator.  This is only supposed to be true for 
> the primitive, singleton, and pooled service models, but it's not happening.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to