Example usage for org.apache.commons.configuration.beanutils ConfigurationDynaBean ConfigurationDynaBean

List of usage examples for org.apache.commons.configuration.beanutils ConfigurationDynaBean ConfigurationDynaBean

Introduction

In this page you can find the example usage for org.apache.commons.configuration.beanutils ConfigurationDynaBean ConfigurationDynaBean.

Prototype

public ConfigurationDynaBean(Configuration configuration) 

Source Link

Document

Creates a new instance of ConfigurationDynaBean and sets the configuration this bean is associated with.

Usage

From source file:com.germinus.easyconf.ComponentProperties.java

/**
 * Returns a decorator of the configuration that can be used as a DynaBean.
 * Note that any changes made to this decorator will be made to the original
 * configuration and viceversa./*from www . ja  v  a2  s .  c om*/
 * 
 * @return a <code>DynaBean</code> instance
 */
public DynaBean toDynaBean() {
    return new ConfigurationDynaBean(properties);
}