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
ConstructorDescriptionConfigurationDynaClass
(Configuration configuration) Constructs an instance of aConfigurationDynaClass
wrapping the specifiedConfiguration
instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.beanutils.DynaProperty[]
org.apache.commons.beanutils.DynaProperty
getDynaProperty
(String name) getName()
org.apache.commons.beanutils.DynaBean
-
Constructor Details
-
ConfigurationDynaClass
Constructs an instance of aConfigurationDynaClass
wrapping the specifiedConfiguration
instance.- Parameters:
configuration
-Configuration
instance.
-
-
Method Details
-
getDynaProperties
- Specified by:
getDynaProperties
in interfaceorg.apache.commons.beanutils.DynaClass
-
getDynaProperty
- Specified by:
getDynaProperty
in interfaceorg.apache.commons.beanutils.DynaClass
-
getName
- Specified by:
getName
in interfaceorg.apache.commons.beanutils.DynaClass
-
newInstance
public org.apache.commons.beanutils.DynaBean newInstance() throws IllegalAccessException, InstantiationException- Specified by:
newInstance
in interfaceorg.apache.commons.beanutils.DynaClass
- Throws:
IllegalAccessException
InstantiationException
-