org.springframework.beans.factory.support |
Classes supporting the org.springframework.beans.factory package.
Contains abstract base classes for BeanFactory implementations.
|
Java Source File Name | Type | Comment |
AbstractAutowireCapableBeanFactory.java | Class | Abstract bean factory superclass that implements default bean creation,
with the full capabilities specified by the
RootBeanDefinition class.
Implements the
org.springframework.beans.factory.config.AutowireCapableBeanFactory interface in addition to AbstractBeanFactory's
AbstractAutowireCapableBeanFactory.createBean method.
Provides bean creation (with constructor resolution), property population,
wiring (including autowiring), and initialization. |
AbstractBeanDefinition.java | Class | Base class for concrete, full-fledged
org.springframework.beans.factory.config.BeanDefinition classes,
factoring out common properties of
RootBeanDefinition and
ChildBeanDefinition . |
AbstractBeanDefinitionReader.java | Class | Abstract base class for bean definition readers which implement
the
BeanDefinitionReader interface. |
AbstractBeanFactory.java | Class | Abstract base class for
org.springframework.beans.factory.BeanFactory implementations, providing the full capabilities of the
org.springframework.beans.factory.config.ConfigurableBeanFactory SPI.
Does not assume a listable bean factory: can therefore also be used
as base class for bean factory implementations which obtain bean definitions
from some backend resource (where bean definition access is an expensive operation).
This class provides a singleton cache (through its base class
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry ,
singleton/prototype determination,
org.springframework.beans.factory.FactoryBean handling, aliases, bean definition merging for child bean definitions,
and bean destruction (
org.springframework.beans.factory.DisposableBean interface, custom destroy methods). |
AutowireUtils.java | Class | Utility class that contains various methods useful for
the implementation of autowire-capable bean factories. |
BeanDefinitionBuilder.java | Class | Programmatic means of constructing
org.springframework.beans.factory.config.BeanDefinition BeanDefinitions using the builder pattern. |
BeanDefinitionReader.java | Interface | Simple interface for bean definition readers.
Specifies load methods with Resource parameters.
Concrete bean definition readers can of course add additional
load and register methods for bean definitions, specific to
their bean definition format.
Note that a bean definition reader does not have to implement
this interface. |
BeanDefinitionReaderUtils.java | Class | Utility methods that are useful for bean definition reader implementations. |
BeanDefinitionRegistry.java | Interface | Interface for registries that hold bean definitions, for example RootBeanDefinition
and ChildBeanDefinition instances. |
BeanDefinitionValidationException.java | Class | Exception thrown when the validation of a bean definition failed. |
BeanDefinitionValueResolver.java | Class | Helper class for use in bean factory implementations,
resolving values contained in bean definition objects
into the actual values applied to the target bean instance. |
BeanNameGenerator.java | Interface | Strategy interface for generating bean names for bean definitions. |
CglibSubclassingInstantiationStrategy.java | Class | Default object instantiation strategy for use in BeanFactories. |
ChildBeanDefinition.java | Class | Bean definition for beans which inherit settings from their parent.
Will use the bean class of the parent if none specified, but can
also override it. |
ConstructorResolver.java | Class | Helper class for resolving constructors and factory methods. |
DefaultBeanNameGenerator.java | Class | Default implementation of the
BeanNameGenerator interface, delegating to
BeanDefinitionReaderUtils.generateBeanName(AbstractBeanDefinitionBeanDefinitionRegistry) . |
DefaultListableBeanFactory.java | Class | Default implementation of the
org.springframework.beans.factory.ListableBeanFactory and
BeanDefinitionRegistry interfaces: a full-fledged bean factory
based on bean definition objects.
Typical usage is registering all bean definitions first (possibly read
from a bean definition file), before accessing beans. |
DefaultSingletonBeanRegistry.java | Class | Generic registry for shared bean instances, implementing the
org.springframework.beans.factory.config.SingletonBeanRegistry .
Allows for registering singleton instances that should be shared
for all callers of the registry, to be obtained via bean name.
Also supports registration of
org.springframework.beans.factory.DisposableBean instances,
(which might or might not correspond to registered singletons),
to be destroyed on shutdown of the registry. |
DisposableBeanAdapter.java | Class | |
InstantiationStrategy.java | Interface | Interface responsible for creating instances corresponding to a root bean definition. |
LookupOverride.java | Class | Represents an override of a method that looks up an object in the same IoC context. |
ManagedList.java | Class | Tag collection class used to hold managed List elements, which may
include runtime bean references (to be resolved into bean objects). |
ManagedMap.java | Class | Tag collection class used to hold managed Map values, which may
include runtime bean references (to be resolved into bean objects). |
ManagedProperties.java | Class | Tag class which represents a Spring-managed
Properties instance
that supports merging of parent/child definitions. |
ManagedSet.java | Class | Tag collection class used to hold managed Set values, which may
include runtime bean references (to be resolved into bean objects). |
MethodOverride.java | Class | Object representing the override of a method on a managed
object by the IoC container. |
MethodOverrides.java | Class | Set of method overrides, determining which, if any, methods on a
managed object the Spring IoC container will override at runtime. |
MethodReplacer.java | Interface | Interface to be implemented by classes that can reimplement any method
on an IoC-managed object: the Method Injection form of
Dependency Injection. |
PropertiesBeanDefinitionReader.java | Class | Bean definition reader for a simple properties format.
Provides bean definition registration methods for Map/Properties and
ResourceBundle. |
ReplaceOverride.java | Class | Extension of MethodOverride that represents an arbitrary
override of a method by the IoC container. |
RootBeanDefinition.java | Class | Root bean definitions are the most common type of bean definition. |
SimpleInstantiationStrategy.java | Class | Simple object instantiation strategy for use in a BeanFactory. |
StaticListableBeanFactory.java | Class | Static
org.springframework.beans.factory.BeanFactory implementation
which allows to register existing singleton instances programmatically. |