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).
|
Java Source File Name | Type | Comment |
AbstractPropertyAccessor.java | Class | Abstract implementation of the
PropertyAccessor interface. |
BeanInstantiationException.java | Class | Exception thrown when instantiation of a bean failed. |
BeanMetadataAttribute.java | Class | Holder for a key-value style attribute that is part of a bean definition. |
BeanMetadataAttributeAccessor.java | Class | Extension of
org.springframework.core.AttributeAccessorSupport ,
holding attributes as
BeanMetadataAttribute objects in order
to keep track of the definition source. |
BeanMetadataElement.java | Interface | Interface to be implemented by bean metadata elements
that carry a configuration source object. |
BeansException.java | Class | Abstract superclass for all exceptions thrown in the beans package
and subpackages.
Note that this is a runtime (unchecked) exception. |
BeanUtils.java | Class | Static convenience methods for JavaBeans: for instantiating beans,
checking bean property types, copying bean properties, etc. |
BeanWrapper.java | Interface | The central interface of Spring's low-level JavaBeans infrastructure. |
BeanWrapperImpl.java | Class | Default
BeanWrapper implementation that should be sufficient
for all typical use cases. |
CachedIntrospectionResults.java | Class | Internal class that caches JavaBeans
java.beans.PropertyDescriptor information for a Java class. |
ConfigurablePropertyAccessor.java | Interface | Interface that encapsulates configuration methods for a PropertyAccessor. |
DirectFieldAccessor.java | Class | PropertyAccessor implementation that directly accesses instance fields. |
FatalBeanException.java | Class | Thrown on an unrecoverable problem encountered in the
beans packages or sub-packages, e.g. |
InvalidPropertyException.java | Class | Exception thrown when referring to an invalid bean property. |
Mergeable.java | Interface | Interface representing an object whose value set can be merged with
that of a parent object. |
MethodInvocationException.java | Class | Thrown when a bean property getter or setter method throws an exception,
analogous to an InvocationTargetException. |
MutablePropertyValues.java | Class | Default implementation of the
PropertyValues interface. |
NotReadablePropertyException.java | Class | Exception thrown on an attempt to get the value of a property
that isn't readable, because there's no getter method. |
NotWritablePropertyException.java | Class | Exception thrown on an attempt to set the value of a property
that isn't writable, because there's no setter method. |
NullValueInNestedPathException.java | Class | Exception thrown when navigation of a valid nested property
path encounters a NullPointerException. |
PropertyAccessException.java | Class | Superclass for exceptions related to a property access,
such as type mismatch or invocation target exception. |
PropertyAccessor.java | Interface | Common interface for classes that can access named properties
(such as bean properties of an object or fields in an object)
Serves as base interface for
BeanWrapper . |
PropertyAccessorUtils.java | Class | Utility methods for classes that perform bean property access
according to the
PropertyAccessor interface. |
PropertyBatchUpdateException.java | Class | Combined exception, composed of individual PropertyAccessException instances. |
PropertyEditorRegistrar.java | Interface | Interface for strategies that register custom
java.beans.PropertyEditor property editors with a
org.springframework.beans.PropertyEditorRegistry property editor registry . |
PropertyEditorRegistry.java | Interface | Encapsulates methods for registering JavaBeans
PropertyEditor PropertyEditors . |
PropertyEditorRegistrySupport.java | Class | Base implementation of the
PropertyEditorRegistry interface. |
PropertyMatches.java | Class | Helper class for calculating bean property matches, according to. |
PropertyValue.java | Class | Object to hold information and value for an individual bean property. |
PropertyValues.java | Interface | Holder containing 0 or more PropertyValue objects,
typically comprising one update. |
PropertyValuesEditor.java | Class | java.beans.PropertyEditor Editor for a
PropertyValues object.
The required format is defined in the
java.util.Properties documentation. |
SimpleTypeConverter.java | Class | Simple implementation of the TypeConverter interface that does not operate
on any specific target object. |
TypeConverter.java | Interface | Interface that defines type conversion methods. |
TypeConverterDelegate.java | Class | Internal helper class for converting property values to target types. |
TypeMismatchException.java | Class | Exception thrown on a type mismatch when trying to set a bean property. |