Class ConfigurationDynaClass
- java.lang.Object
-
- 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 aConfigurationDynaBean
from a wrapped configuration-collectionConfiguration
instance.- Since:
- 1.0-rc1
- Version:
- $Id: ConfigurationDynaClass.java 1366932 2012-07-29 20:06:31Z oheger $
- Author:
- Ricardo Gladwell
-
-
Constructor Summary
Constructors Constructor Description ConfigurationDynaClass(Configuration configuration)
Construct an instance of aConfigurationDynaClass
wrapping the specifiedConfiguration
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Constructor Detail
-
ConfigurationDynaClass
public ConfigurationDynaClass(Configuration configuration)
Construct an instance of aConfigurationDynaClass
wrapping the specifiedConfiguration
instance.- Parameters:
configuration
-Configuration
instance.
-
-
Method Detail
-
getDynaProperty
public org.apache.commons.beanutils.DynaProperty getDynaProperty(java.lang.String name)
- Specified by:
getDynaProperty
in interfaceorg.apache.commons.beanutils.DynaClass
-
getDynaProperties
public org.apache.commons.beanutils.DynaProperty[] getDynaProperties()
- Specified by:
getDynaProperties
in interfaceorg.apache.commons.beanutils.DynaClass
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.apache.commons.beanutils.DynaClass
-
newInstance
public org.apache.commons.beanutils.DynaBean newInstance() throws java.lang.IllegalAccessException, java.lang.InstantiationException
- Specified by:
newInstance
in interfaceorg.apache.commons.beanutils.DynaClass
- Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
-
-