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
RootBeanDefinitionclass.Base class for concrete, full-fledgedBeanDefinitionclasses, factoring out common properties ofGenericBeanDefinition,RootBeanDefinition, andChildBeanDefinition.Abstract base class for bean definition readers which implement theBeanDefinitionReaderinterface.Abstract base class forBeanFactoryimplementations, providing the full capabilities of theConfigurableBeanFactorySPI.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 constructingBeanDefinitionsusing the builder pattern.A simple holder forBeanDefinitionproperty defaults.Subclass ofBeanDefinitionStoreExceptionindicating 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 standardBeanFactoryPostProcessorSPI, 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 theBeanNameGeneratorinterface, delegating toBeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry).Spring's default implementation of theConfigurableListableBeanFactoryandBeanDefinitionRegistryinterfaces: 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 handleFactoryBeaninstances, integrated withDefaultSingletonBeanRegistry's singleton management.GenericBeanDefinition is a one-stop shop for declarative bean definition purposes.BasicAutowireCandidateResolverthat performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g.SpecializedSupplierthat can be set on aBeanDefinitionwhen details about theregistered beanare 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-managedPropertiesinstance 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 implementationsARegisteredBeanrepresents a bean that has been registered with aBeanFactory, but has not necessarily been instantiated.Descriptor for how a bean should be instantiated.Extension ofMethodOverridethat 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 ofBeanCreationExceptionwhich indicates that the target scope is not active, e.g.AutowireCandidateResolverimplementation to use when no annotation support is available.Simple implementation of theBeanDefinitionRegistryinterface.Simple object instantiation strategy for use in a BeanFactory.StaticBeanFactoryimplementation which allows one to register existing singleton instances programmatically.