org.apache.commons.configuration.beanutils
Class ConfigurationDynaClass

java.lang.Object
  extended by org.apache.commons.configuration.beanutils.ConfigurationDynaClass
All Implemented Interfaces:
org.apache.commons.beanutils.DynaClass

public class ConfigurationDynaClass
extends java.lang.Object
implements org.apache.commons.beanutils.DynaClass

The ConfigurationDynaClass dynamically determines properties for a ConfigurationDynaBean from a wrapped configuration-collection Configuration instance.

Since:
1.0-rc1
Version:
$Revision: 727664 $, $Date: 2008-12-18 08:16:09 +0100 (Do, 18 Dez 2008) $
Author:
Ricardo Gladwell

Constructor Summary
ConfigurationDynaClass(Configuration configuration)
          Construct an instance of a ConfigurationDynaClass wrapping the specified Configuration instance.
 
Method Summary
 org.apache.commons.beanutils.DynaProperty[] getDynaProperties()
           
 org.apache.commons.beanutils.DynaProperty getDynaProperty(java.lang.String name)
           
 java.lang.String getName()
           
 org.apache.commons.beanutils.DynaBean newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationDynaClass

public ConfigurationDynaClass(Configuration configuration)
Construct an instance of a ConfigurationDynaClass wrapping the specified Configuration instance.

Parameters:
configuration - Configuration instance.
Method Detail

getDynaProperty

public org.apache.commons.beanutils.DynaProperty getDynaProperty(java.lang.String name)
Specified by:
getDynaProperty in interface org.apache.commons.beanutils.DynaClass

getDynaProperties

public org.apache.commons.beanutils.DynaProperty[] getDynaProperties()
Specified by:
getDynaProperties in interface org.apache.commons.beanutils.DynaClass

getName

public java.lang.String getName()
Specified by:
getName in interface org.apache.commons.beanutils.DynaClass

newInstance

public org.apache.commons.beanutils.DynaBean newInstance()
                                                  throws java.lang.IllegalAccessException,
                                                         java.lang.InstantiationException
Specified by:
newInstance in interface org.apache.commons.beanutils.DynaClass
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.