Default implementation of the BeanWrapper interface that should be sufficient
for all typical use cases. Caches introspection results for efficiency.
Note: This class never tries to load a class by name, as this can pose
class loading problems in J2EE applications with multiple deployment modules.
The caller is responsible for loading a target class.
Note: Auto-registers default property editors from the
org.springframework.beans.propertyeditors package, which apply
in addition to the JDK's standard PropertyEditors. Applications can call
the registerCustomEditor method to register an editor for a
particular instance (i.e. they're not shared across the application).
See the base class PropertyEditorRegistrySupport for details.
BeanWrapperImpl will convert collection and array values to the
corresponding target collections or arrays, if necessary. Custom property
editors that deal with collections or arrays can either be written via
PropertyEditor's setValue, or against a comma-delimited String
via setAsText, as String arrays are converted in such a format
if the array itself is not assignable.
Note: This class never tries to load a class by name, as this can pose class loading problems in J2EE applications with multiple deployment modules. The caller is responsible for loading a target class.
Note: Auto-registers default property editors from the
org.springframework.beans.propertyeditorspackage, which apply in addition to the JDK's standard PropertyEditors. Applications can call theregisterCustomEditormethod to register an editor for a particular instance (i.e. they're not shared across the application). See the base class PropertyEditorRegistrySupport for details.BeanWrapperImpl will convert collection and array values to the corresponding target collections or arrays, if necessary. Custom property editors that deal with collections or arrays can either be written via PropertyEditor's
setValue, or against a comma-delimited String viasetAsText, as String arrays are converted in such a format if the array itself is not assignable.