public class ReflectionAccessorFactory extends Object implements PropertyAccessorFactory
PropertyAccessorFactory
implementations based on Java reflection.Constructor and Description |
---|
ReflectionAccessorFactory() |
Modifier and Type | Method and Description |
---|---|
PropertyAccessor |
getPropertyAccessor(Class<?> parent,
Field field,
int carg)
Creates a new
PropertyAccessor . |
PropertyAccessor |
getPropertyAccessor(Class<?> parent,
PropertyDescriptor descriptor,
int carg)
Creates a new
PropertyAccessor . |
public PropertyAccessor getPropertyAccessor(Class<?> parent, PropertyDescriptor descriptor, int carg)
PropertyAccessorFactory
PropertyAccessor
.getPropertyAccessor
in interface PropertyAccessorFactory
parent
- the parent bean object typedescriptor
- the PropertyDescriptor
to accesscarg
- the constructor argument indexPropertyAccessor
public PropertyAccessor getPropertyAccessor(Class<?> parent, Field field, int carg)
PropertyAccessorFactory
PropertyAccessor
.getPropertyAccessor
in interface PropertyAccessorFactory
parent
- the parent bean object typefield
- the Field
to accesscarg
- the constructor argument indexPropertyAccessor