Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 62805 invoked from network); 17 Feb 2005 09:35:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Feb 2005 09:35:30 -0000 Received: (qmail 22301 invoked by uid 500); 17 Feb 2005 09:35:29 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 22281 invoked by uid 500); 17 Feb 2005 09:35:29 -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 22266 invoked by uid 99); 17 Feb 2005 09:35:29 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mailgate2.arcor-ip.de (HELO mailgate2.adm.arcor.net) (145.253.2.48) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Feb 2005 01:35:28 -0800 Received: from lxmgw.ebssoftware.com (unknown [10.238.225.121]) by mailgate2.adm.arcor.net (Arcor-CN-MailRelay) with ESMTP id 30C19334D for ; Thu, 17 Feb 2005 10:35:24 +0100 (MET) Received: from mail.ebssoftware.de ([10.17.1.13] helo=w2kebss04.ebssoftware.de) by lxmgw.ebssoftware.com with smtp (Exim 3.34 #1) id 1D1i33-0007Qh-00 for hivemind-user@jakarta.apache.org; Thu, 17 Feb 2005 10:34:13 +0100 Received: from 10.17.1.13 by w2kebss04.ebssoftware.de (InterScan E-Mail VirusWall NT); Thu, 17 Feb 2005 10:35:28 +0100 Received: by mail.ebssoftware.de with Internet Mail Service (5.5.2653.19) id ; Thu, 17 Feb 2005 10:35:28 +0100 Message-ID: <10A52760DFA5074CB125F83D8DEB608D0103435A@mail.ebssoftware.de> From: "Domsch, Christian" To: "'hivemind-user@jakarta.apache.org'" Subject: Constructing a service from a singleton Date: Thu, 17 Feb 2005 10:35:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have a question regarding construction of services. I want to know, if it is possible to have a singleton as a service implementation. As I see from the docs and source, the BuilderFactory tries to construct a new instance from the service-implementation and the uses this. This would cleary not function with my singleton as it has a private constructor. And no, i cannot put the singleton under complete control of hivemind, and get rid of the singleton behaviour of this class. Greetings, Christian Domsch. --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org