A new document has been created. http://cocoon.zones.apache.org/daisy/documentation/1400.html
Document ID: 1400 Branch: main Language: default Name: Dynamic Registry Support Document Type: Cocoon Document Created: 7/19/07 4:09:41 PM Creator (owner): Carsten Ziegeler State: draft Parts ===== Content ------- Mime type: text/xml Size: 1029 bytes Content: <html> <body> <h2>Dynamic Registries</h2> <p>If you want to develop a managing bean which acts like a registry, you face the problem of how to configure this bean. Usually this bean makes use of some kind of a map which stores the registered beans under some key. If you want to configure this in Spring you have to know which registered beans are available at this point of time. Apart from the amount of configuration you have to type, this approach is not dynamic. Adding new registered beans requires to change the configuration of the managing bean. Especially with the spring-configurator, beans can be added dynamically just by dropping a jar into the class-path. The approach of this configuration style will simply not work in these cases.</p> <h2>The Bean Map</h2> <p>The spring-configurator provides a dynamic bean map just for this purpose. It can either be used as a standalone bean or as a property of another bean:</p> <pre><configurator:bean-map> </configurator:bean-map> </pre> </body> </html> Collections =========== The document belongs to the following collections: cdocs-spring-configurator
