Package | Description |
---|---|
org.apache.commons.beanutils |
The Bean Introspection Utilities component of the Apache Commons
subproject offers low-level utility classes that assist in getting and setting
property values on Java classes that follow the naming design patterns outlined
in the JavaBeans Specification, as well as mechanisms for dynamically defining
and accessing bean properties.
|
Modifier and Type | Field and Description |
---|---|
protected WrapDynaClass |
WrapDynaBean.dynaClass
The
DynaClass "base class" that this DynaBean
is associated with. |
private WrapDynaClass |
LazyDynaList.wrapDynaClass
The WrapDynaClass if the List's contains
POJO Bean elements.
|
Modifier and Type | Field and Description |
---|---|
private static ContextClassLoaderLocal<java.util.Map<WrapDynaClass.CacheKey,WrapDynaClass>> |
WrapDynaClass.CLASSLOADER_CACHE |
Modifier and Type | Method and Description |
---|---|
static WrapDynaClass |
WrapDynaClass.createDynaClass(java.lang.Class<?> beanClass)
Create (if necessary) and return a new
WrapDynaClass
instance for the specified bean class. |
static WrapDynaClass |
WrapDynaClass.createDynaClass(java.lang.Class<?> beanClass,
PropertyUtilsBean pu)
Create (if necessary) and return a new
WrapDynaClass instance
for the specified bean class using the given PropertyUtilsBean
instance for introspection. |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<WrapDynaClass.CacheKey,WrapDynaClass> |
WrapDynaClass.getClassesCache()
Returns the cache for the already created class instances.
|
Constructor and Description |
---|
WrapDynaBean(java.lang.Object instance,
WrapDynaClass cls)
Creates a new instance of
WrapDynaBean , associates it with the specified
JavaBean instance, and initializes the bean's DynaClass . |