Top Description Interfaces Classes
[default module]

Package org.springframework.beans.factory.config

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

SPI interfaces and configuration-related convenience classes for bean factories.

Interface Summary

Modifier and TypeInterface and Description
public interface
AutowireCapableBeanFactory

Extension of the org.springframework.beans.factory.BeanFactory interface to be implemented by bean factories that are capable of autowiring, provided that they want to expose this functionality for existing bean instances.

public interface
BeanDefinition

A BeanDefinition describes a bean instance, which has property values, constructor argument values, and further information supplied by concrete implementations.

public interface
BeanDefinitionCustomizer

Callback for customizing a given bean definition.

public interface
BeanExpressionResolver

Strategy interface for resolving a value by evaluating it as an expression, if applicable.

public interface
BeanFactoryPostProcessor

Factory hook that allows for custom modification of an application context's bean definitions, adapting the bean property values of the context's underlying bean factory.

public interface
BeanPostProcessor

Factory hook that allows for custom modification of new bean instances — for example, checking for marker interfaces or wrapping beans with proxies.

public interface
BeanReference

Interface that exposes a reference to a bean name in an abstract fashion.

public interface
ConfigurableBeanFactory

Configuration interface to be implemented by most bean factories.

public interface
ConfigurableListableBeanFactory

Configuration interface to be implemented by most listable bean factories.

public interface
DestructionAwareBeanPostProcessor

Subinterface of BeanPostProcessor that adds a before-destruction callback.

public interface
InstantiationAwareBeanPostProcessor

Subinterface of BeanPostProcessor that adds a before-instantiation callback, and a callback after instantiation but before explicit properties are set or autowiring occurs.

public interface
Scope

Strategy interface used by a ConfigurableBeanFactory, representing a target scope to hold bean instances in. This allows for extending the BeanFactory's standard scopes "singleton" and "prototype" with custom further scopes, registered for a specific key.

public interface
SingletonBeanRegistry

Interface that defines a registry for shared bean instances.

public interface
SmartInstantiationAwareBeanPostProcessor

Extension of the InstantiationAwareBeanPostProcessor interface, adding a callback for predicting the eventual type of a processed bean.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractFactoryBean<
the bean type
T
>

Simple template superclass for FactoryBean implementations that creates a singleton or a prototype object, depending on a flag.

public class
AutowiredPropertyMarker

Simple marker class for an individually autowired property value, to be added to BeanDefinition#getPropertyValues() for a specific bean property.

public class
BeanDefinitionHolder

Holder for a BeanDefinition with name and aliases.

public class
BeanDefinitionVisitor

Visitor class for traversing BeanDefinition objects, in particular the property values and constructor argument values contained in them, resolving bean metadata values.

public class
BeanExpressionContext

Context object for evaluating an expression within a bean definition.

public class
ConstructorArgumentValues

Holder for constructor argument values, typically as part of a bean definition.

public class
CustomEditorConfigurer

BeanFactoryPostProcessor implementation that allows for convenient registration of custom property editors.

public class
CustomScopeConfigurer

Simple BeanFactoryPostProcessor implementation that registers custom Scope(s) with the containing ConfigurableBeanFactory.

public class
DependencyDescriptor

Descriptor for a specific dependency that is about to be injected.

public class
DeprecatedBeanWarner

Bean factory post processor that logs a warning for @Deprecated beans.

public class
EmbeddedValueResolver

StringValueResolver adapter for resolving placeholders and expressions against a ConfigurableBeanFactory.

public class
FieldRetrievingFactoryBean

FactoryBean which retrieves a static or non-static field value.

public class
ListFactoryBean

Simple factory for shared List instances.

public class
MapFactoryBean

Simple factory for shared Map instances.

public class
MethodInvokingBean

Simple method invoker bean: just invoking a target method, not expecting a result to expose to the container (in contrast to MethodInvokingFactoryBean).

public class
MethodInvokingFactoryBean

FactoryBean which returns a value which is the result of a static or instance method invocation.

public class
NamedBeanHolder<
the bean type
T
>

A simple holder for a given bean name plus bean instance.

public class
public abstract class
PlaceholderConfigurerSupport

Abstract base class for property resource configurers that resolve placeholders in bean definition property values.

public class
PreferencesPlaceholderConfigurer

Deprecated as of 5.2, along with PropertyPlaceholderConfigurer
Subclass of PropertyPlaceholderConfigurer that supports JDK 1.4's Preferences API (java.util.prefs).
public class
PropertiesFactoryBean

Allows for making a properties file from a classpath location available as Properties instance in a bean factory.

public class
PropertyOverrideConfigurer

Property resource configurer that overrides bean property values in an application context definition.

public class
PropertyPathFactoryBean

FactoryBean that evaluates a property path on a given target object.

public class
PropertyPlaceholderConfigurer

Deprecated as of 5.2; use org.springframework.context.support.PropertySourcesPlaceholderConfigurer instead which is more flexible through taking advantage of the org.springframework.core.env.Environment and org.springframework.core.env.PropertySource mechanisms.
PlaceholderConfigurerSupport subclass that resolves ${...} placeholders against local properties and/or system properties and environment variables.
public abstract class
PropertyResourceConfigurer

Allows for configuration of individual bean property values from a property resource, i.e. a properties file.

public class
ProviderCreatingFactoryBean

A org.springframework.beans.factory.FactoryBean implementation that returns a value which is a JSR-330 jakarta.inject.Provider that in turn returns a bean sourced from a org.springframework.beans.factory.BeanFactory.

public class
RuntimeBeanNameReference

Immutable placeholder class used for a property value object when it's a reference to another bean name in the factory, to be resolved at runtime.

public class
RuntimeBeanReference

Immutable placeholder class used for a property value object when it's a reference to another bean in the factory, to be resolved at runtime.

public class
ServiceLocatorFactoryBean

A FactoryBean implementation that takes an interface which must have one or more methods with the signatures MyType xxx() or MyType xxx(MyIdType id) (typically, MyService getService() or MyService getService(String id)) and creates a dynamic proxy which implements that interface, delegating to an underlying org.springframework.beans.factory.BeanFactory.

public class
SetFactoryBean

Simple factory for shared Set instances.

public class
TypedStringValue

Holder for a typed String value.

public class
YamlMapFactoryBean

Factory for a Map that reads from a YAML source, preserving the YAML-declared value types and their structure.

public abstract class
YamlProcessor

Base class for YAML factories.

public class
YamlPropertiesFactoryBean

Factory for java.util.Properties that reads from a YAML source, exposing a flat structure of String property values.