Top Description Interfaces Classes
[default module]

Package org.springframework.beans.factory.support

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Classes supporting the org.springframework.beans.factory package. Contains abstract base classes for BeanFactory implementations.

Interface Summary

Modifier and TypeInterface and Description
public interface
AutowireCandidateResolver

Strategy interface for determining whether a specific bean definition qualifies as an autowire candidate for a specific dependency.

public interface
BeanDefinitionReader

Simple interface for bean definition readers that specifies load methods with Resource and String location parameters.

public interface
BeanDefinitionRegistry

Interface for registries that hold bean definitions, for example RootBeanDefinition and ChildBeanDefinition instances.

public interface
BeanDefinitionRegistryPostProcessor

Extension to the standard BeanFactoryPostProcessor SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in. In particular, BeanDefinitionRegistryPostProcessor may register further bean definitions which in turn define BeanFactoryPostProcessor instances.

public interface
BeanNameGenerator

Strategy interface for generating bean names for bean definitions.

public interface
InstanceSupplier<
the type of instance supplied by this supplier
T
>

Specialized Supplier that can be set on a BeanDefinition when details about the registered bean are needed to supply the instance.

public interface
InstantiationStrategy

Interface responsible for creating instances corresponding to a root bean definition.

public interface
MergedBeanDefinitionPostProcessor

Post-processor callback interface for merged bean definitions at runtime.

public interface
MethodReplacer

Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractAutowireCapableBeanFactory

Abstract bean factory superclass that implements default bean creation, with the full capabilities specified by the RootBeanDefinition class.

public abstract class
AbstractBeanDefinition

Base class for concrete, full-fledged BeanDefinition classes, factoring out common properties of GenericBeanDefinition, RootBeanDefinition, and ChildBeanDefinition.

public abstract class
AbstractBeanDefinitionReader

Abstract base class for bean definition readers which implement the BeanDefinitionReader interface.

public abstract class
AbstractBeanFactory

Abstract base class for org.springframework.beans.factory.BeanFactory implementations, providing the full capabilities of the org.springframework.beans.factory.config.ConfigurableBeanFactory SPI.

public class
AutowireCandidateQualifier

Qualifier for resolving autowire candidates.

pack-priv abstract class
AutowireUtils

Utility class that contains various methods useful for the implementation of autowire-capable bean factories.

public class
BeanDefinitionBuilder

Programmatic means of constructing BeanDefinitions using the builder pattern.

public class
BeanDefinitionDefaults

A simple holder for BeanDefinition property defaults.

public class
BeanDefinitionOverrideException

Subclass of BeanDefinitionStoreException indicating an invalid override attempt: typically registering a new definition for the same bean name while DefaultListableBeanFactory#isAllowBeanDefinitionOverriding() is false.

public abstract class
BeanDefinitionReaderUtils

Utility methods that are useful for bean definition reader implementations.

pack-priv class
public class
BeanDefinitionValidationException

Exception thrown when the validation of a bean definition failed.

public class
BeanDefinitionValueResolver

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.

public class
CglibSubclassingInstantiationStrategy

Default object instantiation strategy for use in BeanFactories.

public class
ChildBeanDefinition

Bean definition for beans which inherit settings from their parent.

pack-priv class
ConstructorResolver

Delegate for resolving constructors and factory methods.

public class
public class
DefaultListableBeanFactory

Spring's default implementation of the ConfigurableListableBeanFactory and BeanDefinitionRegistry interfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors.

public class
DefaultSingletonBeanRegistry

Generic registry for shared bean instances, implementing the org.springframework.beans.factory.config.SingletonBeanRegistry.

pack-priv class
DisposableBeanAdapter

Adapter that implements the DisposableBean and Runnable interfaces performing various destruction steps on a given bean instance:

  • DestructionAwareBeanPostProcessors;
  • the bean implementing DisposableBean itself;
  • a custom destroy method specified on the bean definition.
public abstract class
FactoryBeanRegistrySupport

Support base class for singleton registries which need to handle org.springframework.beans.factory.FactoryBean instances, integrated with DefaultSingletonBeanRegistry's singleton management.

public class
GenericBeanDefinition

GenericBeanDefinition is a one-stop shop for declarative bean definition purposes.

public class
GenericTypeAwareAutowireCandidateResolver

Basic AutowireCandidateResolver that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g. Repository<Customer>).

pack-priv class
ImplicitlyAppearedSingletonException

Internal exception to be propagated from ConstructorResolver, passed through to the initiating DefaultSingletonBeanRegistry (without wrapping in a BeanCreationException).

public class
LookupOverride

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).

public class
ManagedArray

Tag collection class used to hold managed array elements, which may include runtime bean references (to be resolved into bean objects).

public class
ManagedList<
the element type
E
>

Tag collection class used to hold managed List elements, which may include runtime bean references (to be resolved into bean objects).

public class
ManagedMap<
the key type
K
,
the value type
V
>

Tag collection class used to hold managed Map values, which may include runtime bean references (to be resolved into bean objects).

public class
ManagedProperties

Tag class which represents a Spring-managed Properties instance that supports merging of parent/child definitions.

public class
ManagedSet<
the element type
E
>

Tag collection class used to hold managed Set values, which may include runtime bean references (to be resolved into bean objects).

public abstract class
MethodOverride

Object representing the override of a method on a managed object by the IoC container.

public class
MethodOverrides

Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime.

pack-priv class
NullBean

Internal representation of a null bean instance, e.g. for a null value returned from FactoryBean#getObject() or from a factory method.

public class
PropertiesBeanDefinitionReader

Deprecated as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementations
Bean definition reader for a simple properties format.
public class
RegisteredBean

A RegisteredBean represents a bean that has been registered with a BeanFactory, but has not necessarily been instantiated.

public class
ReplaceOverride

Extension of MethodOverride that represents an arbitrary override of a method by the IoC container.

public class
RootBeanDefinition

A root bean definition represents the merged bean definition at runtime that backs a specific bean in a Spring BeanFactory.

public class
ScopeNotActiveException

A subclass of BeanCreationException which indicates that the target scope is not active, e.g. in case of request or session scope.

public class
SimpleAutowireCandidateResolver

AutowireCandidateResolver implementation to use when no annotation support is available.

public class
SimpleBeanDefinitionRegistry

Simple implementation of the BeanDefinitionRegistry interface.

public class
SimpleInstantiationStrategy

Simple object instantiation strategy for use in a BeanFactory.

public class
StaticListableBeanFactory

Static org.springframework.beans.factory.BeanFactory implementation which allows one to register existing singleton instances programmatically.