Package org.apache.ojb.broker.util.configuration

This package contains classes that provide the OJB configuration API.

See:
          Description

Interface Summary
Configurable This interface defines the behaviour of a configurable Object.
Configuration The Configuration interface defines lookup-methods to lookup typed configuration-values.
Configurator The Configurator interface defines methods for looking up Configurations and for configuring Configurable instances.
 

Exception Summary
ConfigurationException This exception is used to signal Problems that occur during configuration operations.
 

Package org.apache.ojb.broker.util.configuration Description

This package contains classes that provide the OJB configuration API.

The Configuration interface defines lookup-methods to lookup typed configuration-values. For example boolean getBoolean(String key, boolean defaultValue) looks up a boolean value associated with key.

The Configurable interface defines a callback method configure(Configuration pConfig). Implementors of this method may use configuration value from the pConfig parameter to configure the current instance.

The Configurator interface defines methods for looking up Configurations and for configuring Configurable instances.

The Exception ConfigurationException is used to signal exceptions in the configuration process.

Patterns applied: Callback

Todo: merge with jakarta commons-configuration API



Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14