Return-Path: Delivered-To: apmail-hivemind-user-archive@www.apache.org Received: (qmail 68973 invoked from network); 22 Oct 2007 22:02:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2007 22:02:46 -0000 Received: (qmail 26559 invoked by uid 500); 22 Oct 2007 22:02:33 -0000 Delivered-To: apmail-hivemind-user-archive@hivemind.apache.org Received: (qmail 26380 invoked by uid 500); 22 Oct 2007 22:02:32 -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 26371 invoked by uid 99); 22 Oct 2007 22:02:32 -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 15:02:32 -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.232] (HELO nz-out-0506.google.com) (64.233.162.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 22:02:36 +0000 Received: by nz-out-0506.google.com with SMTP id r28so544464nza for ; Mon, 22 Oct 2007 15:02:14 -0700 (PDT) Received: by 10.142.214.5 with SMTP id m5mr1638211wfg.1193090533962; Mon, 22 Oct 2007 15:02:13 -0700 (PDT) Received: by 10.142.110.16 with HTTP; Mon, 22 Oct 2007 15:02:13 -0700 (PDT) Message-ID: Date: Mon, 22 Oct 2007 18:02:13 -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: 966bde2185f289c3 X-Virus-Checked: Checked by ClamAV on apache.org I would probably handle that via a configuration point in HiveMind. On 10/22/07, Alejandro Scandroli wrote: > Hi James > > I'm trying to migrate some Spring code to Hivemind. > I need to create a Map in the Hivemind registry. > This is what it looks like on spring: > > > > > > trails:Viewers > > > stringViewer > > > > > > > > hidden > > > > trails:Viewers > > > hidden > > > > > > > > Alejandro. > > On 10/22/07, James Carman wrote: > > 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. > > > > > >