Package org.springframework.beans.factory.config
@NonNullApi
@NonNullFields
package org.springframework.beans.factory.config
SPI interfaces and configuration-related convenience classes for bean factories.
-
ClassDescriptionSimple template superclass for
FactoryBean
implementations that creates a singleton or a prototype object, depending on a flag.Extension of theBeanFactory
interface to be implemented by bean factories that are capable of autowiring, provided that they want to expose this functionality for existing bean instances.Simple marker class for an individually autowired property value, to be added toBeanDefinition.getPropertyValues()
for a specific bean property.A BeanDefinition describes a bean instance, which has property values, constructor argument values, and further information supplied by concrete implementations.Callback for customizing a given bean definition.Holder for a BeanDefinition with name and aliases.Visitor class for traversingBeanDefinition
objects, in particular the property values and constructor argument values contained in them, resolving bean metadata values.Context object for evaluating an expression within a bean definition.Strategy interface for resolving a value by evaluating it as an expression, if applicable.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.Factory hook that allows for custom modification of new bean instances — for example, checking for marker interfaces or wrapping beans with proxies.Interface that exposes a reference to a bean name in an abstract fashion.Configuration interface to be implemented by most bean factories.Configuration interface to be implemented by most listable bean factories.Holder for constructor argument values, typically as part of a bean definition.Holder for a constructor argument value, with an optional type attribute indicating the target type of the actual constructor argument.BeanFactoryPostProcessor
implementation that allows for convenient registration of customproperty editors
.SimpleBeanFactoryPostProcessor
implementation that registers customScope(s)
with the containingConfigurableBeanFactory
.Descriptor for a specific dependency that is about to be injected.Bean factory post processor that logs a warning for@Deprecated
beans.Subinterface ofBeanPostProcessor
that adds a before-destruction callback.StringValueResolver
adapter for resolving placeholders and expressions against aConfigurableBeanFactory
.FactoryBean
which retrieves a static or non-static field value.Subinterface ofBeanPostProcessor
that adds a before-instantiation callback, and a callback after instantiation but before explicit properties are set or autowiring occurs.Simple factory for shared List instances.Simple factory for shared Map instances.Simple method invoker bean: just invoking a target method, not expecting a result to expose to the container (in contrast toMethodInvokingFactoryBean
).FactoryBean
which returns a value which is the result of a static or instance method invocation.A simple holder for a given bean name plus bean instance.AFactoryBean
implementation that returns a value which is anObjectFactory
that in turn returns a bean sourced from aBeanFactory
.Abstract base class for property resource configurers that resolve placeholders in bean definition property values.Deprecated.Allows for making a properties file from a classpath location available as Properties instance in a bean factory.Property resource configurer that overrides bean property values in an application context definition.FactoryBean
that evaluates a property path on a given target object.Deprecated.as of 5.2; useorg.springframework.context.support.PropertySourcesPlaceholderConfigurer
instead which is more flexible through taking advantage of theEnvironment
andPropertySource
mechanisms.Allows for configuration of individual bean property values from a property resource, i.e.AFactoryBean
implementation that returns a value which is a JSR-330Provider
that in turn returns a bean sourced from aBeanFactory
.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.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.Strategy interface used by aConfigurableBeanFactory
, representing a target scope to hold bean instances in.AFactoryBean
implementation that takes an interface which must have one or more methods with the signaturesMyType xxx()
orMyType xxx(MyIdType id)
(typically,MyService getService()
orMyService getService(String id)
) and creates a dynamic proxy which implements that interface, delegating to an underlyingBeanFactory
.Simple factory for shared Set instances.Interface that defines a registry for shared bean instances.Extension of theInstantiationAwareBeanPostProcessor
interface, adding a callback for predicting the eventual type of a processed bean.Holder for a typed String value.Factory for aMap
that reads from a YAML source, preserving the YAML-declared value types and their structure.Base class for YAML factories.Strategy interface used to test if properties match.Callback interface used to process the YAML parsing results.Status returned fromYamlProcessor.DocumentMatcher.matches(java.util.Properties)
.Method to use for resolving resources.Factory forProperties
that reads from a YAML source, exposing a flat structure of String property values.
PropertyPlaceholderConfigurer