cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject extending spring configuration via blocks
Date Tue, 18 Mar 2008 10:53:19 GMT
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:
  <bean id="org.apache.droids.helper.factories.HandlerFactory"
    class="org.apache.droids.helper.factories.HandlerFactory">
    <property name="map">
      <map>
        <entry key="save" value-ref="org.apache.droids.handle.Save"/>
        <entry key="sysout"
value-ref="org.apache.droids.handle.Sysout"/>
      </map>
    </property>
  </bean>

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?

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message