A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1420.html
Document ID: 1420 Branch: main Language: default Name: New in 2.2 (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 2/11/08 11:46:44 PM Updated by: Thorsten Scherler A new version has been created, state: draft Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 5613 bytes (previous version: 4808 bytes) Content diff: (90 equal lines skipped) <p class="fixme">Deprecation is subject of an ongoing dicussion.</p> +++ <h1>Migrating 2.1 components</h1> +++ +++ <p>When you have avalon based components that you want to use with the new +++ spring configuration system make sure you are configure them right. Avalon based +++ components were implementing an interface to e.g. be Threadsafe. In Spring you +++ will need to configure the scope (default is singletone). If you see a lot of +++ NPE in concurrency tests then you would need to use the prototype scope as shown +++ below.</p> +++ +++ +++ <pre/> +++ +++ <pre><beans> +++ <bean id="dispatcher" scope="prototype" +++ name="org.apache.cocoon.transformation.Transformer/dispatcher" +++ class="org.apache.forrest.dispatcher.transformation.DispatcherTransformer"> +++ <property name="manager" ref="org.apache.avalon.framework.service.ServiceManager"/> +++ </bean> +++ </beans></pre> +++ +++ +++ <pre/> +++ <h1>Incompatible changes</h1> <ul> (13 equal lines skipped)