Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 69988 invoked from network); 4 May 2005 16:35:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2005 16:35:18 -0000 Received: (qmail 89350 invoked by uid 500); 4 May 2005 16:36:39 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 89310 invoked by uid 500); 4 May 2005 16:36:38 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: hivemind-user@jakarta.apache.org Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 89176 invoked by uid 99); 4 May 2005 16:36:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pm.crimea.com (HELO pm.crimea.com) (212.110.153.73) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 04 May 2005 09:36:36 -0700 Received: from dima.pm.crimea.com ([192.168.1.13]) by pm.crimea.com with esmtp (Exim 4.50 #1 (Debian)) id 1DTMqE-0001j9-Fr for ; Wed, 04 May 2005 19:35:18 +0300 Message-ID: <4278F9C5.5030403@java.crimea.com> Date: Wed, 04 May 2005 19:35:17 +0300 From: Dmitry Kozakov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: hivemind-user@jakarta.apache.org Subject: Re: Registry hierarchies References: <005201c550c5$84ab37c0$6601a8c0@carmani600m> In-Reply-To: <005201c550c5$84ab37c0$6601a8c0@carmani600m> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N HM 1.1alpha3 James Carman wrote: >What version of the code are you using? I think the multiple registries bug >has been fixed in HM 1.1. > >-----Original Message----- >From: Dmitry Kozakov [mailto:dima@java.crimea.com] >Sent: Wednesday, May 04, 2005 12:16 PM >To: hivemind-user@jakarta.apache.org >Subject: Registry hierarchies > > >Good day. > >I have a little question. How much >HiveMind has static objects? >I want to write some container (some thing >like Plexus or Phoenix) based on HiveMind. >But during code hacking I saw > * This instance is stored into > * {@link >ServiceSerializationHelper#setServiceSerializationSupport(ServiceSerializati >onSupport)}. > * This may cause errors (and incorrect behavior) if multiple >Registries exist in a single JVM. >in the RegistryInfrastructureImpl. >My idea was very simple to rewrite RegistryInfrastructureImpl which will >delegate search and get >methods to the parent if it cannot do itself. >Can I do this (I do not keep in mind startUp service and >ShutdownCoordinator) >or there are no any guarantees that Registry will not be corrupted. I >wrote some tests for hierarchy >they are worked but I am newbie in the HiveMind and I am not sure that I >included all >possibilties > >Best Regards > Dmitry > >--------------------------------------------------------------------- >To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > > > > -- Best Regards, Dmitry --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org