Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 67786 invoked from network); 29 Aug 2005 14:30:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 14:30:09 -0000 Received: (qmail 31627 invoked by uid 500); 29 Aug 2005 14:30:09 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 31392 invoked by uid 500); 29 Aug 2005 14:30:08 -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 List-Id: Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 31378 invoked by uid 99); 29 Aug 2005 14:30:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 07:30:08 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.162.4.185] (HELO HCM-MS-185.vnn.vn) (203.162.4.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 07:30:22 -0700 Received: from nbjeff ([203.162.4.10]) by HCM-MS-185.vnn.vn (InterMail vK.4.04.00.00 201-232-137 license 9d3ecd185b7059adcefb4d0866ce835e) with ESMTP id <20050829143001.RDKX225554.HCM-MS-185@nbjeff> for ; Mon, 29 Aug 2005 21:30:01 +0700 From: "Jean-Francois Poilpret" To: Subject: RE: It's not necessary to let every service can be constructed Date: Mon, 29 Aug 2005 21:30:32 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <430E8B92.90105@basecity.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcWsNaRRiPEr8eauQ325mHK+6hQ69gAcD8Ag Message-Id: <20050829143001.RDKX225554.HCM-MS-185@nbjeff> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I think that's a good point that hivemind checks that for you! This way you can more easily track configuration mistakes. Regarding your problem, I think you should have a look at the hivemind.lib.PlaceholderFactory, this factory will create default implementations for any service. You can put this as the default implementation where your service-points are defined. And if needed override the implementation in another module (I assume you use hivemind-1.1) Cheers Jean-Francois -----Original Message----- From: luotian [mailto:lt@basecity.com] Sent: Friday, August 26, 2005 10:25 AM To: hivemind-user@jakarta.apache.org Subject: It's not necessary to let every service can be constructed I made a interface-only package contains my APIs, and supplied a hivemodule.xml included the service points without any implementation. In my application I will use some of the services, and I will provide implementations for them, but hivemind compliant for other services without any constructor contributed by any module. I think it is not necessary for hivemind to check this. Now I must provide lots of place holder for these interfaces. :-( --------------------------------------------------------------------- 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