public abstract class

PropertyAccessorFactory

extends Object
java.lang.Object
   ↳ org.springframework.beans.PropertyAccessorFactory

Class Overview

Simple factory facade for obtaining PropertyAccessor instances, in particular for BeanWrapper instances. Conceals the actual target implementation classes and their extended public signature.

Summary

Public Constructors
PropertyAccessorFactory()
Public Methods
static BeanWrapper forBeanPropertyAccess(Object target)
Obtain a BeanWrapper for the given target object, accessing properties in JavaBeans style.
static ConfigurablePropertyAccessor forDirectFieldAccess(Object target)
Obtain a PropertyAccessor for the given target object, accessing properties in direct field style.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PropertyAccessorFactory ()

Also: SpringBeans

Public Methods

public static BeanWrapper forBeanPropertyAccess (Object target)

Also: SpringBeans

Obtain a BeanWrapper for the given target object, accessing properties in JavaBeans style.

Parameters
target the target object to wrap
Returns
  • the property accessor
See Also

public static ConfigurablePropertyAccessor forDirectFieldAccess (Object target)

Also: SpringBeans

Obtain a PropertyAccessor for the given target object, accessing properties in direct field style.

Parameters
target the target object to wrap
Returns
  • the property accessor