Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 27293 invoked from network); 15 Jan 2007 10:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2007 10:43:18 -0000 Received: (qmail 70232 invoked by uid 500); 15 Jan 2007 10:43:25 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 70197 invoked by uid 500); 15 Jan 2007 10:43:24 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 70186 invoked by uid 99); 15 Jan 2007 10:43:24 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.67] (HELO cocoon.zones.apache.org) (140.211.11.67) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 02:43:24 -0800 Message-ID: <8850291.1168857777636.JavaMail.daisy@cocoon.zones.apache.org> Date: Mon, 15 Jan 2007 10:42:57 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Updated: Introduction Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: ---

TODO

+++ +++ +++ +++

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 Cocoon Spring Configurator.

+++ +++

The Settings Object

+++ +++

The Configuration API defines the Settings bean +++ (org.apache.cocoon.configuration.Settings). 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.

+++ +++

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! +++

+++ +++

Utility classes

+++ +++

The org.apache.cocoon.configuration.MutableSettings class is a +++ default implementation of the settings object. For example, this class can be +++ used as a mock object for unit testing.

+++ +++

The org.apache.cocoon.configuration.PropertyHelper class contains +++ various helper methods for dealing with properties and settings.

+++ +++

The org.apache.cocoon.configuration.PropertyProvider 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.

+++ +++ +++