SPI interfaces and configuration-related convenience classes for bean factories.
ClassDescriptionSimple template superclass for
FactoryBeanimplementations that creates a singleton or a prototype object, depending on a flag.Extension of the
BeanFactoryinterface 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 to
BeanDefinition.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 traversing
BeanDefinitionobjects, 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.Descriptor for a specific dependency that is about to be injected.Bean factory post processor that logs a warning for
BeanPostProcessorthat adds a before-destruction callback.
FactoryBeanwhich retrieves a static or non-static field value.Subinterface of
BeanPostProcessorthat 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 to
FactoryBeanwhich 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.Abstract base class for property resource configurers that resolve placeholders in bean definition property values.Deprecated.as of 5.2, along with
PropertyPlaceholderConfigurerAllows 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.
FactoryBeanthat evaluates a property path on a given target object.Deprecated.Allows for configuration of individual bean property values from a property resource, i.e.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 a
ConfigurableBeanFactory, representing a target scope to hold bean instances in.A
FactoryBeanimplementation that takes an interface which must have one or more methods with the signatures
MyType xxx(MyIdType id)(typically,
MyService getService(String id)) and creates a dynamic proxy which implements that interface, delegating to an underlying
BeanFactory.Simple factory for shared Set instances.Interface that defines a registry for shared bean instances.Extension of the
InstantiationAwareBeanPostProcessorinterface, adding a callback for predicting the eventual type of a processed bean.Holder for a typed String value.Factory for a
Mapthat 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 from
YamlProcessor.DocumentMatcher.matches(java.util.Properties).Method to use for resolving resources.Factory for
Propertiesthat reads from a YAML source, exposing a flat structure of String property values.