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). |
AutowireCandidateQualifier.java | Class | Qualifier for resolving autowire candidates. |
AutowireCandidateResolver.java | Interface | Strategy interface for determining whether a specific bean definition
qualifies as an autowire candidate for a specific dependency. |
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. |
BeanDefinitionDefaults.java | Class | A simple holder for BeanDefinition property defaults. |
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.
Child bean definitions have a fixed dependency on a parent bean definition.
A child bean definition will inherit constructor argument values,
property values and method overrides from the parent, with the option
to add new values. |
ConstructorResolver.java | Class | Helper class for resolving constructors and factory methods. |
DefaultBeanNameGenerator.java | Class | Default implementation of the
BeanNameGenerator interface, delegating to
BeanDefinitionReaderUtils.generateBeanName(BeanDefinitionBeanDefinitionRegistry) . |
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 | |
GenericBeanDefinition.java | Class | GenericBeanDefinition is a one-stop shop for standard bean definition purposes.
Like any bean definition, it allows for specifying a class plus optionally
constructor argument values and property values. |
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). |
MergedBeanDefinitionPostProcessor.java | Interface | Post-processor callback interface for merged bean definitions at runtime.
BeanPostProcessor implementations may implement this sub-interface in
order to post-process the merged bean definition that the Spring BeanFactory
uses to create a specific bean instance.
Note that the
MergedBeanDefinitionPostProcessor.postProcessMergedBeanDefinition method will be invoked
for every instance of a bean. |
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 | A root bean definition represents the merged bean definition that backs
a specific bean in a Spring BeanFactory at runtime. |
SimpleAutowireCandidateResolver.java | Class | AutowireCandidateResolver implementation to use when Java version
is less than 1.5 and therefore no annotation support is available. |
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. |