@NonNullApi @NonNullFields package org.springframework.beans
This package contains interfaces and classes for manipulating Java beans. It is used by most other Spring packages.
A BeanWrapper object may be used to set and get bean properties, singly or in bulk.
The classes in this package are discussed in Chapter 11 of Expert One-On-One J2EE Design and Development by Rod Johnson (Wrox, 2002).
ConfigurablePropertyAccessorthat provides the necessary infrastructure for all typical use cases.A handler for a specific property.Holder class used to store property tokens.Abstract implementation of the
PropertyAccessorinterface.Strategy interface for creating
BeanInfoinstances for Spring beans.Exception thrown when instantiation of a bean failed.Holder for a key-value style attribute that is part of a bean definition.Extension of
AttributeAccessorSupport, holding attributes as
BeanMetadataAttributeobjects in order to keep track of the definition source.Interface to be implemented by bean metadata elements that carry a configuration source object.Abstract superclass for all exceptions thrown in the beans package and subpackages.Static convenience methods for JavaBeans: for instantiating beans, checking bean property types, copying bean properties, etc.The central interface of Spring's low-level JavaBeans infrastructure.Default
BeanWrapperimplementation that should be sufficient for all typical use cases.Internal class that caches JavaBeans
PropertyDescriptorinformation for a Java class.Interface that encapsulates configuration methods for a PropertyAccessor.Exception thrown when no suitable editor or converter can be found for a bean property.
ConfigurablePropertyAccessorimplementation that directly accesses instance fields.Extension of
StandardBeanInfoFactorythat supports "non-standard" JavaBeans setter methods through introspection by Spring's (package-visible)
ExtendedBeanInfoimplementation.Thrown on an unrecoverable problem encountered in the beans packages or sub-packages, e.g.Exception thrown when referring to an invalid bean property.Interface representing an object whose value set can be merged with that of a parent object.Thrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException.The default implementation of the
PropertyValuesinterface.Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.Exception thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method).Exception thrown when navigation of a valid nested property path encounters a NullPointerException.Superclass for exceptions related to a property access, such as type mismatch or invocation target exception.Common interface for classes that can access named properties (such as bean properties of an object or fields in an object).Simple factory facade for obtaining
PropertyAccessorinstances, in particular for
BeanWrapperinstances.Utility methods for classes that perform bean property access according to the
PropertyAccessorinterface.Combined exception, composed of individual PropertyAccessException instances.Interface for strategies that register custom
property editorswith a
property editor registry.Encapsulates methods for registering JavaBeans
PropertyEditors.Base implementation of the
PropertyEditorRegistryinterface.Helper class for calculating property matches, according to a configurable distance.Object to hold information and value for an individual bean property.Holder containing one or more
PropertyValueobjects, typically comprising one update for a specific target bean.
PropertyValuesobject.Simple implementation of the
TypeConverterinterface that does not operate on a specific target object.
BeanInfoFactoryimplementation that performs standard
Introspectorinspection.Interface that defines type conversion methods.Base implementation of the
TypeConverterinterface, using a package-private delegate.Exception thrown on a type mismatch when trying to set a bean property.