Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 46539 invoked from network); 18 Mar 2008 12:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 12:12:21 -0000 Received: (qmail 62587 invoked by uid 500); 18 Mar 2008 12:12:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 62517 invoked by uid 500); 18 Mar 2008 12:12:17 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 62506 invoked by uid 99); 18 Mar 2008 12:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 05:12:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Mar 2008 12:11:48 +0000 Received: (qmail 46316 invoked from network); 18 Mar 2008 12:11:59 -0000 Received: from localhost (HELO carsten-ziegelers-computer.local) (127.0.0.1) by localhost with SMTP; 18 Mar 2008 12:11:59 -0000 Message-ID: <47DFB18D.90604@apache.org> Date: Tue, 18 Mar 2008 13:11:57 +0100 From: Carsten Ziegeler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: extending spring configuration via blocks References: <1205837599.11861.27.camel@localhost> In-Reply-To: <1205837599.11861.27.camel@localhost> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thorsten Scherler wrote: > Hi all, > > I am looking for information how to extend a spring bean that I have > defined in the core via blocks/plugins. > > I have following configuration in my main spring context: > class="org.apache.droids.helper.factories.HandlerFactory"> > > > > value-ref="org.apache.droids.handle.Sysout"/> > > > > > I have a block that should extend > "org.apache.droids.helper.factories.HandlerFactory" adding a new entry > to the map. Meaning I want to keep the old configuration and on top want > to add some entries. > > Is this possible and if so how? I think you're looking for a dynamic map, right? Have a look here: http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurator/1.0/1400_1_1.html HTH Carsten -- Carsten Ziegeler cziegeler@apache.org