Class ConfigurationDynaClass
java.lang.Object
org.apache.commons.configuration2.beanutils.ConfigurationDynaClass
- All Implemented Interfaces:
org.apache.commons.beanutils.DynaClass
public class ConfigurationDynaClass
extends 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
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationDynaClass(Configuration configuration) Constructs an instance of aConfigurationDynaClasswrapping the specifiedConfigurationinstance. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.beanutils.DynaProperty[]org.apache.commons.beanutils.DynaPropertygetDynaProperty(String name) getName()org.apache.commons.beanutils.DynaBean
-
Constructor Details
-
ConfigurationDynaClass
Constructs an instance of aConfigurationDynaClasswrapping the specifiedConfigurationinstance.- Parameters:
configuration-Configurationinstance.
-
-
Method Details
-
getDynaProperties
- Specified by:
getDynaPropertiesin interfaceorg.apache.commons.beanutils.DynaClass
-
getDynaProperty
- Specified by:
getDynaPropertyin interfaceorg.apache.commons.beanutils.DynaClass
-
getName
- Specified by:
getNamein interfaceorg.apache.commons.beanutils.DynaClass
-
newInstance
public org.apache.commons.beanutils.DynaBean newInstance() throws IllegalAccessException, InstantiationException- Specified by:
newInstancein interfaceorg.apache.commons.beanutils.DynaClass- Throws:
IllegalAccessExceptionInstantiationException
-