Return-Path: Delivered-To: apmail-jakarta-hivemind-dev-archive@www.apache.org Received: (qmail 99435 invoked from network); 28 Mar 2005 10:26:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2005 10:26:55 -0000 Received: (qmail 71706 invoked by uid 500); 28 Mar 2005 10:26:55 -0000 Delivered-To: apmail-jakarta-hivemind-dev-archive@jakarta.apache.org Received: (qmail 71684 invoked by uid 500); 28 Mar 2005 10:26:54 -0000 Mailing-List: contact hivemind-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: hivemind-dev@jakarta.apache.org Delivered-To: mailing list hivemind-dev@jakarta.apache.org Received: (qmail 71670 invoked by uid 99); 28 Mar 2005 10:26:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 28 Mar 2005 02:26:53 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8854F2A8 for ; Mon, 28 Mar 2005 12:19:18 +0200 (CEST) Message-ID: <1684175210.1112005158465.JavaMail.jira@ajax.apache.org> Date: Mon, 28 Mar 2005 12:19:18 +0200 (CEST) From: =?UTF-8?Q?Achim_H=C3=BCgen_=28JIRA=29?= To: hivemind-dev@jakarta.apache.org Subject: [jira] Commented: (HIVEMIND-103) Core service implementations which implement RegistryShutdownListener are not notified for primitive, singleton, and pooled service models In-Reply-To: <835682580.1111971916403.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HIVEMIND-103?page=3Dcomments#ac= tion_61625 ] =20 Achim H=FCgen 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 d= oesn't state explicitely that the registration is done automatically. Howar= d'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 th= e registryDidShutdown is now called twice (that is what ShutdownCoordinator= Impl 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 li= stener to the ShutdownCoordinator. This is only supposed to be true for th= e primitive, singleton, and pooled service models, but it's not happening. --=20 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