A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1314.html
Document ID: 1314 Branch: main Language: default Name: Introduction (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 1/15/07 10:42:41 AM Updated by: Carsten Ziegeler A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 1640 bytes (previous version: 37 bytes) Content diff: --- <html><body><p>TODO</p></body></html> +++ <html> +++ <body> +++ +++ <p>The Configuration API is a simple but powerful API for handling configuration +++ issues inside your application. It provides a standard mechanism for getting +++ configuration values inside your application code. The Configuration API is only +++ the public API your should be built upon. Besides the API you will need an +++ implementation of the API. Currently there is one implementation for using +++ Spring: The <a href="daisy:1304">Cocoon Spring Configurator</a>.</p> +++ +++ <h2>The Settings Object</h2> +++ +++ <p>The Configuration API defines the <tt>Settings</tt> bean +++ (<tt>org.apache.cocoon.configuration.Settings</tt>). You can use this bean to +++ get configuration values for your application. Configuration values are stored +++ in a key/value pair fashion (similar to the properties) and the settings object +++ provides several methods to access this information.</p> +++ +++ <p>Please note, that this is just the client API your code should rely on. The +++ Configurator API does in no way define how the actual configuration takes place! +++ </p> +++ +++ <h2>Utility classes</h2> +++ +++ <p>The <tt>org.apache.cocoon.configuration.MutableSettings</tt> class is a +++ default implementation of the settings object. For example, this class can be +++ used as a mock object for unit testing.</p> +++ +++ <p>The <tt>org.apache.cocoon.configuration.PropertyHelper</tt> class contains +++ various helper methods for dealing with properties and settings.</p> +++ +++ <p>The <tt>org.apache.cocoon.configuration.PropertyProvider</tt> interface is an +++ interface that can be used by implementations of the Configuration API to allow +++ custom code to be executed for configuring a settings object.</p> +++ +++ </body> +++ </html>