The central interface of Spring's low-level JavaBeans infrastructure.
Typically not used directly but rather implicitly via a
org.springframework.beans.factory.BeanFactory or a
org.springframework.validation.DataBinder .
Provides operations to analyze and manipulate standard JavaBeans:
the ability to get and set property values (individually or in bulk),
get property descriptors, and query the readability/writability of properties.
This interface supports nested properties enabling the setting
of properties on subproperties to an unlimited depth.
A BeanWrapper instance can be used repeatedly, with its
BeanWrapper.setWrappedInstance(Object) target object (the wrapped JavaBean
instance) changing as required.
A BeanWrapper's default for the "extractOldValueForEditor" setting
is "false", to avoid side effects caused by getter method invocations.
Turn this to "true" to expose present property values to custom editors.
author: Rod Johnson author: Juergen Hoeller since: 13 April 2001 See Also: BeanWrapper.setExtractOldValueForEditor See Also: PropertyAccessor See Also: PropertyEditorRegistry See Also: BeanWrapperImpl See Also: org.springframework.beans.factory.BeanFactory See Also: org.springframework.validation.BeanPropertyBindingResult See Also: org.springframework.validation.DataBinder.initBeanPropertyAccess |