Package org.springframework.beans.factory.support
@NonNullApi
@NonNullFields
package org.springframework.beans.factory.support
Classes supporting the
org.springframework.beans.factory
package.
Contains abstract base classes for BeanFactory
implementations.-
ClassDescriptionAbstract bean factory superclass that implements default bean creation, with the full capabilities specified by the
RootBeanDefinition
class.Base class for concrete, full-fledgedBeanDefinition
classes, factoring out common properties ofGenericBeanDefinition
,RootBeanDefinition
, andChildBeanDefinition
.Abstract base class for bean definition readers which implement theBeanDefinitionReader
interface.Abstract base class forBeanFactory
implementations, providing the full capabilities of theConfigurableBeanFactory
SPI.Qualifier for resolving autowire candidates.Strategy interface for determining whether a specific bean definition qualifies as an autowire candidate for a specific dependency.Programmatic means of constructingBeanDefinitions
using the builder pattern.A simple holder forBeanDefinition
property defaults.Subclass ofBeanDefinitionStoreException
indicating an invalid override attempt: typically registering a new definition for the same bean name whileDefaultListableBeanFactory.isAllowBeanDefinitionOverriding()
isfalse
.Utility methods that are useful for bean definition reader implementations.Interface for registries that hold bean definitions, for example RootBeanDefinition and ChildBeanDefinition instances.Extension to the standardBeanFactoryPostProcessor
SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in.Exception thrown when the validation of a bean definition failed.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.Strategy interface for generating bean names for bean definitions.Default object instantiation strategy for use in BeanFactories.Bean definition for beans which inherit settings from their parent.Default implementation of theBeanNameGenerator
interface, delegating toBeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry)
.Spring's default implementation of theConfigurableListableBeanFactory
andBeanDefinitionRegistry
interfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.Generic registry for shared bean instances, implementing theSingletonBeanRegistry
.Support base class for singleton registries which need to handleFactoryBean
instances, integrated withDefaultSingletonBeanRegistry
's singleton management.GenericBeanDefinition is a one-stop shop for declarative bean definition purposes.BasicAutowireCandidateResolver
that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g.SpecializedSupplier
that can be set on aBeanDefinition
when details about theregistered bean
are needed to supply the instance.Interface responsible for creating instances corresponding to a root bean definition.Represents an override of a method that looks up an object in the same IoC context, either by bean name or by bean type (based on the declared method return type).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).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).Post-processor callback interface for merged bean definitions at runtime.Object representing the override of a method on a managed object by the IoC container.Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime.Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection.Deprecated.as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementationsARegisteredBean
represents a bean that has been registered with aBeanFactory
, but has not necessarily been instantiated.Extension ofMethodOverride
that represents an arbitrary override of a method by the IoC container.A root bean definition represents the merged bean definition at runtime that backs a specific bean in a Spring BeanFactory.A subclass ofBeanCreationException
which indicates that the target scope is not active, e.g.AutowireCandidateResolver
implementation to use when no annotation support is available.Simple implementation of theBeanDefinitionRegistry
interface.Simple object instantiation strategy for use in a BeanFactory.StaticBeanFactory
implementation which allows one to register existing singleton instances programmatically.