Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 58583 invoked from network); 18 Mar 2008 12:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 12:27:47 -0000 Received: (qmail 88725 invoked by uid 500); 18 Mar 2008 12:27:44 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 88656 invoked by uid 500); 18 Mar 2008 12:27:44 -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 88643 invoked by uid 99); 18 Mar 2008 12:27:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 05:27:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thorsten.scherler.ext@juntadeandalucia.es designates 217.12.18.114 as permitted sender) Received: from [217.12.18.114] (HELO mta.juntadeandalucia.es) (217.12.18.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 12:26:57 +0000 Received: from [10.240.225.254] (helo=mail.juntadeandalucia.es) by guadix2.juntadeandalucia.es with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1JbauU-0000RQ-0w for dev@cocoon.apache.org; Tue, 18 Mar 2008 13:27:18 +0100 Received: from [10.240.192.30] by mail.juntadeandalucia.es with esmtpa (Exim 4.60) (envelope-from ) id 1JbauU-0000Ra-2g for dev@cocoon.apache.org; Tue, 18 Mar 2008 13:27:18 +0100 Subject: Re: extending spring configuration via blocks From: Thorsten Scherler To: dev@cocoon.apache.org In-Reply-To: <47DFB18D.90604@apache.org> References: <1205837599.11861.27.camel@localhost> <47DFB18D.90604@apache.org> Content-Type: text/plain Date: Tue, 18 Mar 2008 13:25:00 +0100 Message-Id: <1205843100.11861.31.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-SA-Report: * -0.2 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Score: -0.2 (/) X-Spam-Score-Int: -1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2008-03-18 at 13:11 +0100, Carsten Ziegeler wrote: > 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 Thanks very much Carsten, yeah I was looking for that. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions