Package org.springframework.beans.factory.support
Classes supporting the
org.springframework.beans.factory
package. Contains abstract base classes for BeanFactory
implementations.Interface Summary Interface Description AutowireCandidateResolver Strategy interface for determining whether a specific bean definition qualifies as an autowire candidate for a specific dependency.BeanDefinitionReader Simple interface for bean definition readers.BeanDefinitionRegistry Interface for registries that hold bean definitions, for example RootBeanDefinition and ChildBeanDefinition instances.BeanDefinitionRegistryPostProcessor Extension to the standardBeanFactoryPostProcessor
SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in.BeanNameGenerator Strategy interface for generating bean names for bean definitions.InstantiationStrategy Interface responsible for creating instances corresponding to a root bean definition.MergedBeanDefinitionPostProcessor Post-processor callback interface for merged bean definitions at runtime.MethodReplacer Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection.SecurityContextProvider Provider of the security context of the code running inside the bean factory.Class Summary Class Description AbstractAutowireCapableBeanFactory Abstract bean factory superclass that implements default bean creation, with the full capabilities specified by theRootBeanDefinition
class.AbstractBeanDefinition Base class for concrete, full-fledgedBeanDefinition
classes, factoring out common properties ofGenericBeanDefinition
,RootBeanDefinition
, andChildBeanDefinition
.AbstractBeanDefinitionReader Abstract base class for bean definition readers which implement theBeanDefinitionReader
interface.AbstractBeanFactory Abstract base class forBeanFactory
implementations, providing the full capabilities of theConfigurableBeanFactory
SPI.AutowireCandidateQualifier Qualifier for resolving autowire candidates.BeanDefinitionBuilder Programmatic means of constructingBeanDefinitions
using the builder pattern.BeanDefinitionDefaults A simple holder forBeanDefinition
property defaults.BeanDefinitionReaderUtils Utility methods that are useful for bean definition reader implementations.CglibSubclassingInstantiationStrategy Default object instantiation strategy for use in BeanFactories.ChildBeanDefinition Bean definition for beans which inherit settings from their parent.DefaultBeanNameGenerator Default implementation of theBeanNameGenerator
interface, delegating toBeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry)
.DefaultListableBeanFactory Spring's default implementation of theConfigurableListableBeanFactory
andBeanDefinitionRegistry
interfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.DefaultSingletonBeanRegistry Generic registry for shared bean instances, implementing theSingletonBeanRegistry
.FactoryBeanRegistrySupport Support base class for singleton registries which need to handleFactoryBean
instances, integrated withDefaultSingletonBeanRegistry
's singleton management.GenericBeanDefinition GenericBeanDefinition is a one-stop shop for standard bean definition purposes.GenericTypeAwareAutowireCandidateResolver BasicAutowireCandidateResolver
that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g.LookupOverride Represents an override of a method that looks up an object in the same IoC context.ManagedArray Tag collection class used to hold managed array elements, which may include runtime bean references (to be resolved into bean objects).ManagedList<E> Tag collection class used to hold managed List elements, which may include runtime bean references (to be resolved into bean objects).ManagedMap<K,V> Tag collection class used to hold managed Map values, which may include runtime bean references (to be resolved into bean objects).ManagedProperties Tag class which represents a Spring-managedProperties
instance that supports merging of parent/child definitions.ManagedSet<E> Tag collection class used to hold managed Set values, which may include runtime bean references (to be resolved into bean objects).MethodOverride Object representing the override of a method on a managed object by the IoC container.MethodOverrides Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime.PropertiesBeanDefinitionReader Bean definition reader for a simple properties format.ReplaceOverride Extension of MethodOverride that represents an arbitrary override of a method by the IoC container.RootBeanDefinition A root bean definition represents the merged bean definition that backs a specific bean in a Spring BeanFactory at runtime.SimpleAutowireCandidateResolver AutowireCandidateResolver
implementation to use when no annotation support is available.SimpleBeanDefinitionRegistry Simple implementation of theBeanDefinitionRegistry
interface.SimpleInstantiationStrategy Simple object instantiation strategy for use in a BeanFactory.SimpleSecurityContextProvider SimpleSecurityContextProvider
implementation.StaticListableBeanFactory StaticBeanFactory
implementation which allows one to register existing singleton instances programmatically.Exception Summary Exception Description BeanDefinitionValidationException Exception thrown when the validation of a bean definition failed.