Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 77456 invoked from network); 18 Nov 2005 15:58:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Nov 2005 15:58:08 -0000 Received: (qmail 39111 invoked by uid 500); 18 Nov 2005 15:57:35 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 39038 invoked by uid 500); 18 Nov 2005 15:57:34 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 39027 invoked by uid 99); 18 Nov 2005 15:57:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 07:57:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.67.235.120] (HELO mx3.evanzo-server.de) (62.67.235.120) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 07:59:07 -0800 Received: from iacturuslaptop (dslb-088-072-035-242.pools.arcor-ip.net [88.72.35.242]) (authenticated (0 bits)) by mx3.evanzo-server.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id jAIFv8g26677 for ; Fri, 18 Nov 2005 16:57:08 +0100 Message-ID: <009101c5ec58$b8acb290$f83110ac@iacturuslaptop> From: "Iacturus" To: References: <005901c5ec30$101082b0$f83110ac@iacturuslaptop> <437DE9EE.8010109@d-haven.org> <006301c5ec52$aa3c9e60$f83110ac@iacturuslaptop> <437DF14E.4000700@d-haven.org> Subject: Re: components not as factory or pooled Date: Fri, 18 Nov 2005 16:56:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-mimeole: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > That's the mechanism currently used to flag whether a component is to be > treated as a singleton. Why wouldn't it be possible? The problem is, that i need to have exclusive access on object (component) level. Using the Threadsafe interface will cause the need of java synchronization: synchronized (myComponent) { myComponent.doSomething1(); myComponent.doSomething2(); } This is in any case a bottleneck, but i intended to delegate this to the component manager. My component is not thread safe and it is not possible to make it thread safe. Thx, Robert --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org