Return-Path: Delivered-To: apmail-jakarta-hivemind-dev-archive@www.apache.org Received: (qmail 32118 invoked from network); 10 Mar 2005 08:44:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Mar 2005 08:44:39 -0000 Received: (qmail 77541 invoked by uid 500); 10 Mar 2005 08:44:39 -0000 Delivered-To: apmail-jakarta-hivemind-dev-archive@jakarta.apache.org Received: (qmail 77516 invoked by uid 500); 10 Mar 2005 08:44:38 -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 77503 invoked by uid 99); 10 Mar 2005 08:44:38 -0000 X-ASF-Spam-Status: No, hits=3.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,NO_REAL_NAME,RCVD_ILLEGAL_IP X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from relay11.s-web.de (HELO relay11.s-web.de) (195.140.123.81) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 10 Mar 2005 00:44:38 -0800 Received: from aasee3n-qfe3 (aasee3n.s-web.de [195.140.126.28]) by relay11.s-web.de (8.12.10/8.12.10) with ESMTP id j2A8iWWb026774 for ; Thu, 10 Mar 2005 09:44:33 +0100 (MET) Received: from d100sskspk08 by aasee3n-qfe3 via smtpd (for relay11.s-web.de [195.140.123.81]) with ESMTP; Thu, 10 Mar 2005 09:44:33 +0100 Received: from G100Apligs02.G100.intern ([7.100.154.149]) by d100sskspk08.bws (Lotus Domino Release 6.5.2) with ESMTP id 2005031009442903-7972 ; Thu, 10 Mar 2005 09:44:29 +0100 To: hivemind-dev@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: Michael.Frericks@Sparkassen-Informatik.de Date: Thu, 10 Mar 2005 09:44:29 +0100 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on G100APLIGS02/SRV/SI/DE(Release 6.5.2|June 01, 2004) at 10.03.2005 09:44:30, Itemize by SMTP Server on SKSPK08/SRV/S-KOMM/DE(Release 6.5.2|June 01, 2004) at 10.03.2005 09:44:29, Serialize by Router on SKSPK08/SRV/S-KOMM/DE(Release 6.5.2|June 01, 2004) at 10.03.2005 09:44:31, Serialize complete at 10.03.2005 09:44:31 Subject: GoF-Naming: Isn't the AdapterRegistryFactory a StrategyRegistryFactory [Virus checked] Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I really like HiveMind and its support of patterns you get from the PipelineFactory, ChainFactory, AdapterRegistryFactory and others. First time i tried the AdapterRegistryFactory i got a little bit confused with zhe naming. Before that i used a self-written HiveMind-Service comparable to the eclipse AdapterFactory. public interface AdapterFactory { public Object getAdapter(Object adaptableObject, Class adapterType); } I exptected the AdapterRegistryFactory to do the same. But in IMHO the AdapterRegistryFactory behaves like a StrategyRegistryFactory due to the GoF-Naming. And one specialized use of the StrategyRegistryFactory is to create a service with a service interface like AdapterFactory. Does anyone except me see the need to rename the thing? --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org