hivemind-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <hivemind-...@jakarta.apache.org>
Subject [jira] Commented: (HIVEMIND-103) Core service implementations which implement RegistryShutdownListener are not notified for primitive, singleton, and pooled service models
Date Mon, 28 Mar 2005 22:42:17 GMT
     [ http://issues.apache.org/jira/browse/HIVEMIND-103?page=comments#action_61681 ]
     
James Carman commented on HIVEMIND-103:
---------------------------------------

I added a test case which showed exactly what you said.  You were correct.  It was calling
registryDidShutdown() twice in all cases.  I added code to the ShutdownCoordinatorImpl to
verify that it's not calling registryDidShutdown() on the same exact instance more than once
(it uses the identity hashcode so that objects which aren't playing nice can't mess things
up).  Also, I found out there there are actually TWO ShutdownCoordinatorImpl objects created
at runtime.  One which is exposed as a service and one that's used internally by the infrastructure.
 I changed my code to make sure I was adding the implementation objects to the service version
rather than the infrastructure version, as this is most likely where service implementations
will add themselves if they do so.

> 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


Mime
View raw message