Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 16118 invoked from network); 9 Oct 2003 17:45:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Oct 2003 17:45:59 -0000 Received: (qmail 66812 invoked by uid 500); 9 Oct 2003 17:45:47 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 66761 invoked by uid 500); 9 Oct 2003 17:45:46 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 66747 invoked from network); 9 Oct 2003 17:45:46 -0000 Received: from unknown (HELO rwcrmhc13.comcast.net) (204.127.198.39) by daedalus.apache.org with SMTP; 9 Oct 2003 17:45:46 -0000 Received: from almightybeast (unknown[65.114.188.240]) by comcast.net (rwcrmhc13) with SMTP id <2003100917455001500ko926e> (Authid: hlship); Thu, 9 Oct 2003 17:45:50 +0000 From: "Howard M. Lewis Ship" To: "'Jakarta Commons Developers List'" Subject: RE: [HiveMind] Initializable Date: Thu, 9 Oct 2003 13:45:32 -0400 Message-ID: <000601c38e8d$23aba410$d0020a0a@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > I would strongly encourage using the proxy. For my taste a > Service should > nearly never give out this. That's because in my mind a > Service is not just > the implementation but the implementation plus the Interceptors (and > ServiceModel proxies) and the implementation does not know > about the other. > Think of an interceptor which never calls the actual Service > but has some > replacement etc. I agree, which means nothing needs to be passed; if the core implementation needs to vend out the proxy, it can use the BuilderFactory to assign the proxy to a property. Perhaps another attribute of to specify which property it should be assigned to. > > Concerning Threaded model: I'd rather see if > ServiceImplementations which > can be used for Threaded must implement a marker interface (as in old > Servlet-spec). There are just too many implementation > differences between > the Singleton and the Threaded. HiveMind should than check that such > Threaded marked ServiceImpl is never used as Singleton and > vice-versa. I think that's an interesting idea; threaded core impls must implement a Threadable marker interface; pooled implementations must implement a Poolable interface. Hm. Marker interfaces as a precurser to JD 1.5 code attributes. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org