Return-Path: Delivered-To: apmail-hivemind-user-archive@www.apache.org Received: (qmail 19215 invoked from network); 22 Oct 2007 19:36:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2007 19:36:37 -0000 Received: (qmail 39889 invoked by uid 500); 22 Oct 2007 19:36:24 -0000 Delivered-To: apmail-hivemind-user-archive@hivemind.apache.org Received: (qmail 39876 invoked by uid 500); 22 Oct 2007 19:36:24 -0000 Mailing-List: contact user-help@hivemind.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hivemind.apache.org Delivered-To: mailing list user@hivemind.apache.org Received: (qmail 39867 invoked by uid 99); 22 Oct 2007 19:36:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 12:36:24 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.162.224] (HELO nz-out-0506.google.com) (64.233.162.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 19:36:28 +0000 Received: by nz-out-0506.google.com with SMTP id r28so505052nza for ; Mon, 22 Oct 2007 12:36:06 -0700 (PDT) Received: by 10.142.147.15 with SMTP id u15mr1542281wfd.1193081765654; Mon, 22 Oct 2007 12:36:05 -0700 (PDT) Received: by 10.142.110.16 with HTTP; Mon, 22 Oct 2007 12:36:05 -0700 (PDT) Message-ID: Date: Mon, 22 Oct 2007 15:36:05 -0400 From: "James Carman" Sender: jcarman@carmanconsulting.com To: user@hivemind.apache.org Subject: Re: constructor-based injection In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: ca27b9ea8d3ea283 X-Virus-Checked: Checked by ClamAV on apache.org A ComponentAddress, in Tapestry, isn't really a "service", though. Why would you want to put this type of object in your HiveMind registry? I can see it being part of a configuration, but not necessarily a service. What exactly are you trying to do? On 10/22/07, Alejandro Scandroli wrote: > Hi > > I need to do some constructor-based injection and I can't find the way. > I need to create an instance of > org.apache.tapestry.util.ComponentAddress, the constructor takes 2 > Strings as parameters. > I know it should be simple but I'm lost. > > Alejandro. >