Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABSTAIN - Enum constant in enum class org.springframework.beans.factory.config.YamlProcessor.MatchStatus
-
The matcher should not be considered.
- ABSTRACT_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ABSTRACT_KEY - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Special key to distinguish
owner.(abstract)=true
Default is "false". - AbstractAutowireCapableBeanFactory - Class in org.springframework.beans.factory.support
-
Abstract bean factory superclass that implements default bean creation, with the full capabilities specified by the
RootBeanDefinition
class. - AbstractAutowireCapableBeanFactory() - Constructor for class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Create a new AbstractAutowireCapableBeanFactory.
- AbstractAutowireCapableBeanFactory(BeanFactory) - Constructor for class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Create a new AbstractAutowireCapableBeanFactory with the given parent.
- AbstractBeanDefinition - Class in org.springframework.beans.factory.support
-
Base class for concrete, full-fledged
BeanDefinition
classes, factoring out common properties ofGenericBeanDefinition
,RootBeanDefinition
, andChildBeanDefinition
. - AbstractBeanDefinition() - Constructor for class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Create a new AbstractBeanDefinition with default settings.
- AbstractBeanDefinition(BeanDefinition) - Constructor for class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Create a new AbstractBeanDefinition as a deep copy of the given bean definition.
- AbstractBeanDefinition(ConstructorArgumentValues, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Create a new AbstractBeanDefinition with the given constructor argument values and property values.
- AbstractBeanDefinitionParser - Class in org.springframework.beans.factory.xml
-
Abstract
BeanDefinitionParser
implementation providing a number of convenience methods and atemplate method
that subclasses must override to provide the actual parsing logic. - AbstractBeanDefinitionParser() - Constructor for class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- AbstractBeanDefinitionReader - Class in org.springframework.beans.factory.support
-
Abstract base class for bean definition readers which implement the
BeanDefinitionReader
interface. - AbstractBeanDefinitionReader(BeanDefinitionRegistry) - Constructor for class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Create a new AbstractBeanDefinitionReader for the given bean factory.
- AbstractBeanFactory - Class in org.springframework.beans.factory.support
-
Abstract base class for
BeanFactory
implementations, providing the full capabilities of theConfigurableBeanFactory
SPI. - AbstractBeanFactory() - Constructor for class org.springframework.beans.factory.support.AbstractBeanFactory
-
Create a new AbstractBeanFactory.
- AbstractBeanFactory(BeanFactory) - Constructor for class org.springframework.beans.factory.support.AbstractBeanFactory
-
Create a new AbstractBeanFactory with the given parent.
- AbstractComponentDefinition - Class in org.springframework.beans.factory.parsing
-
Base implementation of
ComponentDefinition
that provides a basic implementation ofAbstractComponentDefinition.getDescription()
which delegates toComponentDefinition.getName()
. - AbstractComponentDefinition() - Constructor for class org.springframework.beans.factory.parsing.AbstractComponentDefinition
- AbstractFactoryBean<T> - Class in org.springframework.beans.factory.config
-
Simple template superclass for
FactoryBean
implementations that creates a singleton or a prototype object, depending on a flag. - AbstractFactoryBean() - Constructor for class org.springframework.beans.factory.config.AbstractFactoryBean
- AbstractNestablePropertyAccessor - Class in org.springframework.beans
-
A basic
ConfigurablePropertyAccessor
that provides the necessary infrastructure for all typical use cases. - AbstractNestablePropertyAccessor() - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new empty accessor.
- AbstractNestablePropertyAccessor(boolean) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new empty accessor.
- AbstractNestablePropertyAccessor(Class<?>) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new accessor, wrapping a new instance of the specified class.
- AbstractNestablePropertyAccessor(Object) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new accessor for the given object.
- AbstractNestablePropertyAccessor(Object, String, Object) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new accessor for the given object, registering a nested path that the object is in.
- AbstractNestablePropertyAccessor(Object, String, AbstractNestablePropertyAccessor) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new accessor for the given object, registering a nested path that the object is in.
- AbstractNestablePropertyAccessor.PropertyHandler - Class in org.springframework.beans
-
A handler for a specific property.
- AbstractNestablePropertyAccessor.PropertyTokenHolder - Class in org.springframework.beans
-
Holder class used to store property tokens.
- AbstractPropertyAccessor - Class in org.springframework.beans
-
Abstract implementation of the
PropertyAccessor
interface. - AbstractPropertyAccessor() - Constructor for class org.springframework.beans.AbstractPropertyAccessor
- AbstractServiceLoaderBasedFactoryBean - Class in org.springframework.beans.factory.serviceloader
-
Abstract base class for FactoryBeans operating on the JDK 1.6
ServiceLoader
facility. - AbstractServiceLoaderBasedFactoryBean() - Constructor for class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean
- AbstractSimpleBeanDefinitionParser - Class in org.springframework.beans.factory.xml
-
Convenient base class for when there exists a one-to-one mapping between attribute names on the element that is to be parsed and the property names on the
Class
being configured. - AbstractSimpleBeanDefinitionParser() - Constructor for class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
- AbstractSingleBeanDefinitionParser - Class in org.springframework.beans.factory.xml
-
Base class for those
BeanDefinitionParser
implementations that need to parse and define just a singleBeanDefinition
. - AbstractSingleBeanDefinitionParser() - Constructor for class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- acceptClassLoader(ClassLoader) - Static method in class org.springframework.beans.CachedIntrospectionResults
-
Accept the given ClassLoader as cache-safe, even if its classes would not qualify as cache-safe in this CachedIntrospectionResults class.
- actualName - Variable in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyTokenHolder
- add(String, Object) - Method in class org.springframework.beans.MutablePropertyValues
-
Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).
- addArgumentValues(ConstructorArgumentValues) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Copy all given argument values into this object, using separate holder instances to keep the values independent of the original object.
- addAutowiredProperty(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Add an autowired marker for the specified property on the specified bean.
- addBean(String, Object) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
-
Add a new singleton bean.
- addBeanPostProcessor(BeanPostProcessor) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Add a new BeanPostProcessor that will get applied to beans created by this factory.
- addBeanPostProcessor(BeanPostProcessor) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- addBeanPostProcessors(Collection<? extends BeanPostProcessor>) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Add new BeanPostProcessors that will get applied to beans created by this factory.
- addConstructorArgReference(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Add a reference to a named bean as a constructor arg.
- addConstructorArgValue(Object) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Add an indexed constructor arg value.
- addDependsOn(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Append the specified bean name to the list of beans that this definition depends on.
- addDestroyAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
-
Add a destroy annotation to check for, indicating destruction methods to call when the context is shutting down.
- addEmbeddedValueResolver(StringValueResolver) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Add a String resolver for embedded values such as annotation attributes.
- addEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- addGenericArgumentValue(Object) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Add a generic argument value to be matched by type.
- addGenericArgumentValue(Object, String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Add a generic argument value to be matched by type.
- addGenericArgumentValue(ConstructorArgumentValues.ValueHolder) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Add a generic argument value to be matched by type or name (if available).
- addIndexedArgumentValue(int, Object) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Add an argument value for the given index in the constructor argument list.
- addIndexedArgumentValue(int, Object, String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Add an argument value for the given index in the constructor argument list.
- addIndexedArgumentValue(int, ConstructorArgumentValues.ValueHolder) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Add an argument value for the given index in the constructor argument list.
- addInitAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
-
Add an init annotation to check for, indicating initialization methods to call after configuration of a bean.
- addInitializer(MethodReference) - Method in interface org.springframework.beans.factory.aot.BeanFactoryInitializationCode
-
Add an initializer method call.
- addInstancePostProcessor(MethodReference) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCode
-
Add an instance post processor method call to the registration code.
- addMetadataAttribute(BeanMetadataAttribute) - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
-
Add the given BeanMetadataAttribute to this accessor's set of attributes.
- addNestedComponent(ComponentDefinition) - Method in class org.springframework.beans.factory.parsing.CompositeComponentDefinition
-
Add the given component as nested element of this composite component.
- addOverride(MethodOverride) - Method in class org.springframework.beans.factory.support.MethodOverrides
-
Add the given method override.
- addOverrides(MethodOverrides) - Method in class org.springframework.beans.factory.support.MethodOverrides
-
Copy all given method overrides into this object.
- addPropertyEditorRegistrar(PropertyEditorRegistrar) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Add a PropertyEditorRegistrar to be applied to all bean creation processes.
- addPropertyEditorRegistrar(PropertyEditorRegistrar) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- addPropertyReference(String, String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Add a reference to the specified bean name under the property specified.
- addPropertyValue(String, Object) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Add the supplied property value under the given property name.
- addPropertyValue(String, Object) - Method in class org.springframework.beans.MutablePropertyValues
-
Overloaded version of
addPropertyValue
that takes a property name and a property value. - addPropertyValue(PropertyValue) - Method in class org.springframework.beans.MutablePropertyValues
-
Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).
- addPropertyValues(Map<?, ?>) - Method in class org.springframework.beans.MutablePropertyValues
-
Add all property values from the given Map.
- addPropertyValues(PropertyValues) - Method in class org.springframework.beans.MutablePropertyValues
-
Copy all given PropertyValues into this object.
- addQualifier(AutowireCandidateQualifier) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Register a qualifier to be used for autowire candidate resolution, keyed by the qualifier's type name.
- addQualifierType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Register the given type to be used as a qualifier when autowiring.
- addRelatedCause(Throwable) - Method in exception org.springframework.beans.factory.BeanCreationException
-
Add a related cause to this bean creation exception, not being a direct cause of the failure but having occurred earlier in the creation of the same bean instance.
- addScope(String, Scope) - Method in class org.springframework.beans.factory.config.CustomScopeConfigurer
-
Add the given scope to this configurer's map of scopes.
- addSingleton(String, Object) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Add the given singleton object to the singleton cache of this factory.
- addSingletonFactory(String, ObjectFactory<?>) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Add the given singleton factory for building the specified singleton if necessary.
- addTypeIdentifier(String) - Method in class org.springframework.beans.factory.support.ReplaceOverride
-
Add a fragment of a class string, like "Exception" or "java.lang.Exc", to identify a parameter type.
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Eagerly create the singleton instance, if necessary.
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.MethodInvokingBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.MethodInvokingFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
-
Deprecated.This implementation eagerly fetches the Preferences instances for the required system and user tree nodes.
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.ProviderCreatingFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.YamlMapFactoryBean
- afterPropertiesSet() - Method in class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
- afterPropertiesSet() - Method in interface org.springframework.beans.factory.InitializingBean
-
Invoked by the containing
BeanFactory
after it has set all bean properties and satisfiedBeanFactoryAware
,ApplicationContextAware
etc. - afterPropertiesSet() - Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Check that a
BeanFactory
has been set. - afterPrototypeCreation(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Callback after prototype creation.
- afterSingletonCreation(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Callback after singleton creation.
- afterSingletonsInstantiated() - Method in interface org.springframework.beans.factory.SmartInitializingSingleton
-
Invoked right at the end of the singleton pre-instantiation phase, with a guarantee that all regular singleton beans have been created already.
- ALIAS_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- ALIAS_ELEMENT - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- AliasDefinition - Class in org.springframework.beans.factory.parsing
-
Representation of an alias that has been registered during the parsing process.
- AliasDefinition(String, String) - Constructor for class org.springframework.beans.factory.parsing.AliasDefinition
-
Create a new AliasDefinition.
- AliasDefinition(String, String, Object) - Constructor for class org.springframework.beans.factory.parsing.AliasDefinition
-
Create a new AliasDefinition.
- aliasRegistered(AliasDefinition) - Method in class org.springframework.beans.factory.parsing.EmptyReaderEventListener
- aliasRegistered(AliasDefinition) - Method in interface org.springframework.beans.factory.parsing.ReaderEventListener
-
Notification that the given alias has been registered.
- allowAliasOverriding() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Only allows alias overriding if bean definition overriding is allowed.
- alwaysCreateNewCollection() - Method in class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Return whether to always create a new Collection, even if the type of the passed-in Collection already matches.
- alwaysCreateNewMap() - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
Return whether to always create a new Map, even if the type of the passed-in Map already matches.
- andThen(ThrowingBiFunction<RegisteredBean, ? super T, ? extends V>) - Method in interface org.springframework.beans.factory.support.InstanceSupplier
-
Return a composed instance supplier that first obtains the instance from this supplier and then applies the
after
function to obtain the result. - AnnotatedBeanDefinition - Interface in org.springframework.beans.factory.annotation
-
Extended
BeanDefinition
interface that exposesAnnotationMetadata
about its bean class - without requiring the class to be loaded yet. - AnnotatedGenericBeanDefinition - Class in org.springframework.beans.factory.annotation
-
Extension of the
GenericBeanDefinition
class, adding support for annotation metadata exposed through theAnnotatedBeanDefinition
interface. - AnnotatedGenericBeanDefinition(Class<?>) - Constructor for class org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition
-
Create a new AnnotatedGenericBeanDefinition for the given bean class.
- AnnotatedGenericBeanDefinition(AnnotationMetadata) - Constructor for class org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition
-
Create a new AnnotatedGenericBeanDefinition for the given annotation metadata, allowing for ASM-based processing and avoidance of early loading of the bean class.
- AnnotatedGenericBeanDefinition(AnnotationMetadata, MethodMetadata) - Constructor for class org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition
-
Create a new AnnotatedGenericBeanDefinition for the given annotation metadata, based on an annotated class and a factory method on that class.
- AnnotationBeanWiringInfoResolver - Class in org.springframework.beans.factory.annotation
-
BeanWiringInfoResolver
that uses the Configurable annotation to identify which classes need autowiring. - AnnotationBeanWiringInfoResolver() - Constructor for class org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver
- AotServices<T> - Class in org.springframework.beans.factory.aot
-
A collection of AOT services that can be
loaded
from aSpringFactoriesLoader
or obtained from aListableBeanFactory
. - AotServices.Loader - Class in org.springframework.beans.factory.aot
-
Loader class used to actually load the services.
- AotServices.Source - Enum Class in org.springframework.beans.factory.aot
-
Sources from which services were obtained.
- appendHintMessage(StringBuilder) - Method in class org.springframework.beans.PropertyMatches
- applyBeanPostProcessorsAfterInitialization(Object, String) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Deprecated.
- applyBeanPostProcessorsAfterInitialization(Object, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Deprecated.
- applyBeanPostProcessorsBeforeInitialization(Object, String) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Deprecated.as of 6.1, in favor of implicit post-processing through
AutowireCapableBeanFactory.initializeBean(Object, String)
- applyBeanPostProcessorsBeforeInitialization(Object, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Deprecated.
- applyBeanPostProcessorsBeforeInstantiation(Class<?>, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Apply InstantiationAwareBeanPostProcessors to the specified bean definition (by class and name), invoking their
postProcessBeforeInstantiation
methods. - applyBeanPropertyValues(Object, String) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Apply the property values of the bean definition with the given name to the given bean instance.
- applyBeanPropertyValues(Object, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- applyCustomizers(BeanDefinitionCustomizer...) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Apply the given customizers to the underlying bean definition.
- applyDefaults(BeanDefinitionDefaults) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Apply the provided default values to this bean.
- applyMergedBeanDefinitionPostProcessors(RootBeanDefinition, Class<?>, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Apply MergedBeanDefinitionPostProcessors to the specified bean definition, invoking their
postProcessMergedBeanDefinition
methods. - applyPropertyToBeanDefinition(String, Object) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
- applyPropertyValue(ConfigurableListableBeanFactory, String, String, String) - Method in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
-
Apply the given property value to the corresponding bean.
- applyPropertyValues(String, BeanDefinition, BeanWrapper, PropertyValues) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Apply the given property values, resolving any runtime references to other beans in this bean factory.
- applyTo(GenerationContext, BeanFactoryInitializationCode) - Method in interface org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution
-
Apply this contribution to the given
BeanFactoryInitializationCode
. - applyTo(GenerationContext, BeanRegistrationCode) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationAotContribution
-
Apply this contribution to the given
BeanRegistrationCode
. - ARG_TYPE_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ARG_TYPE_MATCH_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ArgumentConvertingMethodInvoker - Class in org.springframework.beans.support
-
Subclass of
MethodInvoker
that tries to convert the given arguments for the actual target method via aTypeConverter
. - ArgumentConvertingMethodInvoker() - Constructor for class org.springframework.beans.support.ArgumentConvertingMethodInvoker
- ARRAY_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- asList() - Method in class org.springframework.beans.factory.aot.AotServices
-
Return the AOT services as a
List
. - autowire() - Element in annotation interface org.springframework.beans.factory.annotation.Configurable
-
Are dependencies to be injected via autowiring?
- autowire(Class<?>, int, boolean) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Instantiate a new bean instance of the given class with the specified autowire strategy.
- autowire(Class<?>, int, boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- Autowire - Enum Class in org.springframework.beans.factory.annotation
-
Enumeration determining autowiring status: that is, whether a bean should have its dependencies automatically injected by the Spring container using setter injection.
- AUTOWIRE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- AUTOWIRE_AUTODETECT - Static variable in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Deprecated.as of Spring 3.0: If you are using mixed autowiring strategies, prefer annotation-based autowiring for clearer demarcation of autowiring needs.
- AUTOWIRE_AUTODETECT - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Deprecated.as of Spring 3.0: If you are using mixed autowiring strategies, use annotation-based autowiring for clearer demarcation of autowiring needs.
- AUTOWIRE_AUTODETECT_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- AUTOWIRE_BY_NAME - Static variable in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Constant that indicates autowiring bean properties by name (applying to all bean property setters).
- AUTOWIRE_BY_NAME - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates autowiring bean properties by name.
- AUTOWIRE_BY_NAME - Static variable in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Constant that indicates autowiring bean properties by name.
- AUTOWIRE_BY_NAME_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- AUTOWIRE_BY_TYPE - Static variable in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Constant that indicates autowiring bean properties by type (applying to all bean property setters).
- AUTOWIRE_BY_TYPE - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates autowiring bean properties by type.
- AUTOWIRE_BY_TYPE - Static variable in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Constant that indicates autowiring bean properties by type.
- AUTOWIRE_BY_TYPE_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- AUTOWIRE_CANDIDATE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- AUTOWIRE_CONSTRUCTOR - Static variable in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Constant that indicates autowiring the greediest constructor that can be satisfied (involves resolving the appropriate constructor).
- AUTOWIRE_CONSTRUCTOR - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates autowiring a constructor.
- AUTOWIRE_CONSTRUCTOR_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- AUTOWIRE_NO - Static variable in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Constant that indicates no externally defined autowiring.
- AUTOWIRE_NO - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates no external autowiring at all.
- AUTOWIRE_NO_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- autowireBean(Object) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Populate the given bean instance through applying after-instantiation callbacks and bean property post-processing (e.g.
- autowireBean(Object) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- autowireBeanProperties(Object, int, boolean) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Autowire the bean properties of the given bean instance by name or type.
- autowireBeanProperties(Object, int, boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- autowireByName(String, AbstractBeanDefinition, BeanWrapper, MutablePropertyValues) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Fill in any missing property values with references to other beans in this factory if autowire is set to "byName".
- autowireByType(String, AbstractBeanDefinition, BeanWrapper, MutablePropertyValues) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Abstract method defining "autowire by type" (bean properties by type) behavior.
- AutowireCandidateQualifier - Class in org.springframework.beans.factory.support
-
Qualifier for resolving autowire candidates.
- AutowireCandidateQualifier(Class<?>) - Constructor for class org.springframework.beans.factory.support.AutowireCandidateQualifier
-
Construct a qualifier to match against an annotation of the given type.
- AutowireCandidateQualifier(Class<?>, Object) - Constructor for class org.springframework.beans.factory.support.AutowireCandidateQualifier
-
Construct a qualifier to match against an annotation of the given type whose
value
attribute also matches the specified value. - AutowireCandidateQualifier(String) - Constructor for class org.springframework.beans.factory.support.AutowireCandidateQualifier
-
Construct a qualifier to match against an annotation of the given type name.
- AutowireCandidateQualifier(String, Object) - Constructor for class org.springframework.beans.factory.support.AutowireCandidateQualifier
-
Construct a qualifier to match against an annotation of the given type name whose
value
attribute also matches the specified value. - AutowireCandidateResolver - Interface in org.springframework.beans.factory.support
-
Strategy interface for determining whether a specific bean definition qualifies as an autowire candidate for a specific dependency.
- AutowireCapableBeanFactory - Interface in org.springframework.beans.factory.config
-
Extension of the
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. - autowireConstructor(String, RootBeanDefinition, Constructor<?>[], Object[]) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
"autowire constructor" (with constructor arguments by type) behavior.
- Autowired - Annotation Interface in org.springframework.beans.factory.annotation
-
Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.
- AutowiredAnnotationBeanPostProcessor - Class in org.springframework.beans.factory.annotation
-
BeanPostProcessor
implementation that autowires annotated fields, setter methods, and arbitrary config methods. - AutowiredAnnotationBeanPostProcessor() - Constructor for class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Create a new
AutowiredAnnotationBeanPostProcessor
for Spring's standard@Autowired
and@Value
annotations. - AutowiredArguments - Interface in org.springframework.beans.factory.aot
-
Resolved arguments to be autowired.
- AutowiredArgumentsCodeGenerator - Class in org.springframework.beans.factory.aot
-
Code generator to apply
AutowiredArguments
. - AutowiredArgumentsCodeGenerator(Class<?>, Executable) - Constructor for class org.springframework.beans.factory.aot.AutowiredArgumentsCodeGenerator
- AutowiredFieldValueResolver - Class in org.springframework.beans.factory.aot
-
Resolver used to support the autowiring of fields.
- AutowiredMethodArgumentsResolver - Class in org.springframework.beans.factory.aot
-
Resolver used to support the autowiring of methods.
- AutowiredPropertyMarker - Class in org.springframework.beans.factory.config
-
Simple marker class for an individually autowired property value, to be added to
BeanDefinition.getPropertyValues()
for a specific bean property. - Aware - Interface in org.springframework.beans.factory
-
A marker superinterface indicating that a bean is eligible to be notified by the Spring container of a particular framework object through a callback-style method.
B
- BASE_NAME_SEPARATOR - Static variable in class org.springframework.beans.propertyeditors.ResourceBundleEditor
-
The separator used to distinguish between the base name and the locale (if any) when
converting from a String
. - bean(Class<?>) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Define an inner bean definition.
- bean(Class<?>, Object...) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Define an inner bean definition.
- BEAN_DEFINITION_VARIABLE - Static variable in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
The variable name to used when creating the bean definition.
- BEAN_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- BEAN_ELEMENT - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- BEAN_FACTORY - Enum constant in enum class org.springframework.beans.factory.aot.AotServices.Source
-
An AOT service loaded from a
BeanFactory
. - BEAN_FACTORY_VARIABLE - Static variable in interface org.springframework.beans.factory.aot.BeanFactoryInitializationCode
-
The recommended variable name to use to refer to the bean factory.
- BEAN_REF_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- BeanClassLoaderAware - Interface in org.springframework.beans.factory
-
Callback that allows a bean to be aware of the bean
class loader
; that is, the class loader used by the present bean factory to load bean classes. - BeanComponentDefinition - Class in org.springframework.beans.factory.parsing
-
ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.
- BeanComponentDefinition(BeanDefinitionHolder) - Constructor for class org.springframework.beans.factory.parsing.BeanComponentDefinition
-
Create a new BeanComponentDefinition for the given bean.
- BeanComponentDefinition(BeanDefinition, String) - Constructor for class org.springframework.beans.factory.parsing.BeanComponentDefinition
-
Create a new BeanComponentDefinition for the given bean.
- BeanComponentDefinition(BeanDefinition, String, String[]) - Constructor for class org.springframework.beans.factory.parsing.BeanComponentDefinition
-
Create a new BeanComponentDefinition for the given bean.
- BeanConfigurerSupport - Class in org.springframework.beans.factory.wiring
-
Convenient base class for bean configurers that can perform Dependency Injection on objects (however they may be created).
- BeanConfigurerSupport() - Constructor for class org.springframework.beans.factory.wiring.BeanConfigurerSupport
- BeanCreationException - Exception in org.springframework.beans.factory
-
Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.
- BeanCreationException(String) - Constructor for exception org.springframework.beans.factory.BeanCreationException
-
Create a new BeanCreationException.
- BeanCreationException(String, String) - Constructor for exception org.springframework.beans.factory.BeanCreationException
-
Create a new BeanCreationException.
- BeanCreationException(String, String, String) - Constructor for exception org.springframework.beans.factory.BeanCreationException
-
Create a new BeanCreationException.
- BeanCreationException(String, String, String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanCreationException
-
Create a new BeanCreationException.
- BeanCreationException(String, String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanCreationException
-
Create a new BeanCreationException.
- BeanCreationException(String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanCreationException
-
Create a new BeanCreationException.
- BeanCreationNotAllowedException - Exception in org.springframework.beans.factory
-
Exception thrown in case of a bean being requested despite bean creation currently not being allowed (for example, during the shutdown phase of a bean factory).
- BeanCreationNotAllowedException(String, String) - Constructor for exception org.springframework.beans.factory.BeanCreationNotAllowedException
-
Create a new BeanCreationNotAllowedException.
- BeanCurrentlyInCreationException - Exception in org.springframework.beans.factory
-
Exception thrown in case of a reference to a bean that's currently in creation.
- BeanCurrentlyInCreationException(String) - Constructor for exception org.springframework.beans.factory.BeanCurrentlyInCreationException
-
Create a new BeanCurrentlyInCreationException, with a default error message that indicates a circular reference.
- BeanCurrentlyInCreationException(String, String) - Constructor for exception org.springframework.beans.factory.BeanCurrentlyInCreationException
-
Create a new BeanCurrentlyInCreationException.
- BeanDefinition - Interface in org.springframework.beans.factory.config
-
A BeanDefinition describes a bean instance, which has property values, constructor argument values, and further information supplied by concrete implementations.
- BeanDefinitionBuilder - Class in org.springframework.beans.factory.support
-
Programmatic means of constructing
BeanDefinitions
using the builder pattern. - BeanDefinitionCustomizer - Interface in org.springframework.beans.factory.config
-
Callback for customizing a given bean definition.
- BeanDefinitionDecorator - Interface in org.springframework.beans.factory.xml
-
Interface used by the
DefaultBeanDefinitionDocumentReader
to handle custom, nested (directly under a<bean>
) tags. - BeanDefinitionDefaults - Class in org.springframework.beans.factory.support
-
A simple holder for
BeanDefinition
property defaults. - BeanDefinitionDefaults() - Constructor for class org.springframework.beans.factory.support.BeanDefinitionDefaults
- BeanDefinitionDocumentReader - Interface in org.springframework.beans.factory.xml
-
SPI for parsing an XML document that contains Spring bean definitions.
- BeanDefinitionHolder - Class in org.springframework.beans.factory.config
-
Holder for a BeanDefinition with name and aliases.
- BeanDefinitionHolder(BeanDefinitionHolder) - Constructor for class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Copy constructor: Create a new BeanDefinitionHolder with the same contents as the given BeanDefinitionHolder instance.
- BeanDefinitionHolder(BeanDefinition, String) - Constructor for class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Create a new BeanDefinitionHolder.
- BeanDefinitionHolder(BeanDefinition, String, String[]) - Constructor for class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Create a new BeanDefinitionHolder.
- BeanDefinitionOverrideException - Exception in org.springframework.beans.factory.support
-
Subclass of
BeanDefinitionStoreException
indicating an invalid override attempt: typically registering a new definition for the same bean name whileDefaultListableBeanFactory.isAllowBeanDefinitionOverriding()
isfalse
. - BeanDefinitionOverrideException(String, BeanDefinition, BeanDefinition) - Constructor for exception org.springframework.beans.factory.support.BeanDefinitionOverrideException
-
Create a new BeanDefinitionOverrideException for the given new and existing definition.
- BeanDefinitionParser - Interface in org.springframework.beans.factory.xml
-
Interface used by the
DefaultBeanDefinitionDocumentReader
to handle custom, top-level (directly under<beans/>
) tags. - BeanDefinitionParserDelegate - Class in org.springframework.beans.factory.xml
-
Stateful delegate class used to parse XML bean definitions.
- BeanDefinitionParserDelegate(XmlReaderContext) - Constructor for class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Create a new BeanDefinitionParserDelegate associated with the supplied
XmlReaderContext
. - BeanDefinitionParsingException - Exception in org.springframework.beans.factory.parsing
-
Exception thrown when a bean definition reader encounters an error during the parsing process.
- BeanDefinitionParsingException(Problem) - Constructor for exception org.springframework.beans.factory.parsing.BeanDefinitionParsingException
-
Create a new BeanDefinitionParsingException.
- BeanDefinitionReader - Interface in org.springframework.beans.factory.support
-
Simple interface for bean definition readers that specifies load methods with
Resource
andString
location parameters. - BeanDefinitionReaderUtils - Class in org.springframework.beans.factory.support
-
Utility methods that are useful for bean definition reader implementations.
- BeanDefinitionReaderUtils() - Constructor for class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
- BeanDefinitionRegistry - Interface in org.springframework.beans.factory.support
-
Interface for registries that hold bean definitions, for example RootBeanDefinition and ChildBeanDefinition instances.
- BeanDefinitionRegistryPostProcessor - Interface in org.springframework.beans.factory.support
-
Extension to the standard
BeanFactoryPostProcessor
SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in. - BeanDefinitionStoreException - Exception in org.springframework.beans.factory
-
Exception thrown when a BeanFactory encounters an invalid bean definition: e.g.
- BeanDefinitionStoreException(String) - Constructor for exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, String) - Constructor for exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, String, String) - Constructor for exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, String, String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Create a new BeanDefinitionStoreException.
- BeanDefinitionStoreException(String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Create a new BeanDefinitionStoreException.
- BeanDefinitionValidationException - Exception in org.springframework.beans.factory.support
-
Exception thrown when the validation of a bean definition failed.
- BeanDefinitionValidationException(String) - Constructor for exception org.springframework.beans.factory.support.BeanDefinitionValidationException
-
Create a new BeanDefinitionValidationException with the specified message.
- BeanDefinitionValidationException(String, Throwable) - Constructor for exception org.springframework.beans.factory.support.BeanDefinitionValidationException
-
Create a new BeanDefinitionValidationException with the specified message and root cause.
- BeanDefinitionValueResolver - Class in org.springframework.beans.factory.support
-
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.
- BeanDefinitionValueResolver(AbstractAutowireCapableBeanFactory, String, BeanDefinition) - Constructor for class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Create a BeanDefinitionValueResolver for the given BeanFactory and BeanDefinition using a default
TypeConverter
. - BeanDefinitionValueResolver(AbstractAutowireCapableBeanFactory, String, BeanDefinition, TypeConverter) - Constructor for class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Create a BeanDefinitionValueResolver for the given BeanFactory and BeanDefinition, using the given
TypeConverter
. - BeanDefinitionVisitor - Class in org.springframework.beans.factory.config
-
Visitor class for traversing
BeanDefinition
objects, in particular the property values and constructor argument values contained in them, resolving bean metadata values. - BeanDefinitionVisitor() - Constructor for class org.springframework.beans.factory.config.BeanDefinitionVisitor
-
Create a new BeanDefinitionVisitor for subclassing.
- BeanDefinitionVisitor(StringValueResolver) - Constructor for class org.springframework.beans.factory.config.BeanDefinitionVisitor
-
Create a new BeanDefinitionVisitor, applying the specified value resolver to all bean metadata values.
- BeanEntry - Class in org.springframework.beans.factory.parsing
-
ParseState
entry representing a bean definition. - BeanEntry(String) - Constructor for class org.springframework.beans.factory.parsing.BeanEntry
-
Create a new
BeanEntry
instance. - BeanExpressionContext - Class in org.springframework.beans.factory.config
-
Context object for evaluating an expression within a bean definition.
- BeanExpressionContext(ConfigurableBeanFactory, Scope) - Constructor for class org.springframework.beans.factory.config.BeanExpressionContext
- BeanExpressionException - Exception in org.springframework.beans.factory
-
Exception that indicates an expression evaluation attempt having failed.
- BeanExpressionException(String) - Constructor for exception org.springframework.beans.factory.BeanExpressionException
-
Create a new BeanExpressionException with the specified message.
- BeanExpressionException(String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanExpressionException
-
Create a new BeanExpressionException with the specified message and root cause.
- BeanExpressionResolver - Interface in org.springframework.beans.factory.config
-
Strategy interface for resolving a value by evaluating it as an expression, if applicable.
- BeanFactory - Interface in org.springframework.beans.factory
-
The root interface for accessing a Spring bean container.
- BeanFactoryAnnotationUtils - Class in org.springframework.beans.factory.annotation
-
Convenience methods performing bean lookups related to Spring-specific annotations, for example Spring's
@Qualifier
annotation. - BeanFactoryAnnotationUtils() - Constructor for class org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils
- BeanFactoryAware - Interface in org.springframework.beans.factory
-
Interface to be implemented by beans that wish to be aware of their owning
BeanFactory
. - BeanFactoryInitializationAotContribution - Interface in org.springframework.beans.factory.aot
-
AOT contribution from a
BeanFactoryInitializationAotProcessor
used to initialize a bean factory. - BeanFactoryInitializationAotProcessor - Interface in org.springframework.beans.factory.aot
-
AOT processor that makes bean factory initialization contributions by processing
ConfigurableListableBeanFactory
instances. - BeanFactoryInitializationCode - Interface in org.springframework.beans.factory.aot
-
Interface that can be used to configure the code that will be generated to perform bean factory initialization.
- BeanFactoryPostProcessor - Interface in org.springframework.beans.factory.config
-
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.
- BeanFactoryUtils - Class in org.springframework.beans.factory
-
Convenience methods operating on bean factories, in particular on the
ListableBeanFactory
interface. - BeanFactoryUtils() - Constructor for class org.springframework.beans.factory.BeanFactoryUtils
- BeanInfoFactory - Interface in org.springframework.beans
-
Strategy interface for creating
BeanInfo
instances for Spring beans. - BeanInitializationException - Exception in org.springframework.beans.factory
-
Exception that a bean implementation is suggested to throw if its own factory-aware initialization code fails.
- BeanInitializationException(String) - Constructor for exception org.springframework.beans.factory.BeanInitializationException
-
Create a new BeanInitializationException with the specified message.
- BeanInitializationException(String, Throwable) - Constructor for exception org.springframework.beans.factory.BeanInitializationException
-
Create a new BeanInitializationException with the specified message and root cause.
- BeanInstanceSupplier<T> - Class in org.springframework.beans.factory.aot
-
Specialized
InstanceSupplier
that provides the factoryMethod
used to instantiate the underlying bean instance, if any. - BeanInstantiationException - Exception in org.springframework.beans
-
Exception thrown when instantiation of a bean failed.
- BeanInstantiationException(Class<?>, String) - Constructor for exception org.springframework.beans.BeanInstantiationException
-
Create a new BeanInstantiationException.
- BeanInstantiationException(Class<?>, String, Throwable) - Constructor for exception org.springframework.beans.BeanInstantiationException
-
Create a new BeanInstantiationException.
- BeanInstantiationException(Constructor<?>, String, Throwable) - Constructor for exception org.springframework.beans.BeanInstantiationException
-
Create a new BeanInstantiationException.
- BeanInstantiationException(Method, String, Throwable) - Constructor for exception org.springframework.beans.BeanInstantiationException
-
Create a new BeanInstantiationException.
- BeanIsAbstractException - Exception in org.springframework.beans.factory
-
Exception thrown when a bean instance has been requested for a bean definition which has been marked as abstract.
- BeanIsAbstractException(String) - Constructor for exception org.springframework.beans.factory.BeanIsAbstractException
-
Create a new BeanIsAbstractException.
- BeanIsNotAFactoryException - Exception in org.springframework.beans.factory
-
Exception thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name.
- BeanIsNotAFactoryException(String, Class<?>) - Constructor for exception org.springframework.beans.factory.BeanIsNotAFactoryException
-
Create a new BeanIsNotAFactoryException.
- BeanMetadataAttribute - Class in org.springframework.beans
-
Holder for a key-value style attribute that is part of a bean definition.
- BeanMetadataAttribute(String, Object) - Constructor for class org.springframework.beans.BeanMetadataAttribute
-
Create a new AttributeValue instance.
- BeanMetadataAttributeAccessor - Class in org.springframework.beans
-
Extension of
AttributeAccessorSupport
, holding attributes asBeanMetadataAttribute
objects in order to keep track of the definition source. - BeanMetadataAttributeAccessor() - Constructor for class org.springframework.beans.BeanMetadataAttributeAccessor
- BeanMetadataElement - Interface in org.springframework.beans
-
Interface to be implemented by bean metadata elements that carry a configuration source object.
- BeanNameAware - Interface in org.springframework.beans.factory
-
Interface to be implemented by beans that want to be aware of their bean name in a bean factory.
- BeanNameGenerator - Interface in org.springframework.beans.factory.support
-
Strategy interface for generating bean names for bean definitions.
- beanNamesForAnnotationIncludingAncestors(ListableBeanFactory, Class<? extends Annotation>) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Get all bean names whose
Class
has the suppliedAnnotation
type, including those defined in ancestor factories, without creating any bean instances yet. - beanNamesForTypeIncludingAncestors(ListableBeanFactory, Class<?>) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Get all bean names for the given type, including those defined in ancestor factories.
- beanNamesForTypeIncludingAncestors(ListableBeanFactory, Class<?>, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Get all bean names for the given type, including those defined in ancestor factories.
- beanNamesForTypeIncludingAncestors(ListableBeanFactory, ResolvableType) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Get all bean names for the given type, including those defined in ancestor factories.
- beanNamesForTypeIncludingAncestors(ListableBeanFactory, ResolvableType, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Get all bean names for the given type, including those defined in ancestor factories.
- beanNamesIncludingAncestors(ListableBeanFactory) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return all bean names in the factory, including ancestor factories.
- BeanNotOfRequiredTypeException - Exception in org.springframework.beans.factory
-
Thrown when a bean doesn't match the expected type.
- BeanNotOfRequiredTypeException(String, Class<?>, Class<?>) - Constructor for exception org.springframework.beans.factory.BeanNotOfRequiredTypeException
-
Create a new BeanNotOfRequiredTypeException.
- beanOfType(ListableBeanFactory, Class<T>) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return a single bean of the given type or subtypes, not looking in ancestor factories.
- beanOfType(ListableBeanFactory, Class<T>, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return a single bean of the given type or subtypes, not looking in ancestor factories.
- beanOfTypeIncludingAncestors(ListableBeanFactory, Class<T>) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return a single bean of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- beanOfTypeIncludingAncestors(ListableBeanFactory, Class<T>, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return a single bean of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- BeanPostProcessor - Interface in org.springframework.beans.factory.config
-
Factory hook that allows for custom modification of new bean instances — for example, checking for marker interfaces or wrapping beans with proxies.
- BeanReference - Interface in org.springframework.beans.factory.config
-
Interface that exposes a reference to a bean name in an abstract fashion.
- BeanRegistrationAotContribution - Interface in org.springframework.beans.factory.aot
-
AOT contribution from a
BeanRegistrationAotProcessor
used to register a single bean definition. - BeanRegistrationAotProcessor - Interface in org.springframework.beans.factory.aot
-
AOT processor that makes bean registration contributions by processing
RegisteredBean
instances. - BeanRegistrationCode - Interface in org.springframework.beans.factory.aot
-
Interface that can be used to configure the code that will be generated to perform registration of a single bean.
- BeanRegistrationCodeFragments - Interface in org.springframework.beans.factory.aot
-
Generate the various fragments of code needed to register a bean.
- BeanRegistrationCodeFragmentsDecorator - Class in org.springframework.beans.factory.aot
-
A
BeanRegistrationCodeFragments
decorator implementation. - BeanRegistrationCodeFragmentsDecorator(BeanRegistrationCodeFragments) - Constructor for class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- BeanRegistrationExcludeFilter - Interface in org.springframework.beans.factory.aot
-
Filter that can be used to exclude AOT processing of a
RegisteredBean
. - BeanRegistrationsCode - Interface in org.springframework.beans.factory.aot
-
Interface that can be used to configure the code that will be generated to register beans.
- beans(Closure<?>) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Defines a set of beans for the given block or closure.
- BEANS_NAMESPACE_URI - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- BeansDtdResolver - Class in org.springframework.beans.factory.xml
-
EntityResolver
implementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file). - BeansDtdResolver() - Constructor for class org.springframework.beans.factory.xml.BeansDtdResolver
- BeansException - Exception in org.springframework.beans
-
Abstract superclass for all exceptions thrown in the beans package and subpackages.
- BeansException(String) - Constructor for exception org.springframework.beans.BeansException
-
Create a new BeansException with the specified message.
- BeansException(String, Throwable) - Constructor for exception org.springframework.beans.BeansException
-
Create a new BeansException with the specified message and root cause.
- beansOfTypeIncludingAncestors(ListableBeanFactory, Class<T>) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return all beans of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- beansOfTypeIncludingAncestors(ListableBeanFactory, Class<T>, boolean, boolean) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return all beans of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
- BeanUtils - Class in org.springframework.beans
-
Static convenience methods for JavaBeans: for instantiating beans, checking bean property types, copying bean properties, etc.
- BeanUtils() - Constructor for class org.springframework.beans.BeanUtils
- BeanWiringInfo - Class in org.springframework.beans.factory.wiring
-
Holder for bean wiring metadata information about a particular class.
- BeanWiringInfo() - Constructor for class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Create a default BeanWiringInfo that suggests plain initialization of factory and post-processor callbacks that the bean class may expect.
- BeanWiringInfo(int, boolean) - Constructor for class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Create a new BeanWiringInfo that indicates autowiring.
- BeanWiringInfo(String) - Constructor for class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Create a new BeanWiringInfo that points to the given bean name.
- BeanWiringInfo(String, boolean) - Constructor for class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Create a new BeanWiringInfo that points to the given bean name.
- BeanWiringInfoResolver - Interface in org.springframework.beans.factory.wiring
-
Strategy interface to be implemented by objects than can resolve bean name information, given a newly instantiated bean object.
- BeanWrapper - Interface in org.springframework.beans
-
The central interface of Spring's low-level JavaBeans infrastructure.
- BeanWrapperImpl - Class in org.springframework.beans
-
Default
BeanWrapper
implementation that should be sufficient for all typical use cases. - BeanWrapperImpl() - Constructor for class org.springframework.beans.BeanWrapperImpl
-
Create a new empty BeanWrapperImpl.
- BeanWrapperImpl(boolean) - Constructor for class org.springframework.beans.BeanWrapperImpl
-
Create a new empty BeanWrapperImpl.
- BeanWrapperImpl(Class<?>) - Constructor for class org.springframework.beans.BeanWrapperImpl
-
Create a new BeanWrapperImpl, wrapping a new instance of the specified class.
- BeanWrapperImpl(Object) - Constructor for class org.springframework.beans.BeanWrapperImpl
-
Create a new BeanWrapperImpl for the given object.
- BeanWrapperImpl(Object, String, Object) - Constructor for class org.springframework.beans.BeanWrapperImpl
-
Create a new BeanWrapperImpl for the given object, registering a nested path that the object is in.
- beforePrototypeCreation(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Callback before prototype creation.
- beforeSingletonCreation(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Callback before singleton creation.
- buildErrorMessage() - Method in class org.springframework.beans.PropertyMatches
-
Build an error message for the given invalid property name, indicating the possible property matches.
- buildTypedStringValue(String, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Build a typed String value Object for the given raw value.
- buildTypedStringValueForMap(String, String, Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Build a typed String value Object for the given raw value.
- buildWiringInfo(Object, Configurable) - Method in class org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver
-
Build the
BeanWiringInfo
for the givenConfigurable
annotation. - BY_NAME - Enum constant in enum class org.springframework.beans.factory.annotation.Autowire
-
Constant that indicates autowiring bean properties by name.
- BY_TYPE - Enum constant in enum class org.springframework.beans.factory.annotation.Autowire
-
Constant that indicates autowiring bean properties by type.
- ByteArrayPropertyEditor - Class in org.springframework.beans.propertyeditors
-
Editor for byte arrays.
- ByteArrayPropertyEditor() - Constructor for class org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
C
- CachedIntrospectionResults - Class in org.springframework.beans
-
Internal class that caches JavaBeans
PropertyDescriptor
information for a Java class. - CannotLoadBeanClassException - Exception in org.springframework.beans.factory
-
Exception thrown when the BeanFactory cannot load the specified class of a given bean.
- CannotLoadBeanClassException(String, String, String, ClassNotFoundException) - Constructor for exception org.springframework.beans.factory.CannotLoadBeanClassException
-
Create a new CannotLoadBeanClassException.
- CannotLoadBeanClassException(String, String, String, LinkageError) - Constructor for exception org.springframework.beans.factory.CannotLoadBeanClassException
-
Create a new CannotLoadBeanClassException.
- canonicalName - Variable in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyTokenHolder
- canonicalPropertyName(String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Determine the canonical name for the given property path.
- canonicalPropertyNames(String[]) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Determine the canonical names for the given property paths.
- CglibSubclassingInstantiationStrategy - Class in org.springframework.beans.factory.support
-
Default object instantiation strategy for use in BeanFactories.
- CglibSubclassingInstantiationStrategy() - Constructor for class org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy
- changesSince(PropertyValues) - Method in class org.springframework.beans.MutablePropertyValues
- changesSince(PropertyValues) - Method in interface org.springframework.beans.PropertyValues
-
Return the changes since the previous PropertyValues.
- CharacterEditor - Class in org.springframework.beans.propertyeditors
- CharacterEditor(boolean) - Constructor for class org.springframework.beans.propertyeditors.CharacterEditor
-
Create a new CharacterEditor instance.
- CharArrayPropertyEditor - Class in org.springframework.beans.propertyeditors
-
Editor for char arrays.
- CharArrayPropertyEditor() - Constructor for class org.springframework.beans.propertyeditors.CharArrayPropertyEditor
- CharsetEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.nio.charset.Charset
, translating charset String representations into Charset objects and back. - CharsetEditor() - Constructor for class org.springframework.beans.propertyeditors.CharsetEditor
- checkConfigMembers(RootBeanDefinition) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata
- checkDependencies(String, AbstractBeanDefinition, PropertyDescriptor[], PropertyValues) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Perform a dependency check that all properties exposed have been set, if desired.
- checkForAliasCircle(String, String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Also checks for an alias overriding a bean definition of the same name.
- checkGenericTypeMatch(BeanDefinitionHolder, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
-
Match the given dependency type with its generic type information against the given candidate bean definition.
- checkMergedBeanDefinition(RootBeanDefinition, String, Object[]) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Check the given merged bean definition, potentially throwing validation exceptions.
- checkNameUniqueness(String, List<String>, Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Validate that the specified bean name and aliases have not been used already within the current level of beans element nesting.
- checkPropertySkipping(PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
-
Check whether this injector's property needs to be skipped due to an explicit property value having been specified.
- checkQualifier(BeanDefinitionHolder, Annotation, TypeConverter) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Match the given qualifier annotation against the candidate bean definition.
- checkQualifiers(BeanDefinitionHolder, Annotation[]) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Match the given qualifier annotations against the candidate bean definition.
- checkResourceType(Class<?>) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- childBeanDefinition(String) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aChildBeanDefinition
. - ChildBeanDefinition - Class in org.springframework.beans.factory.support
-
Bean definition for beans which inherit settings from their parent.
- ChildBeanDefinition(String) - Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
-
Create a new ChildBeanDefinition for the given parent, to be configured through its bean properties and configuration methods.
- ChildBeanDefinition(String, Class<?>, ConstructorArgumentValues, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
-
Create a new ChildBeanDefinition for the given parent, providing constructor arguments and property values.
- ChildBeanDefinition(String, String, ConstructorArgumentValues, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
-
Create a new ChildBeanDefinition for the given parent, providing constructor arguments and property values.
- ChildBeanDefinition(String, ConstructorArgumentValues, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
-
Create a new ChildBeanDefinition for the given parent.
- ChildBeanDefinition(String, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
-
Create a new ChildBeanDefinition for the given parent.
- ChildBeanDefinition(ChildBeanDefinition) - Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
-
Create a new ChildBeanDefinition as deep copy of the given bean definition.
- CLASS_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- CLASS_KEY - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Special key to distinguish
owner.(class)=com.myapp.MyClass
. - ClassArrayEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for an array of
Classes
, to enable the direct population of aClass[]
property without having to use aString
class name property as bridge. - ClassArrayEditor() - Constructor for class org.springframework.beans.propertyeditors.ClassArrayEditor
-
Create a default
ClassEditor
, using the thread contextClassLoader
. - ClassArrayEditor(ClassLoader) - Constructor for class org.springframework.beans.propertyeditors.ClassArrayEditor
-
Create a default
ClassArrayEditor
, using the givenClassLoader
. - ClassEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for
java.lang.Class
, to enable the direct population of aClass
property without recourse to having to use a String class name property as bridge. - ClassEditor() - Constructor for class org.springframework.beans.propertyeditors.ClassEditor
-
Create a default ClassEditor, using the thread context ClassLoader.
- ClassEditor(ClassLoader) - Constructor for class org.springframework.beans.propertyeditors.ClassEditor
-
Create a default ClassEditor, using the given ClassLoader.
- ClassNameBeanWiringInfoResolver - Class in org.springframework.beans.factory.wiring
-
Simple default implementation of the
BeanWiringInfoResolver
interface, looking for a bean with the same name as the fully-qualified class name. - ClassNameBeanWiringInfoResolver() - Constructor for class org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver
- cleanupAfterBeanCreationFailure(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Perform appropriate cleanup of cached metadata after bean creation failed.
- clear() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Clear this holder, removing all argument values.
- clear(PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata
-
Clear property skipping for the contained elements.
- clearClassLoader(ClassLoader) - Static method in class org.springframework.beans.CachedIntrospectionResults
-
Clear the introspection cache for the given ClassLoader, removing the introspection results for all classes underneath that ClassLoader, and removing the ClassLoader (and its children) from the acceptance list.
- clearMergedBeanDefinition(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Remove the merged bean definition for the specified bean, recreating it on next access.
- clearMergedBeanDefinition(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- clearMetadataCache() - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Clear the merged bean definition cache, removing entries for beans which are not considered eligible for full metadata caching yet.
- clearMetadataCache() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Clear the merged bean definition cache, removing entries for beans which are not considered eligible for full metadata caching yet.
- clearMetadataCache() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- clearProcessedProperty(String) - Method in class org.springframework.beans.MutablePropertyValues
-
Clear the "processed" registration of the given property, if any.
- clearPropertySkipping(PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
-
Clear property skipping for this element.
- clearSingletonCache() - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Overridden to clear FactoryBean instance cache as well.
- clearSingletonCache() - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Clear all cached singleton instances in this registry.
- clearSingletonCache() - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Overridden to clear the FactoryBean object cache as well.
- clone() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Public declaration of Object's
clone()
method. - cloneBeanDefinition() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Clone this bean definition.
- cloneBeanDefinition() - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- cloneBeanDefinition() - Method in class org.springframework.beans.factory.support.GenericBeanDefinition
- cloneBeanDefinition() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
- cloneIfNecessary() - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Return a clone of this resolver instance if necessary, retaining its local configuration and allowing for the cloned instance to get associated with a new bean factory, or this original instance if there is no such state.
- cloneIfNecessary() - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
-
This implementation clones all instance fields through standard
Cloneable
support, allowing for subsequent reconfiguration of the cloned instance through a freshGenericTypeAwareAutowireCandidateResolver.setBeanFactory(org.springframework.beans.factory.BeanFactory)
call. - cloneIfNecessary() - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
-
This implementation returns
this
as-is. - compare(T, T) - Method in class org.springframework.beans.support.PropertyComparator
- compareTo(TypedStringValue) - Method in class org.springframework.beans.factory.config.TypedStringValue
- ComponentDefinition - Interface in org.springframework.beans.factory.parsing
-
Interface that describes the logical view of a set of
BeanDefinitions
andBeanReferences
as presented in some configuration context. - componentRegistered(ComponentDefinition) - Method in class org.springframework.beans.factory.parsing.EmptyReaderEventListener
- componentRegistered(ComponentDefinition) - Method in interface org.springframework.beans.factory.parsing.ReaderEventListener
-
Notification that the given component has been registered.
- CompositeComponentDefinition - Class in org.springframework.beans.factory.parsing
-
ComponentDefinition
implementation that holds one or more nestedComponentDefinition
instances, aggregating them into a named group of components. - CompositeComponentDefinition(String, Object) - Constructor for class org.springframework.beans.factory.parsing.CompositeComponentDefinition
-
Create a new CompositeComponentDefinition.
- concat(BeanRegistrationAotContribution, BeanRegistrationAotContribution) - Static method in interface org.springframework.beans.factory.aot.BeanRegistrationAotContribution
-
Create a contribution that applies the contribution of the first contribution followed by the second contribution.
- Configurable - Annotation Interface in org.springframework.beans.factory.annotation
-
Marks a class as being eligible for Spring-driven configuration.
- ConfigurableBeanFactory - Interface in org.springframework.beans.factory.config
-
Configuration interface to be implemented by most bean factories.
- ConfigurableListableBeanFactory - Interface in org.springframework.beans.factory.config
-
Configuration interface to be implemented by most listable bean factories.
- ConfigurablePropertyAccessor - Interface in org.springframework.beans
-
Interface that encapsulates configuration methods for a PropertyAccessor.
- configureBean(Object) - Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Configure the bean instance.
- configureBean(Object, String) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Configure the given raw bean: autowiring bean properties, applying bean property values, applying factory callbacks such as
setBeanName
andsetBeanFactory
, and also applying all bean post processors (including ones which might wrap the given raw bean). - configureBean(Object, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- CONSTRUCTOR_ARG_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- CONSTRUCTOR_ARG_PREFIX - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Prefix used to denote a constructor argument definition.
- ConstructorArgumentEntry - Class in org.springframework.beans.factory.parsing
-
ParseState
entry representing a (possibly indexed) constructor argument. - ConstructorArgumentEntry() - Constructor for class org.springframework.beans.factory.parsing.ConstructorArgumentEntry
-
Creates a new instance of the
ConstructorArgumentEntry
class representing a constructor argument with a (currently) unknown index. - ConstructorArgumentEntry(int) - Constructor for class org.springframework.beans.factory.parsing.ConstructorArgumentEntry
-
Creates a new instance of the
ConstructorArgumentEntry
class representing a constructor argument at the suppliedindex
. - ConstructorArgumentValues - Class in org.springframework.beans.factory.config
-
Holder for constructor argument values, typically as part of a bean definition.
- ConstructorArgumentValues() - Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Create a new empty ConstructorArgumentValues object.
- ConstructorArgumentValues(ConstructorArgumentValues) - Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Deep copy constructor.
- ConstructorArgumentValues.ValueHolder - Class in org.springframework.beans.factory.config
-
Holder for a constructor argument value, with an optional type attribute indicating the target type of the actual constructor argument.
- contains(Class<?>) - Method in exception org.springframework.beans.factory.BeanCreationException
- contains(Class<?>) - Method in exception org.springframework.beans.PropertyBatchUpdateException
- contains(String) - Method in class org.springframework.beans.MutablePropertyValues
- contains(String) - Method in interface org.springframework.beans.PropertyValues
-
Is there a property value (or other processing entry) for this property?
- containsBean(String) - Method in interface org.springframework.beans.factory.BeanFactory
-
Does this bean factory contain a bean definition or externally registered singleton instance with the given name?
- containsBean(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- containsBean(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- containsBeanDefinition(String) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Check if this bean factory contains a bean definition with the given name.
- containsBeanDefinition(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Check if this bean factory contains a bean definition with the given name.
- containsBeanDefinition(String) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Check if this registry contains a bean definition with the given name.
- containsBeanDefinition(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- containsBeanDefinition(String) - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- containsBeanDefinition(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- containsLocalBean(String) - Method in interface org.springframework.beans.factory.HierarchicalBeanFactory
-
Return whether the local bean factory contains a bean of the given name, ignoring beans defined in ancestor contexts.
- containsLocalBean(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- containsNamedArgument() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Determine whether at least one argument value refers to a name.
- containsObject(String) - Method in class org.springframework.beans.factory.config.BeanExpressionContext
- containsSingleton(String) - Method in interface org.springframework.beans.factory.config.SingletonBeanRegistry
-
Check if this registry contains a singleton instance with the given name.
- containsSingleton(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- ConversionNotSupportedException - Exception in org.springframework.beans
-
Exception thrown when no suitable editor or converter can be found for a bean property.
- ConversionNotSupportedException(PropertyChangeEvent, Class<?>, Throwable) - Constructor for exception org.springframework.beans.ConversionNotSupportedException
-
Create a new ConversionNotSupportedException.
- ConversionNotSupportedException(Object, Class<?>, Throwable) - Constructor for exception org.springframework.beans.ConversionNotSupportedException
-
Create a new ConversionNotSupportedException.
- convertElement(Object) - Method in class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Hook to convert each encountered Collection/array element.
- convertForProperty(Object, String) - Method in class org.springframework.beans.BeanWrapperImpl
-
Convert the given value for the specified property to the latter's type.
- convertForProperty(String, Object, Object, TypeDescriptor) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- convertIfNecessary(Object, Class<T>) - Method in interface org.springframework.beans.TypeConverter
-
Convert the value to the required type (if necessary from a String).
- convertIfNecessary(Object, Class<T>) - Method in class org.springframework.beans.TypeConverterSupport
- convertIfNecessary(Object, Class<T>, Field) - Method in interface org.springframework.beans.TypeConverter
-
Convert the value to the required type (if necessary from a String).
- convertIfNecessary(Object, Class<T>, Field) - Method in class org.springframework.beans.TypeConverterSupport
- convertIfNecessary(Object, Class<T>, TypeDescriptor) - Method in interface org.springframework.beans.TypeConverter
-
Convert the value to the required type (if necessary from a String).
- convertIfNecessary(Object, Class<T>, TypeDescriptor) - Method in class org.springframework.beans.TypeConverterSupport
- convertIfNecessary(Object, Class<T>, MethodParameter) - Method in interface org.springframework.beans.TypeConverter
-
Convert the value to the required type (if necessary from a String).
- convertIfNecessary(Object, Class<T>, MethodParameter) - Method in class org.springframework.beans.TypeConverterSupport
- convertKey(Object) - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
Hook to convert each encountered Map key.
- convertProperties(Properties) - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
-
Convert the given merged properties, converting property values if necessary.
- convertProperty(String, String) - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
-
Convert the given property from the properties source to the value which should be applied.
- convertPropertyValue(String) - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
-
Convert the given property value from the properties source to the value which should be applied.
- convertValue(Object) - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
Hook to convert each encountered Map value.
- copy() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Create a copy of this ValueHolder: that is, an independent ValueHolder instance with the same contents.
- copyConfigurationFrom(ConfigurableBeanFactory) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Copy all relevant configuration from the given other factory.
- copyConfigurationFrom(ConfigurableBeanFactory) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- copyConfigurationFrom(ConfigurableBeanFactory) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- copyConfigurationFrom(ConfigurableBeanFactory) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- copyCustomEditorsTo(PropertyEditorRegistry, String) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Copy the custom editors registered in this instance to the given target registry.
- copyDefaultEditorsTo(PropertyEditorRegistrySupport) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Copy the default editors registered in this instance to the given target registry.
- copyProperties(Object, Object) - Static method in class org.springframework.beans.BeanUtils
-
Copy the property values of the given source bean into the target bean.
- copyProperties(Object, Object, Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Copy the property values of the given source bean into the given target bean, only setting properties defined in the given "editable" class (or interface).
- copyProperties(Object, Object, String...) - Static method in class org.springframework.beans.BeanUtils
-
Copy the property values of the given source bean into the given target bean, ignoring the given "ignoreProperties".
- copyQualifiersFrom(AbstractBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Copy the qualifiers from the supplied AbstractBeanDefinition to this bean definition.
- copyRegisteredEditorsTo(PropertyEditorRegistry) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Initialize the given PropertyEditorRegistry with the custom editors that have been registered with this BeanFactory.
- copyRegisteredEditorsTo(PropertyEditorRegistry) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- copySortDefinition(SortDefinition) - Method in class org.springframework.beans.support.PagedListHolder
-
Create a deep copy of the given sort definition, for use as state holder to compare a modified sort definition against.
- countBeansIncludingAncestors(ListableBeanFactory) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Count all beans in any hierarchy in which this factory participates.
- createBean(Class<?>, int, boolean) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Deprecated.as of 6.1, in favor of
AutowireCapableBeanFactory.createBean(Class)
- createBean(Class<?>, int, boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Deprecated.
- createBean(Class<T>) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Fully create a new bean instance of the given class.
- createBean(Class<T>) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- createBean(String, RootBeanDefinition, Object[]) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Central method of this class: creates a bean instance, populates the bean instance, applies post-processors, etc.
- createBean(String, RootBeanDefinition, Object[]) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Create a bean instance for the given merged bean definition (and arguments).
- createBeanDefinition(String, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Create a bean definition for the given class name and parent name.
- createBeanDefinition(String, String, ClassLoader) - Static method in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.
- createBeanDefinitionDocumentReader() - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Create the
BeanDefinitionDocumentReader
to use for actually reading bean definitions from an XML document. - createBeanInstance(String, RootBeanDefinition, Object[]) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Create a new instance for the specified bean, using an appropriate instantiation strategy: factory method, constructor autowiring, or simple instantiation.
- createCollection(Class<? extends Collection>, int) - Method in class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Create a Collection of the given type, with the given initial capacity (if supported by the Collection type).
- createDefaultBeanWiringInfoResolver() - Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Create the default BeanWiringInfoResolver to be used if none was specified explicitly.
- createDefaultNamespaceHandlerResolver() - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Create the default implementation of
NamespaceHandlerResolver
used if none is specified. - createDelegate(XmlReaderContext, Element, BeanDefinitionParserDelegate) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- createDocumentBuilder(DocumentBuilderFactory, EntityResolver, ErrorHandler) - Method in class org.springframework.beans.factory.xml.DefaultDocumentLoader
-
Create a JAXP DocumentBuilder that this bean definition reader will use for parsing XML documents.
- createDocumentBuilderFactory(int, boolean) - Method in class org.springframework.beans.factory.xml.DefaultDocumentLoader
-
Create the
DocumentBuilderFactory
instance. - createInstance() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Template method that subclasses must override to construct the object returned by this factory.
- createInstance() - Method in class org.springframework.beans.factory.config.ListFactoryBean
- createInstance() - Method in class org.springframework.beans.factory.config.MapFactoryBean
- createInstance() - Method in class org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean
- createInstance() - Method in class org.springframework.beans.factory.config.ProviderCreatingFactoryBean
- createInstance() - Method in class org.springframework.beans.factory.config.SetFactoryBean
- createInstance() - Method in class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean
- createMap() - Method in class org.springframework.beans.factory.config.YamlMapFactoryBean
-
Template method that subclasses may override to construct the object returned by this factory.
- createMap(Class<? extends Map>, int) - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
Create a Map of the given type, with the given initial capacity (if supported by the Map type).
- createNotWritablePropertyException(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a
NotWritablePropertyException
for the specified property. - createNotWritablePropertyException(String) - Method in class org.springframework.beans.BeanWrapperImpl
- createNotWritablePropertyException(String) - Method in class org.springframework.beans.DirectFieldAccessor
- createProperties() - Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
-
Template method that subclasses may override to construct the object returned by this factory.
- createProperties() - Method in class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
-
Template method that subclasses may override to construct the object returned by this factory.
- createReaderContext(Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Create the
XmlReaderContext
to pass over to the document reader. - createServiceLocatorException(Constructor<Exception>, BeansException) - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
-
Create a service locator exception for the given cause.
- createURI(String) - Method in class org.springframework.beans.propertyeditors.URIEditor
-
Create a URI instance for the given user-specified String value.
- createYaml() - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Create the
Yaml
instance to use. - CurrencyEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.util.Currency
, translating currency codes into Currency objects. - CurrencyEditor() - Constructor for class org.springframework.beans.propertyeditors.CurrencyEditor
- CustomAutowireConfigurer - Class in org.springframework.beans.factory.annotation
-
A
BeanFactoryPostProcessor
implementation that allows for convenient registration of custom autowire qualifier types. - CustomAutowireConfigurer() - Constructor for class org.springframework.beans.factory.annotation.CustomAutowireConfigurer
- CustomBooleanEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for Boolean/boolean properties.
- CustomBooleanEditor(boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Create a new CustomBooleanEditor instance, with "true"/"on"/"yes" and "false"/"off"/"no" as recognized String values.
- CustomBooleanEditor(String, String, boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Create a new CustomBooleanEditor instance, with configurable String values for true and false.
- CustomCollectionEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for Collections, converting any source Collection to a given target Collection type.
- CustomCollectionEditor(Class<? extends Collection>) - Constructor for class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Create a new CustomCollectionEditor for the given target type, keeping an incoming
null
as-is. - CustomCollectionEditor(Class<? extends Collection>, boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Create a new CustomCollectionEditor for the given target type.
- CustomDateEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for
java.util.Date
, supporting a customjava.text.DateFormat
. - CustomDateEditor(DateFormat, boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomDateEditor
-
Create a new CustomDateEditor instance, using the given DateFormat for parsing and rendering.
- CustomDateEditor(DateFormat, boolean, int) - Constructor for class org.springframework.beans.propertyeditors.CustomDateEditor
-
Create a new CustomDateEditor instance, using the given DateFormat for parsing and rendering.
- CustomEditorConfigurer - Class in org.springframework.beans.factory.config
-
BeanFactoryPostProcessor
implementation that allows for convenient registration of customproperty editors
. - CustomEditorConfigurer() - Constructor for class org.springframework.beans.factory.config.CustomEditorConfigurer
- customize(BeanDefinition) - Method in interface org.springframework.beans.factory.config.BeanDefinitionCustomizer
-
Customize the given bean definition.
- customizeBeanRegistrationCodeFragments(GenerationContext, BeanRegistrationCodeFragments) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationAotContribution
-
Customize the
BeanRegistrationCodeFragments
that will be used to generate the bean registration code. - CustomMapEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for Maps, converting any source Map to a given target Map type.
- CustomMapEditor(Class<? extends Map>) - Constructor for class org.springframework.beans.propertyeditors.CustomMapEditor
-
Create a new CustomMapEditor for the given target type, keeping an incoming
null
as-is. - CustomMapEditor(Class<? extends Map>, boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomMapEditor
-
Create a new CustomMapEditor for the given target type.
- CustomNumberEditor - Class in org.springframework.beans.propertyeditors
-
Property editor for any Number subclass such as Short, Integer, Long, BigInteger, Float, Double, BigDecimal.
- CustomNumberEditor(Class<? extends Number>, boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomNumberEditor
-
Create a new CustomNumberEditor instance, using the default
valueOf
methods for parsing andtoString
methods for rendering. - CustomNumberEditor(Class<? extends Number>, NumberFormat, boolean) - Constructor for class org.springframework.beans.propertyeditors.CustomNumberEditor
-
Create a new CustomNumberEditor instance, using the given NumberFormat for parsing and rendering.
- CustomScopeConfigurer - Class in org.springframework.beans.factory.config
-
Simple
BeanFactoryPostProcessor
implementation that registers customScope(s)
with the containingConfigurableBeanFactory
. - CustomScopeConfigurer() - Constructor for class org.springframework.beans.factory.config.CustomScopeConfigurer
D
- decorate(Node, BeanDefinitionHolder, ParserContext) - Method in interface org.springframework.beans.factory.xml.BeanDefinitionDecorator
-
Parse the specified
Node
(either an element or an attribute) and decorate the suppliedBeanDefinition
, returning the decorated definition. - decorate(Node, BeanDefinitionHolder, ParserContext) - Method in interface org.springframework.beans.factory.xml.NamespaceHandler
-
Parse the specified
Node
and decorate the suppliedBeanDefinitionHolder
, returning the decorated definition. - decorate(Node, BeanDefinitionHolder, ParserContext) - Method in class org.springframework.beans.factory.xml.NamespaceHandlerSupport
-
Decorates the supplied
Node
by delegating to theBeanDefinitionDecorator
that is registered to handle thatNode
. - decorate(Node, BeanDefinitionHolder, ParserContext) - Method in class org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler
- decorate(Node, BeanDefinitionHolder, ParserContext) - Method in class org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler
- decorateBeanDefinitionIfRequired(Element, BeanDefinitionHolder) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Decorate the given bean definition through a namespace handler, if applicable.
- decorateBeanDefinitionIfRequired(Element, BeanDefinitionHolder, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Decorate the given bean definition through a namespace handler, if applicable.
- decorateIfRequired(Node, BeanDefinitionHolder, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Decorate the given bean definition through a namespace handler, if applicable.
- DEFAULT_AUTOWIRE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_AUTOWIRE_CANDIDATES_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_BEAN_NAME_SEPARATOR - Static variable in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
-
The default bean name separator.
- DEFAULT_DESTROY_METHOD_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_HANDLER_MAPPINGS_LOCATION - Static variable in class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
-
The location to look for the mapping files.
- DEFAULT_INIT_METHOD_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_LAZY_INIT_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_MAX_DISTANCE - Static variable in class org.springframework.beans.PropertyMatches
-
Default maximum property distance: 2.
- DEFAULT_MAX_LINKED_PAGES - Static variable in class org.springframework.beans.support.PagedListHolder
-
The default maximum number of page links.
- DEFAULT_MERGE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_PAGE_SIZE - Static variable in class org.springframework.beans.support.PagedListHolder
-
The default page size.
- DEFAULT_PLACEHOLDER_PREFIX - Static variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Default placeholder prefix: "${".
- DEFAULT_PLACEHOLDER_SUFFIX - Static variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Default placeholder suffix: "}".
- DEFAULT_SCHEMA_MAPPINGS_LOCATION - Static variable in class org.springframework.beans.factory.xml.PluggableSchemaResolver
-
The location of the file that defines schema mappings.
- DEFAULT_SEPARATOR - Static variable in class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Default separator for splitting a String: a comma (",").
- DEFAULT_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DEFAULT_VALUE_SEPARATOR - Static variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Default value separator: ":".
- DefaultBeanDefinitionDocumentReader - Class in org.springframework.beans.factory.xml
-
Default implementation of the
BeanDefinitionDocumentReader
interface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format). - DefaultBeanDefinitionDocumentReader() - Constructor for class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- DefaultBeanNameGenerator - Class in org.springframework.beans.factory.support
-
Default implementation of the
BeanNameGenerator
interface, delegating toBeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry)
. - DefaultBeanNameGenerator() - Constructor for class org.springframework.beans.factory.support.DefaultBeanNameGenerator
- DefaultDocumentLoader - Class in org.springframework.beans.factory.xml
-
Spring's default
DocumentLoader
implementation. - DefaultDocumentLoader() - Constructor for class org.springframework.beans.factory.xml.DefaultDocumentLoader
- DefaultListableBeanFactory - Class in org.springframework.beans.factory.support
-
Spring's default implementation of the
ConfigurableListableBeanFactory
andBeanDefinitionRegistry
interfaces: a full-fledged bean factory based on bean definition metadata, extensible through post-processors. - DefaultListableBeanFactory() - Constructor for class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Create a new DefaultListableBeanFactory.
- DefaultListableBeanFactory(BeanFactory) - Constructor for class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Create a new DefaultListableBeanFactory with the given parent.
- DefaultNamespaceHandlerResolver - Class in org.springframework.beans.factory.xml
-
Default implementation of the
NamespaceHandlerResolver
interface. - DefaultNamespaceHandlerResolver() - Constructor for class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
-
Create a new
DefaultNamespaceHandlerResolver
using the default mapping file location. - DefaultNamespaceHandlerResolver(ClassLoader) - Constructor for class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
-
Create a new
DefaultNamespaceHandlerResolver
using the default mapping file location. - DefaultNamespaceHandlerResolver(ClassLoader, String) - Constructor for class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
-
Create a new
DefaultNamespaceHandlerResolver
using the supplied mapping file location. - DefaultsDefinition - Interface in org.springframework.beans.factory.parsing
-
Marker interface for a defaults definition, extending BeanMetadataElement to inherit source exposure.
- DefaultSingletonBeanRegistry - Class in org.springframework.beans.factory.support
-
Generic registry for shared bean instances, implementing the
SingletonBeanRegistry
. - DefaultSingletonBeanRegistry() - Constructor for class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- defaultsRegistered(DefaultsDefinition) - Method in class org.springframework.beans.factory.parsing.EmptyReaderEventListener
- defaultsRegistered(DefaultsDefinition) - Method in interface org.springframework.beans.factory.parsing.ReaderEventListener
-
Notification that the given defaults has been registered.
- DelegatingEntityResolver - Class in org.springframework.beans.factory.xml
-
EntityResolver
implementation that delegates to aBeansDtdResolver
and aPluggableSchemaResolver
for DTDs and XML schemas, respectively. - DelegatingEntityResolver(ClassLoader) - Constructor for class org.springframework.beans.factory.xml.DelegatingEntityResolver
-
Create a new DelegatingEntityResolver that delegates to a default
BeansDtdResolver
and a defaultPluggableSchemaResolver
. - DelegatingEntityResolver(EntityResolver, EntityResolver) - Constructor for class org.springframework.beans.factory.xml.DelegatingEntityResolver
-
Create a new DelegatingEntityResolver that delegates to the given
EntityResolvers
. - DEPENDENCY_CHECK_ALL - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates dependency checking for all properties (object references as well as "simple" properties).
- DEPENDENCY_CHECK_NONE - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates no dependency check at all.
- DEPENDENCY_CHECK_OBJECTS - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates dependency checking for object references.
- DEPENDENCY_CHECK_SIMPLE - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates dependency checking for "simple" properties.
- dependencyCheck() - Element in annotation interface org.springframework.beans.factory.annotation.Configurable
-
Is dependency checking to be performed for configured objects?
- DependencyDescriptor - Class in org.springframework.beans.factory.config
-
Descriptor for a specific dependency that is about to be injected.
- DependencyDescriptor(Field, boolean) - Constructor for class org.springframework.beans.factory.config.DependencyDescriptor
-
Create a new descriptor for a field.
- DependencyDescriptor(Field, boolean, boolean) - Constructor for class org.springframework.beans.factory.config.DependencyDescriptor
-
Create a new descriptor for a field.
- DependencyDescriptor(DependencyDescriptor) - Constructor for class org.springframework.beans.factory.config.DependencyDescriptor
-
Copy constructor.
- DependencyDescriptor(MethodParameter, boolean) - Constructor for class org.springframework.beans.factory.config.DependencyDescriptor
-
Create a new descriptor for a method or constructor parameter.
- DependencyDescriptor(MethodParameter, boolean, boolean) - Constructor for class org.springframework.beans.factory.config.DependencyDescriptor
-
Create a new descriptor for a method or constructor parameter.
- DEPENDS_ON_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- DeprecatedBeanWarner - Class in org.springframework.beans.factory.config
-
Bean factory post processor that logs a warning for
@Deprecated
beans. - DeprecatedBeanWarner() - Constructor for class org.springframework.beans.factory.config.DeprecatedBeanWarner
- DESCRIPTION_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- destroy() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Destroy the singleton instance, if any.
- destroy() - Method in interface org.springframework.beans.factory.DisposableBean
-
Invoked by the containing
BeanFactory
on destruction of a bean. - destroy() - Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Release references to the
BeanFactory
andBeanWiringInfoResolver
when the container is destroyed. - DESTROY_METHOD_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- destroyBean(Object) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Destroy the given bean instance (typically coming from
AutowireCapableBeanFactory.createBean(Class)
), applying theDisposableBean
contract as well as registeredDestructionAwareBeanPostProcessors
. - destroyBean(Object) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- destroyBean(String, Object) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Destroy the given bean instance (usually a prototype instance obtained from this factory) according to its bean definition.
- destroyBean(String, Object) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- destroyBean(String, Object, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Destroy the given bean instance (usually a prototype instance obtained from this factory) according to the given bean definition.
- destroyBean(String, DisposableBean) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Destroy the given bean.
- destroyInstance(T) - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Callback for destroying a singleton instance.
- destroyScopedBean(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Destroy the specified scoped bean in the current target scope, if any.
- destroyScopedBean(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- destroySingleton(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- destroySingleton(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Destroy the given bean.
- destroySingletons() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Destroy all singleton beans in this factory, including inner beans that have been registered as disposable.
- destroySingletons() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- destroySingletons() - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- DestructionAwareBeanPostProcessor - Interface in org.springframework.beans.factory.config
-
Subinterface of
BeanPostProcessor
that adds a before-destruction callback. - detectValidationMode(Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Detect which kind of validation to perform on the XML file identified by the supplied
Resource
. - determineAutowireCandidate(Map<String, Object>, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine the autowire candidate in the given set of beans.
- determineBeanType(Class<?>, String) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- determineBeanType(Class<?>, String) - Method in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
-
Determine the type of the bean to be eventually returned from this processor's
InstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class<?>, java.lang.String)
callback. - determineCandidateConstructors(Class<?>, String) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- determineCandidateConstructors(Class<?>, String) - Method in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
-
Determine the candidate constructors to use for the given bean.
- determineConstructorsFromBeanPostProcessors(Class<?>, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Determine candidate constructors to use for the given bean, checking all registered
SmartInstantiationAwareBeanPostProcessors
. - determineHighestPriorityCandidate(Map<String, Object>, Class<?>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine the candidate with the highest priority in the given set of beans.
- determinePrimaryCandidate(Map<String, Object>, Class<?>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine the primary candidate in the given set of beans.
- determineRequiredStatus(MergedAnnotation<?>) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Determine if the annotated field or method requires its dependency.
- determineServiceLocatorExceptionConstructor(Class<? extends Exception>) - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
-
Determine the constructor to use for the given service locator exception class.
- determineTargetType(String, RootBeanDefinition, Class<?>...) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Determine the target type for the given bean definition.
- DirectFieldAccessor - Class in org.springframework.beans
-
ConfigurablePropertyAccessor
implementation that directly accesses instance fields. - DirectFieldAccessor(Object) - Constructor for class org.springframework.beans.DirectFieldAccessor
-
Create a new DirectFieldAccessor for the given object.
- DirectFieldAccessor(Object, String, DirectFieldAccessor) - Constructor for class org.springframework.beans.DirectFieldAccessor
-
Create a new DirectFieldAccessor for the given object, registering a nested path that the object is in.
- DisposableBean - Interface in org.springframework.beans.factory
-
Interface to be implemented by beans that want to release resources on destruction.
- doCreateBean(String, RootBeanDefinition, Object[]) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Actually create the specified bean.
- DocumentDefaultsDefinition - Class in org.springframework.beans.factory.xml
-
Simple JavaBean that holds the defaults specified at the
<beans>
level in a standard Spring XML bean definition document:default-lazy-init
,default-autowire
, etc. - DocumentDefaultsDefinition() - Constructor for class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
- DocumentLoader - Interface in org.springframework.beans.factory.xml
-
Strategy interface for loading an XML
Document
. - doFindMatchingMethod(Object[]) - Method in class org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
Actually find a method with matching parameter type, i.e.
- doGetBean(String, Class<T>, Object[], boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return an instance, which may be shared or independent, of the specified bean.
- doLoadBeanDefinitions(InputSource, Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Actually load bean definitions from the specified XML file.
- doLoadDocument(InputSource, Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Actually load the specified document using the configured DocumentLoader.
- doParse(Element, BeanDefinitionBuilder) - Method in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Parse the supplied
Element
and populate the suppliedBeanDefinitionBuilder
as required. - doParse(Element, ParserContext, BeanDefinitionBuilder) - Method in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
Parse the supplied
Element
and populate the suppliedBeanDefinitionBuilder
as required. - doParse(Element, ParserContext, BeanDefinitionBuilder) - Method in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Parse the supplied
Element
and populate the suppliedBeanDefinitionBuilder
as required. - doProcessProperties(ConfigurableListableBeanFactory, StringValueResolver) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
- doRegisterBeanDefinitions(Element) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Register each bean definition within the given root
<beans/>
element. - doResolveDependency(DependencyDescriptor, String, Set<String>, TypeConverter) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- doSort(List<E>, SortDefinition) - Method in class org.springframework.beans.support.PagedListHolder
-
Actually perform sorting of the given source list, according to the given sort definition.
- DTD_SUFFIX - Static variable in class org.springframework.beans.factory.xml.DelegatingEntityResolver
-
Suffix for DTD files.
E
- EmbeddedValueResolver - Class in org.springframework.beans.factory.config
-
StringValueResolver
adapter for resolving placeholders and expressions against aConfigurableBeanFactory
. - EmbeddedValueResolver(ConfigurableBeanFactory) - Constructor for class org.springframework.beans.factory.config.EmbeddedValueResolver
- EMPTY - Static variable in class org.springframework.beans.factory.annotation.InjectionMetadata
-
An empty
InjectionMetadata
instance with no-op callbacks. - EmptyReaderEventListener - Class in org.springframework.beans.factory.parsing
-
Empty implementation of the
ReaderEventListener
interface, providing no-op implementations of all callback methods. - EmptyReaderEventListener() - Constructor for class org.springframework.beans.factory.parsing.EmptyReaderEventListener
- ENTRY_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- equals(Object) - Method in class org.springframework.beans.BeanMetadataAttribute
- equals(Object) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- equals(Object) - Method in class org.springframework.beans.factory.config.AutowiredPropertyMarker
- equals(Object) - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
- equals(Object) - Method in class org.springframework.beans.factory.config.BeanExpressionContext
- equals(Object) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
- equals(Object) - Method in class org.springframework.beans.factory.config.DependencyDescriptor
- equals(Object) - Method in class org.springframework.beans.factory.config.RuntimeBeanNameReference
- equals(Object) - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
- equals(Object) - Method in class org.springframework.beans.factory.config.TypedStringValue
- equals(Object) - Method in class org.springframework.beans.factory.InjectionPoint
- equals(Object) - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
-
This implementation expects the other object to be of type BeanComponentDefinition as well, in addition to the superclass's equality requirements.
- equals(Object) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
- equals(Object) - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- equals(Object) - Method in class org.springframework.beans.factory.support.GenericBeanDefinition
- equals(Object) - Method in class org.springframework.beans.factory.support.LookupOverride
- equals(Object) - Method in class org.springframework.beans.factory.support.MethodOverride
- equals(Object) - Method in class org.springframework.beans.factory.support.MethodOverrides
- equals(Object) - Method in class org.springframework.beans.factory.support.ReplaceOverride
- equals(Object) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
- equals(Object) - Method in class org.springframework.beans.MutablePropertyValues
- equals(Object) - Method in class org.springframework.beans.PropertyValue
- equals(Object) - Method in class org.springframework.beans.support.MutableSortDefinition
- error(String, Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a regular error.
- error(String, Object, Throwable) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a regular error.
- error(String, Object, ParseState) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a regular error.
- error(String, Object, ParseState, Throwable) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a regular error.
- error(String, Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Report an error with the given message for the given source element.
- error(String, Element, Throwable) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Report an error with the given message for the given source element.
- error(String, Node) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Report an error with the given message for the given source element.
- error(Problem) - Method in class org.springframework.beans.factory.parsing.FailFastProblemReporter
-
Throws a
BeanDefinitionParsingException
detailing the error that has occurred. - error(Problem) - Method in interface org.springframework.beans.factory.parsing.ProblemReporter
-
Called when an error is encountered during the parsing process.
- ERROR_CODE - Static variable in exception org.springframework.beans.MethodInvocationException
-
Error code that a method invocation error will be registered with.
- ERROR_CODE - Static variable in exception org.springframework.beans.TypeMismatchException
-
Error code that a type mismatch error will be registered with.
- evaluate(Object) - Method in class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Evaluate the given value as an expression, if necessary.
- evaluate(String, BeanExpressionContext) - Method in interface org.springframework.beans.factory.config.BeanExpressionResolver
-
Evaluate the given value as an expression, if applicable; return the value as-is otherwise.
- evaluate(TypedStringValue) - Method in class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Evaluate the given value as an expression, if necessary.
- evaluateBeanDefinitionString(String, BeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.
- ExtendedBeanInfoFactory - Class in org.springframework.beans
-
Extension of
StandardBeanInfoFactory
that supports "non-standard" JavaBeans setter methods through introspection by Spring's (package-visible)ExtendedBeanInfo
implementation. - ExtendedBeanInfoFactory() - Constructor for class org.springframework.beans.ExtendedBeanInfoFactory
- extractPropertyName(String) - Method in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
Extract a JavaBean property name from the supplied attribute name.
- extractSource(Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Call the source extractor for the given source object.
- extractSource(Object) - Method in class org.springframework.beans.factory.xml.ParserContext
- extractSource(Object, Resource) - Method in class org.springframework.beans.factory.parsing.NullSourceExtractor
-
This implementation simply returns
null
for any input. - extractSource(Object, Resource) - Method in class org.springframework.beans.factory.parsing.PassThroughSourceExtractor
-
Simply returns the supplied
sourceCandidate
as-is. - extractSource(Object, Resource) - Method in interface org.springframework.beans.factory.parsing.SourceExtractor
-
Extract the source metadata from the candidate object supplied by the configuration parser.
- extractSource(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Invoke the
SourceExtractor
to pull the source metadata from the suppliedElement
. - extractSource(Element) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Invoke the
SourceExtractor
to pull the source metadata from the suppliedElement
. - extractValue(AnnotationAttributes) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Extract the value attribute from the given annotation.
F
- factories() - Static method in class org.springframework.beans.factory.aot.AotServices
-
Create a new
AotServices.Loader
that will obtain AOT services from "META-INF/spring/aot.factories". - factories(ClassLoader) - Static method in class org.springframework.beans.factory.aot.AotServices
-
Create a new
AotServices.Loader
that will obtain AOT services from "META-INF/spring/aot.factories". - factories(SpringFactoriesLoader) - Static method in class org.springframework.beans.factory.aot.AotServices
-
Create a new
AotServices.Loader
that will obtain AOT services from the givenSpringFactoriesLoader
. - FACTORIES_RESOURCE_LOCATION - Static variable in class org.springframework.beans.factory.aot.AotServices
-
The location to look for AOT factories.
- factoriesAndBeans(ListableBeanFactory) - Static method in class org.springframework.beans.factory.aot.AotServices
-
Create a new
AotServices.Loader
that will obtain AOT services from "META-INF/spring/aot.factories" as well as the givenListableBeanFactory
. - factoriesAndBeans(SpringFactoriesLoader, ListableBeanFactory) - Static method in class org.springframework.beans.factory.aot.AotServices
-
Create a new
AotServices.Loader
that will obtain AOT services from the givenSpringFactoriesLoader
andListableBeanFactory
. - FACTORY_BEAN_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- FACTORY_BEAN_PREFIX - Static variable in interface org.springframework.beans.factory.BeanFactory
-
Used to dereference a
FactoryBean
instance and distinguish it from beans created by the FactoryBean. - FACTORY_METHOD_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- FactoryBean<T> - Interface in org.springframework.beans.factory
-
Interface to be implemented by objects used within a
BeanFactory
which are themselves factories for individual objects. - FactoryBeanNotInitializedException - Exception in org.springframework.beans.factory
-
Exception to be thrown from a FactoryBean's
getObject()
method if the bean is not fully initialized yet, for example because it is involved in a circular reference. - FactoryBeanNotInitializedException() - Constructor for exception org.springframework.beans.factory.FactoryBeanNotInitializedException
-
Create a new FactoryBeanNotInitializedException with the default message.
- FactoryBeanNotInitializedException(String) - Constructor for exception org.springframework.beans.factory.FactoryBeanNotInitializedException
-
Create a new FactoryBeanNotInitializedException with the given message.
- FactoryBeanRegistrySupport - Class in org.springframework.beans.factory.support
-
Support base class for singleton registries which need to handle
FactoryBean
instances, integrated withDefaultSingletonBeanRegistry
's singleton management. - FactoryBeanRegistrySupport() - Constructor for class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
- FailFastProblemReporter - Class in org.springframework.beans.factory.parsing
-
Simple
ProblemReporter
implementation that exhibits fail-fast behavior when errors are encountered. - FailFastProblemReporter() - Constructor for class org.springframework.beans.factory.parsing.FailFastProblemReporter
- fallbackMatchAllowed() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Return whether a fallback match is allowed.
- FALSE_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- fatal(String, Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a fatal error.
- fatal(String, Object, Throwable) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a fatal error.
- fatal(String, Object, ParseState) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a fatal error.
- fatal(String, Object, ParseState, Throwable) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a fatal error.
- fatal(Problem) - Method in class org.springframework.beans.factory.parsing.FailFastProblemReporter
-
Throws a
BeanDefinitionParsingException
detailing the error that has occurred. - fatal(Problem) - Method in interface org.springframework.beans.factory.parsing.ProblemReporter
-
Called when a fatal error is encountered during the parsing process.
- FatalBeanException - Exception in org.springframework.beans
-
Thrown on an unrecoverable problem encountered in the beans packages or sub-packages, e.g.
- FatalBeanException(String) - Constructor for exception org.springframework.beans.FatalBeanException
-
Create a new FatalBeanException with the specified message.
- FatalBeanException(String, Throwable) - Constructor for exception org.springframework.beans.FatalBeanException
-
Create a new FatalBeanException with the specified message and root cause.
- field - Variable in class org.springframework.beans.factory.InjectionPoint
- FieldRetrievingFactoryBean - Class in org.springframework.beans.factory.config
-
FactoryBean
which retrieves a static or non-static field value. - FieldRetrievingFactoryBean() - Constructor for class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
- FileEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.io.File
, to directly populate a File property from a Spring resource location. - FileEditor() - Constructor for class org.springframework.beans.propertyeditors.FileEditor
-
Create a new FileEditor, using a default ResourceEditor underneath.
- FileEditor(ResourceEditor) - Constructor for class org.springframework.beans.propertyeditors.FileEditor
-
Create a new FileEditor, using the given ResourceEditor underneath.
- filterPropertyDescriptorsForDependencyCheck(BeanWrapper) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Extract a filtered set of PropertyDescriptors from the given BeanWrapper, excluding ignored dependency types or properties defined on ignored dependency interfaces.
- filterPropertyDescriptorsForDependencyCheck(BeanWrapper, boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Extract a filtered set of PropertyDescriptors from the given BeanWrapper, excluding ignored dependency types or properties defined on ignored dependency interfaces.
- findAllAnnotationsOnBean(String, Class<A>, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Find all
Annotation
instances ofannotationType
on the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any). - findAllAnnotationsOnBean(String, Class<A>, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- findAllAnnotationsOnBean(String, Class<A>, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- findAnnotationOnBean(String, Class<A>) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Find an
Annotation
ofannotationType
on the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any). - findAnnotationOnBean(String, Class<A>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- findAnnotationOnBean(String, Class<A>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- findAnnotationOnBean(String, Class<A>, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Find an
Annotation
ofannotationType
on the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any). - findAnnotationOnBean(String, Class<A>, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- findAnnotationOnBean(String, Class<A>, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- findAutowireCandidates(String, Class<?>, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Find bean instances that match the required type.
- findByBeanName(String) - Method in class org.springframework.beans.factory.aot.AotServices
-
Find the AOT service that was loaded for the given bean name.
- findCustomEditor(Class<?>, String) - Method in interface org.springframework.beans.PropertyEditorRegistry
-
Find a custom property editor for the given type and property.
- findCustomEditor(Class<?>, String) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
- findDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.beans.BeanUtils
-
Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.
- findDeclaredMethodWithMinimalParameters(Class<?>, String) - Static method in class org.springframework.beans.BeanUtils
-
Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.
- findEditorByConvention(Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (e.g.
- findMatchingMethod() - Method in class org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
This implementation looks for a method with matching parameter types.
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.beans.BeanUtils
-
Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.
- findMethodWithMinimalParameters(Class<?>, String) - Static method in class org.springframework.beans.BeanUtils
-
Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.
- findMethodWithMinimalParameters(Method[], String) - Static method in class org.springframework.beans.BeanUtils
-
Find a method with the given method name and minimal parameters (best case: none) in the given list of methods.
- findPrimaryConstructor(Class<T>) - Static method in class org.springframework.beans.BeanUtils
-
Return the primary constructor of the provided class.
- findPropertyForMethod(Method) - Static method in class org.springframework.beans.BeanUtils
-
Find a JavaBeans
PropertyDescriptor
for the given method, with the method either being the read method or the write method for that bean property. - findPropertyForMethod(Method, Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Find a JavaBeans
PropertyDescriptor
for the given method, with the method either being the read method or the write method for that bean property. - findPropertyType(String, Class<?>...) - Static method in class org.springframework.beans.BeanUtils
-
Determine the bean property type for the given property from the given classes/interfaces, if possible.
- findValue(Annotation[]) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Determine a suggested value from any of the given candidate annotations.
- fireAliasRegistered(String, String, Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Fire an alias-registered event.
- fireComponentRegistered(ComponentDefinition) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Fire a component-registered event.
- fireDefaultsRegistered(DefaultsDefinition) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Fire a defaults-registered event.
- fireImportProcessed(String, Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Fire an import-processed event.
- fireImportProcessed(String, Resource[], Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Fire an import-processed event.
- FIRST_FOUND - Enum constant in enum class org.springframework.beans.factory.config.YamlProcessor.ResolutionMethod
-
Take the first resource in the list that exists and use just that.
- forBeanPropertyAccess(Object) - Static method in class org.springframework.beans.PropertyAccessorFactory
-
Obtain a BeanWrapper for the given target object, accessing properties in JavaBeans style.
- forConstructor(Class<?>...) - Static method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
-
Create a
BeanInstanceSupplier
that resolves arguments for the specified bean constructor. - forDirectFieldAccess(Object) - Static method in class org.springframework.beans.PropertyAccessorFactory
-
Obtain a PropertyAccessor for the given target object, accessing properties in direct field style.
- forElements(Collection<InjectionMetadata.InjectedElement>, Class<?>) - Static method in class org.springframework.beans.factory.annotation.InjectionMetadata
-
Return an
InjectionMetadata
instance, possibly for empty elements. - forFactoryMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
-
Create a new
BeanInstanceSupplier
that resolves arguments for the specified factory method. - forFallbackMatch() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Return a variant of this descriptor that is intended for a fallback match.
- forField(String) - Static method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Create a new
AutowiredFieldValueResolver
for the specified field where injection is optional. - forField(String, Class<?>) - Static method in class org.springframework.beans.PropertyMatches
-
Create PropertyMatches for the given field property.
- forField(String, Class<?>, int) - Static method in class org.springframework.beans.PropertyMatches
-
Create PropertyMatches for the given field property.
- forMethod(String, Class<?>...) - Static method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
-
Create a new
AutowiredMethodArgumentsResolver
for the specified method where injection is optional. - forProperty(String, Class<?>) - Static method in class org.springframework.beans.PropertyMatches
-
Create PropertyMatches for the given bean property.
- forProperty(String, Class<?>, int) - Static method in class org.springframework.beans.PropertyMatches
-
Create PropertyMatches for the given bean property.
- forRequiredField(String) - Static method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Create a new
AutowiredFieldValueResolver
for the specified field where injection is required. - forRequiredMethod(String, Class<?>...) - Static method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
-
Create a new
AutowiredMethodArgumentsResolver
for the specified method where injection is required. - FOUND - Enum constant in enum class org.springframework.beans.factory.config.YamlProcessor.MatchStatus
-
A match was found.
- freezeConfiguration() - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Freeze all bean definitions, signalling that the registered bean definitions will not be modified or post-processed any further.
- freezeConfiguration() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
G
- generateBeanName(BeanDefinition) - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Call the bean name generator for the given bean definition.
- generateBeanName(BeanDefinition, BeanDefinitionRegistry) - Static method in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Generate a bean name for the given top-level bean definition, unique within the given bean factory.
- generateBeanName(BeanDefinition, BeanDefinitionRegistry) - Method in interface org.springframework.beans.factory.support.BeanNameGenerator
-
Generate a bean name for the given bean definition.
- generateBeanName(BeanDefinition, BeanDefinitionRegistry) - Method in class org.springframework.beans.factory.support.DefaultBeanNameGenerator
- generateBeanName(BeanDefinition, BeanDefinitionRegistry, boolean) - Static method in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Generate a bean name for the given bean definition, unique within the given bean factory.
- generateCode(Class<?>[]) - Method in class org.springframework.beans.factory.aot.AutowiredArgumentsCodeGenerator
- generateCode(Class<?>[], int) - Method in class org.springframework.beans.factory.aot.AutowiredArgumentsCodeGenerator
- generateCode(Class<?>[], int, String) - Method in class org.springframework.beans.factory.aot.AutowiredArgumentsCodeGenerator
- generateCode(RegisteredBean, Executable) - Method in class org.springframework.beans.factory.aot.InstanceSupplierCodeGenerator
-
Generate the instance supplier code.
- GENERATED_BEAN_NAME_SEPARATOR - Static variable in class org.springframework.beans.factory.BeanFactoryUtils
-
Separator for generated bean names.
- GENERATED_BEAN_NAME_SEPARATOR - Static variable in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Separator for generated bean names.
- generateInstanceSupplierCode(GenerationContext, BeanRegistrationCode, boolean) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
Generate the instance supplier code.
- generateInstanceSupplierCode(GenerationContext, BeanRegistrationCode, boolean) - Method in class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- generateNewBeanDefinitionCode(GenerationContext, ResolvableType, BeanRegistrationCode) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
Generate the code that defines the new bean definition instance.
- generateNewBeanDefinitionCode(GenerationContext, ResolvableType, BeanRegistrationCode) - Method in class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- generateReturnCode(GenerationContext, BeanRegistrationCode) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
Generate the return statement.
- generateReturnCode(GenerationContext, BeanRegistrationCode) - Method in class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- generateSetBeanDefinitionPropertiesCode(GenerationContext, BeanRegistrationCode, RootBeanDefinition, Predicate<String>) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
Generate the code that sets the properties of the bean definition.
- generateSetBeanDefinitionPropertiesCode(GenerationContext, BeanRegistrationCode, RootBeanDefinition, Predicate<String>) - Method in class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- generateSetBeanInstanceSupplierCode(GenerationContext, BeanRegistrationCode, CodeBlock, List<MethodReference>) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
Generate the code that sets the instance supplier on the bean definition.
- generateSetBeanInstanceSupplierCode(GenerationContext, BeanRegistrationCode, CodeBlock, List<MethodReference>) - Method in class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- genericBeanDefinition() - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aGenericBeanDefinition
. - genericBeanDefinition(Class<?>) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aGenericBeanDefinition
. - genericBeanDefinition(Class<T>, Supplier<T>) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aGenericBeanDefinition
. - genericBeanDefinition(String) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aGenericBeanDefinition
. - GenericBeanDefinition - Class in org.springframework.beans.factory.support
-
GenericBeanDefinition is a one-stop shop for declarative bean definition purposes.
- GenericBeanDefinition() - Constructor for class org.springframework.beans.factory.support.GenericBeanDefinition
-
Create a new GenericBeanDefinition, to be configured through its bean properties and configuration methods.
- GenericBeanDefinition(BeanDefinition) - Constructor for class org.springframework.beans.factory.support.GenericBeanDefinition
-
Create a new GenericBeanDefinition as deep copy of the given bean definition.
- GenericTypeAwareAutowireCandidateResolver - Class in org.springframework.beans.factory.support
-
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. - GenericTypeAwareAutowireCandidateResolver() - Constructor for class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
- get(int) - Method in interface org.springframework.beans.factory.aot.AutowiredArguments
-
Return the resolved argument at the specified index.
- get(int, Class<T>) - Method in interface org.springframework.beans.factory.aot.AutowiredArguments
-
Return the resolved argument at the specified index.
- get(String) - Method in class org.springframework.beans.MutablePropertyValues
-
Get the raw property value, if any.
- get(String, ObjectFactory<?>) - Method in interface org.springframework.beans.factory.config.Scope
-
Return the object with the given name from the underlying scope,
creating it
if not found in the underlying storage mechanism. - get(RegisteredBean) - Method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
- get(RegisteredBean) - Method in interface org.springframework.beans.factory.support.InstanceSupplier
-
Get the supplied instance.
- getActualBeanClass(RootBeanDefinition, String, BeanFactory) - Method in class org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy
- getActualBeanClass(RootBeanDefinition, String, BeanFactory) - Method in interface org.springframework.beans.factory.support.InstantiationStrategy
-
Determine the actual class for the given bean definition, as instantiated at runtime.
- getActualResources() - Method in class org.springframework.beans.factory.parsing.ImportDefinition
- getActualType() - Method in exception org.springframework.beans.factory.BeanNotOfRequiredTypeException
-
Return the actual type of the instance found.
- getAlias() - Method in class org.springframework.beans.factory.parsing.AliasDefinition
-
Return the alias registered for the bean.
- getAliases() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Return the alias names for the bean, as specified directly for the bean definition.
- getAliases(String) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return the aliases for the given bean name, if any.
- getAliases(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getAliases(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getAnnotatedElement() - Method in class org.springframework.beans.factory.InjectionPoint
-
Return the wrapped annotated element.
- getAnnotation(Class<A>) - Method in class org.springframework.beans.factory.InjectionPoint
-
Retrieve a field/parameter annotation of the given type, if any.
- getAnnotations() - Method in class org.springframework.beans.factory.InjectionPoint
-
Obtain the annotations associated with the wrapped field or method/constructor parameter.
- getApplicationStartup() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the
ApplicationStartup
for this bean factory. - getApplicationStartup() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getArgumentCount() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Return the number of argument values held in this instance, counting both indexed and generic argument values.
- getArgumentValue(int, Class<?>) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.
- getArgumentValue(int, Class<?>, String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.
- getArgumentValue(int, Class<?>, String, Set<ConstructorArgumentValues.ValueHolder>) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.
- getAsText() - Method in class org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.CharacterEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.CharArrayPropertyEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.CharsetEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.ClassArrayEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.ClassEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.CurrencyEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.CustomBooleanEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
This implementation returns
null
to indicate that there is no appropriate text representation. - getAsText() - Method in class org.springframework.beans.propertyeditors.CustomDateEditor
-
Format the Date as String, using the specified DateFormat.
- getAsText() - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
This implementation returns
null
to indicate that there is no appropriate text representation. - getAsText() - Method in class org.springframework.beans.propertyeditors.CustomNumberEditor
-
Format the Number as String, using the specified NumberFormat.
- getAsText() - Method in class org.springframework.beans.propertyeditors.FileEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.InputSourceEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.InputStreamEditor
-
This implementation returns
null
to indicate that there is no appropriate text representation. - getAsText() - Method in class org.springframework.beans.propertyeditors.LocaleEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.PathEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.PatternEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.ReaderEditor
-
This implementation returns
null
to indicate that there is no appropriate text representation. - getAsText() - Method in class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.StringTrimmerEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.TimeZoneEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.URIEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.URLEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.UUIDEditor
- getAsText() - Method in class org.springframework.beans.propertyeditors.ZoneIdEditor
- getAttribute(String) - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
- getAutoGrowCollectionLimit() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Return the limit for array and collection auto-growing.
- getAutoGrowCollectionLimit() - Method in interface org.springframework.beans.BeanWrapper
-
Return the limit for array and collection auto-growing.
- getAutowire() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Return the default autowire setting for the document that's currently parsed.
- getAutowireCandidatePatterns() - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Return any patterns provided in the 'default-autowire-candidates' attribute of the top-level
<beans/>
element. - getAutowireCandidateResolver() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return the autowire candidate resolver for this BeanFactory (never
null
). - getAutowireCandidates() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Return the default autowire-candidate pattern for the document that's currently parsed.
- getAutowireMode() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the autowire mode as specified in the bean definition.
- getAutowireMode() - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Return the default autowire mode.
- getAutowireMode() - Method in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Return one of the constants
BeanWiringInfo.AUTOWIRE_BY_NAME
/BeanWiringInfo.AUTOWIRE_BY_TYPE
, if autowiring is indicated. - getAutowireMode(String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse the given autowire attribute value into
AbstractBeanDefinition
autowire constants. - getBean(Class<T>) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return the bean instance that uniquely matches the given object type, if any.
- getBean(Class<T>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBean(Class<T>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBean(Class<T>, Object...) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return an instance, which may be shared or independent, of the specified bean.
- getBean(Class<T>, Object...) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBean(Class<T>, Object...) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBean(String) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return an instance, which may be shared or independent, of the specified bean.
- getBean(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getBean(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBean(String, Class<T>) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return an instance, which may be shared or independent, of the specified bean.
- getBean(String, Class<T>) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getBean(String, Class<T>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBean(String, Class<T>, Object...) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return an instance, which may be shared or independent, of the specified bean.
- getBean(String, Object...) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return an instance, which may be shared or independent, of the specified bean.
- getBean(String, Object...) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getBean(String, Object...) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanClass() - Method in exception org.springframework.beans.BeanInstantiationException
-
Return the offending bean class (never
null
). - getBeanClass() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the specified class of the bean definition (assuming it is resolved already).
- getBeanClass() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return the user-defined class of the bean.
- getBeanClass() - Method in exception org.springframework.beans.InvalidPropertyException
-
Return the offending bean class.
- getBeanClass(Element) - Method in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Determine the bean class corresponding to the supplied
Element
. - getBeanClassLoader() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return this factory's class loader for loading bean classes (only
null
if even the system ClassLoader isn't accessible). - getBeanClassLoader() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- getBeanClassLoader() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getBeanClassLoader() - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Return the class loader to use for bean classes.
- getBeanClassLoader() - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Return the bean class loader to use, if any.
- getBeanClassName() - Method in exception org.springframework.beans.factory.CannotLoadBeanClassException
-
Return the name of the class we were trying to load.
- getBeanClassName() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the current bean class name of this bean definition.
- getBeanClassName() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the current bean class name of this bean definition.
- getBeanClassName(Element) - Method in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Determine the bean class name corresponding to the supplied
Element
. - getBeanDefinition() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Return the wrapped BeanDefinition.
- getBeanDefinition() - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Validate and return the created BeanDefinition object.
- getBeanDefinition() - Method in exception org.springframework.beans.factory.support.BeanDefinitionOverrideException
-
Return the newly registered bean definition.
- getBeanDefinition(String) - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Return the registered BeanDefinition for the specified bean, allowing access to its property values and constructor argument value (which can be modified during bean factory post-processing).
- getBeanDefinition(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return the bean definition for the given bean name.
- getBeanDefinition(String) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Return the BeanDefinition for the given bean name.
- getBeanDefinition(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanDefinition(String) - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- getBeanDefinitionCount() - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the number of beans defined in the factory.
- getBeanDefinitionCount() - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Return the number of beans defined in the registry.
- getBeanDefinitionCount() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanDefinitionCount() - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- getBeanDefinitionCount() - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanDefinitionDefaults() - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Return the default settings for bean definitions as indicated within the attributes of the top-level
<beans/>
element. - getBeanDefinitionNames() - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the names of all beans defined in this factory.
- getBeanDefinitionNames() - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Return the names of all beans defined in this registry.
- getBeanDefinitionNames() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanDefinitionNames() - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- getBeanDefinitionNames() - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanDefinitions() - Method in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
-
Returns an empty array.
- getBeanDefinitions() - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
- getBeanDefinitions() - Method in interface org.springframework.beans.factory.parsing.ComponentDefinition
-
Return the
BeanDefinitions
that were registered to form thisComponentDefinition
. - getBeanExpressionResolver() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the resolution strategy for expressions in bean definition values.
- getBeanExpressionResolver() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getBeanFactory() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Return the BeanFactory that this bean runs in.
- getBeanFactory() - Method in class org.springframework.beans.factory.config.BeanExpressionContext
- getBeanFactory() - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
- getBeanFactory() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return the bean factory containing the bean.
- getBeanInfo(Class<?>) - Method in interface org.springframework.beans.BeanInfoFactory
-
Return the bean info for the given class, if supported.
- getBeanInfo(Class<?>) - Method in class org.springframework.beans.ExtendedBeanInfoFactory
- getBeanInfo(Class<?>) - Method in class org.springframework.beans.StandardBeanInfoFactory
- getBeanInstance() - Method in class org.springframework.beans.factory.config.NamedBeanHolder
-
Return the corresponding bean instance.
- getBeanName() - Method in exception org.springframework.beans.factory.BeanCreationException
-
Return the name of the bean requested, if any.
- getBeanName() - Method in exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Return the name of the bean, if available.
- getBeanName() - Method in exception org.springframework.beans.factory.BeanNotOfRequiredTypeException
-
Return the name of the instance that was of the wrong type.
- getBeanName() - Method in exception org.springframework.beans.factory.CannotLoadBeanClassException
-
Return the name of the bean requested.
- getBeanName() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Return the primary name of the bean, as specified for the bean definition.
- getBeanName() - Method in interface org.springframework.beans.factory.config.BeanReference
-
Return the target bean name that this reference points to (never
null
). - getBeanName() - Method in class org.springframework.beans.factory.config.NamedBeanHolder
-
Return the name of the bean.
- getBeanName() - Method in class org.springframework.beans.factory.config.RuntimeBeanNameReference
- getBeanName() - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
-
Return the requested bean name, or the fully-qualified type name in case of by-type resolution.
- getBeanName() - Method in interface org.springframework.beans.factory.NamedBean
-
Return the name of this bean in a Spring bean factory, if known.
- getBeanName() - Method in exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Return the name of the missing bean, if it was a lookup by name that failed.
- getBeanName() - Method in class org.springframework.beans.factory.parsing.AliasDefinition
-
Return the canonical name of the bean.
- getBeanName() - Method in exception org.springframework.beans.factory.support.BeanDefinitionOverrideException
-
Return the name of the bean.
- getBeanName() - Method in class org.springframework.beans.factory.support.LookupOverride
-
Return the name of the bean that should be returned by this method.
- getBeanName() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return the name of the bean.
- getBeanName() - Method in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Return the specific bean name that this BeanWiringInfo points to, if any.
- getBeanNameGenerator() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- getBeanNameGenerator() - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Return the
BeanNameGenerator
to use for anonymous beans (without explicit bean name specified). - getBeanNamesForAnnotation(Class<? extends Annotation>) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Find all names of beans which are annotated with the supplied
Annotation
type, without creating corresponding bean instances yet. - getBeanNamesForAnnotation(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanNamesForAnnotation(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanNamesForType(Class<?>) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of
getObjectType
in the case of FactoryBeans. - getBeanNamesForType(Class<?>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanNamesForType(Class<?>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanNamesForType(Class<?>, boolean, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of
getObjectType
in the case of FactoryBeans. - getBeanNamesForType(Class<?>, boolean, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanNamesForType(Class<?>, boolean, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanNamesForType(ResolvableType) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of
getObjectType
in the case of FactoryBeans. - getBeanNamesForType(ResolvableType) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanNamesForType(ResolvableType) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanNamesForType(ResolvableType, boolean, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of
getObjectType
in the case of FactoryBeans. - getBeanNamesForType(ResolvableType, boolean, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanNamesForType(ResolvableType, boolean, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanNamesFound() - Method in exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Return the names of all beans found when only one matching bean was expected.
- getBeanNamesIterator() - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Return a unified view over all bean names managed by this factory.
- getBeanNamesIterator() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanPostProcessorCount() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the current number of registered BeanPostProcessors, if any.
- getBeanPostProcessorCount() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getBeanPostProcessors() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return the list of BeanPostProcessors that will get applied to beans created with this factory.
- getBeanProvider(Class<T>) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
- getBeanProvider(Class<T>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanProvider(Class<T>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanProvider(Class<T>, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
- getBeanProvider(Class<T>, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanProvider(Class<T>, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanProvider(ResolvableType) - Method in interface org.springframework.beans.factory.BeanFactory
-
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
- getBeanProvider(ResolvableType) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanProvider(ResolvableType) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanProvider(ResolvableType, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
- getBeanProvider(ResolvableType, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeanProvider(ResolvableType, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanReferences() - Method in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
-
Returns an empty array.
- getBeanReferences() - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
- getBeanReferences() - Method in interface org.springframework.beans.factory.parsing.ComponentDefinition
-
Return the set of
BeanReferences
that are considered to be important to thisComponentDefinition
. - getBeansOfType(Class<T>) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of
getObjectType
in the case of FactoryBeans. - getBeansOfType(Class<T>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeansOfType(Class<T>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeansOfType(Class<T>, boolean, boolean) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of
getObjectType
in the case of FactoryBeans. - getBeansOfType(Class<T>, boolean, boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeansOfType(Class<T>, boolean, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeansWithAnnotation(Class<? extends Annotation>) - Method in interface org.springframework.beans.factory.ListableBeanFactory
-
Find all beans which are annotated with the supplied
Annotation
type, returning a Map of bean names with corresponding bean instances. - getBeansWithAnnotation(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- getBeansWithAnnotation(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getBeanType() - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
-
Return the requested bean type if resolution by type is demanded.
- getBeanType() - Method in exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Return the required type of the missing bean, if it was a lookup by type that failed.
- getBeanType() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return the
ResolvableType
of the bean. - getBeanTypeConverter() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Obtain a bean type converter from the BeanFactory that this bean runs in.
- getBinding() - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Return a specified binding for Groovy variables, if any.
- getCachedObjectForFactoryBean(String) - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Obtain an object to expose from the given FactoryBean, if available in cached form.
- getClassName() - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCode
-
Return the name of the class being used for registrations.
- getClassName() - Method in interface org.springframework.beans.factory.aot.BeanRegistrationsCode
-
Return the name of the class being used for registrations.
- getCollectionType(int) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- getConstructingMethod() - Method in exception org.springframework.beans.BeanInstantiationException
-
Return the delegate for bean construction purposes, if known.
- getConstructor() - Method in exception org.springframework.beans.BeanInstantiationException
-
Return the offending constructor, if known.
- getConstructorArgumentValues() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the constructor argument values for this bean.
- getConstructorArgumentValues() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return constructor argument values for this bean (never
null
). - getContainingBeanDefinition() - Method in class org.springframework.beans.factory.xml.ParserContext
- getContainingComponent() - Method in class org.springframework.beans.factory.xml.ParserContext
- getConversationId() - Method in interface org.springframework.beans.factory.config.Scope
-
Return the conversation ID for the current underlying scope, if any.
- getConversionService() - Method in interface org.springframework.beans.ConfigurablePropertyAccessor
-
Return the associated ConversionService, if any.
- getConversionService() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the associated ConversionService, if any.
- getConversionService() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getConversionService() - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Return the associated ConversionService, if any.
- getConvertedValue() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Return the converted value of the constructor argument, after processed type conversion.
- getConvertedValue() - Method in class org.springframework.beans.PropertyValue
-
Return the converted value of this property value, after processed type conversion.
- getCurrentlyInvokedFactoryMethod() - Static method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
-
Return the factory method currently being invoked or
null
if none. - getCustomEditors() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return the map of custom editors, with Classes as keys and PropertyEditor classes as values.
- getCustomTypeConverter() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return the custom TypeConverter to use, if any.
- getDeclaredType() - Method in class org.springframework.beans.factory.InjectionPoint
-
Return the type declared by the underlying field or method/constructor parameter, indicating the injection type.
- getDecoratedDefinition() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Return the target definition that is being decorated by this bean definition, if any.
- getDefaultBeanName(Object) - Method in class org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver
-
Determine the default bean name for the specified bean instance.
- getDefaultEditor(Class<?>) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Retrieve the default editor for the given property type, if any.
- getDefaultParentBean() - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Return the default parent bean for this bean factory.
- getDefaults() - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Return the defaults definition object.
- getDefaultTypeConverter() - Method in class org.springframework.beans.factory.config.MethodInvokingBean
-
Obtain the TypeConverter from the BeanFactory that this bean runs in, if possible.
- getDefaultTypeConverter() - Method in class org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
Obtain the default TypeConverter for this method invoker.
- getDelegate() - Method in class org.springframework.beans.factory.xml.ParserContext
- getDependenciesForBean(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the names of all beans that the specified bean depends on, if any.
- getDependenciesForBean(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Return the names of all beans that the specified bean depends on, if any.
- getDependencyCheck() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the dependency check code.
- getDependencyCheck() - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Return the default dependency check code.
- getDependencyCheck() - Method in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Return whether to perform a dependency check for object references in the bean instance (after autowiring).
- getDependencyComparator() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return the dependency comparator for this BeanFactory (may be
null
). - getDependencyName() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Determine the name of the wrapped parameter/field.
- getDependencyType() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Determine the declared (non-generic) type of the wrapped parameter/field.
- getDependentBeans(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the names of all beans which depend on the specified bean, if any.
- getDependentBeans(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Return the names of all beans which depend on the specified bean, if any.
- getDependsOn() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the bean names that this bean depends on.
- getDependsOn() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the bean names that this bean depends on.
- getDescription() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return a human-readable description of this bean definition.
- getDescription() - Method in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
-
Delegates to
ComponentDefinition.getName()
. - getDescription() - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
- getDescription() - Method in interface org.springframework.beans.factory.parsing.ComponentDefinition
-
Return a friendly description of the described component.
- getDescription() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return a human-readable description of this bean definition.
- getDestroyMethod() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Return the default destroy-method setting for the document that's currently parsed.
- getDestroyMethodName() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the name of the destroy method.
- getDestroyMethodName() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the name of the destroy method (the first one in case of multiple methods).
- getDestroyMethodName() - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Return the name of the default destroy method.
- getDestroyMethodNames() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the names of the destroy methods.
- getEarlyBeanReference(Object, String) - Method in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
-
Obtain a reference for early access to the specified bean, typically for the purpose of resolving a circular reference.
- getEarlyBeanReference(String, RootBeanDefinition, Object) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Obtain a reference for early access to the specified bean, typically for the purpose of resolving a circular reference.
- getEarlySingletonInterfaces() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Return an array of interfaces that a singleton object exposed by this FactoryBean is supposed to implement, for use with an 'early singleton proxy' that will be exposed in case of a circular reference.
- getElementTypeName() - Method in class org.springframework.beans.factory.support.ManagedList
-
Return the default element type name (class name) to be used for this list.
- getElementTypeName() - Method in class org.springframework.beans.factory.support.ManagedSet
-
Return the default element type name (class name) to be used for this set.
- getEntityResolver() - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Return the EntityResolver to use, building a default resolver if none specified.
- getEnvironment() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- getEnvironment() - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Return the environment to use.
- getErrorCode() - Method in exception org.springframework.beans.MethodInvocationException
- getErrorCode() - Method in exception org.springframework.beans.PropertyAccessException
-
Return a corresponding error code for this type of exception.
- getErrorCode() - Method in exception org.springframework.beans.TypeMismatchException
- getExceptionCount() - Method in exception org.springframework.beans.PropertyBatchUpdateException
-
If this returns 0, no errors were encountered during binding.
- getExistingDefinition() - Method in exception org.springframework.beans.factory.support.BeanDefinitionOverrideException
-
Return the existing bean definition for the same name.
- getExternallyManagedConfigMembers() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Get all externally managed configuration methods and fields (as an immutable Set).
- getExternallyManagedDestroyMethods() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Get all externally managed destruction methods (as an immutable Set).
- getExternallyManagedInitMethods() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Get all externally managed initialization methods (as an immutable Set).
- getFactoryBean(String, Object) - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Get a FactoryBean for the given bean if possible.
- getFactoryBeanName() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the factory bean name, if any.
- getFactoryBeanName() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the factory bean name, if any.
- getFactoryMethod() - Method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
- getFactoryMethod() - Method in interface org.springframework.beans.factory.support.InstanceSupplier
-
Return the factory method that this supplier uses to create the instance, or
null
if it is not known or this supplier uses another means. - getFactoryMethodAnnotation(RootBeanDefinition, Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
- getFactoryMethodMetadata() - Method in interface org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
-
Obtain metadata for this bean definition's factory method, if any.
- getFactoryMethodMetadata() - Method in class org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition
- getFactoryMethodName() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return a factory method, if any.
- getFactoryMethodName() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return a factory method, if any.
- getField() - Method in class org.springframework.beans.factory.InjectionPoint
-
Return the wrapped Field, if any.
- getFinalPath(AbstractNestablePropertyAccessor, String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Get the last component of the path.
- getFirstElementOnPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the element index of the first element on the current page.
- getFirstLinkedPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the first page to which create a link around the current page.
- getFirstNestedPropertySeparatorIndex(String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Determine the first nested property separator in the given property path, ignoring dots in keys (like "map[my.key]").
- getFlattenedMap(Map<String, Object>) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Return a flattened version of the given map, recursively following any nested Map or Collection values.
- getGenericArgumentValue(Class<?>) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Look for a generic argument value that matches the given type.
- getGenericArgumentValue(Class<?>, String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Look for a generic argument value that matches the given type.
- getGenericArgumentValue(Class<?>, String, Set<ConstructorArgumentValues.ValueHolder>) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.
- getGenericArgumentValues() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Return the list of generic argument values.
- getIfAvailable() - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getIfAvailable(Supplier<T>) - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getIfUnique() - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getIfUnique(Supplier<T>) - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getImportedResource() - Method in class org.springframework.beans.factory.parsing.ImportDefinition
-
Return the location of the imported resource.
- getIndexedArgumentValue(int, Class<?>) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Get argument value for the given index in the constructor argument list.
- getIndexedArgumentValue(int, Class<?>, String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Get argument value for the given index in the constructor argument list.
- getIndexedArgumentValues() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Return the map of indexed argument values.
- getInitMethod() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Return the default init-method setting for the document that's currently parsed.
- getInitMethodName() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the name of the initializer method.
- getInitMethodName() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the name of the initializer method (the first one in case of multiple methods).
- getInitMethodName() - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Return the name of the default initializer method.
- getInitMethodNames() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the names of the initializer methods.
- getInjectedElements() - Method in class org.springframework.beans.factory.annotation.InjectionMetadata
-
Return the
elements
to inject. - getInjectedElements(PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata
-
Return the
elements
to inject based on the specifiedPropertyValues
. - getInjectionPoint() - Method in exception org.springframework.beans.factory.UnsatisfiedDependencyException
-
Return the injection point (field or method/constructor parameter), if known.
- getInnerBeanDefinitions() - Method in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
-
Returns an empty array.
- getInnerBeanDefinitions() - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
- getInnerBeanDefinitions() - Method in interface org.springframework.beans.factory.parsing.ComponentDefinition
-
Return the
BeanDefinitions
that represent all relevant inner beans within this component. - getInstanceSupplier() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return a callback for creating an instance of the bean, if any.
- getInstantiationStrategy() - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Return the instantiation strategy to use for creating bean instances.
- getKeyTypeName() - Method in class org.springframework.beans.factory.support.ManagedMap
-
Return the default key type name (class name) to be used for this map.
- getLastElementOnPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the element index of the last element on the current page.
- getLastLinkedPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the last page to which create a link around the current page.
- getLastNestedPropertySeparatorIndex(String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Determine the first nested property separator in the given property path, ignoring dots in keys (like "map[my.key]").
- getLazyInit() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean should be lazily initialized, i.e.
- getLazyInit() - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Return whether beans should be lazily initialized by default, i.e.
- getLazyInit() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Return the default lazy-init flag for the document that's currently parsed.
- getLazyResolutionProxyClass(DependencyDescriptor, String) - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point.
- getLazyResolutionProxyClass(DependencyDescriptor, String) - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- getLazyResolutionProxyIfNecessary(DependencyDescriptor, String) - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.
- getLazyResolutionProxyIfNecessary(DependencyDescriptor, String) - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- getLineNumber() - Method in exception org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
-
Return the line number in the XML resource that failed.
- getLocalName(Node) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Get the local name for the supplied
Node
. - getLocalPropertyHandler(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Return a
AbstractNestablePropertyAccessor.PropertyHandler
for the specified localpropertyName
. - getLocalPropertyHandler(String) - Method in class org.springframework.beans.BeanWrapperImpl
- getLocalPropertyHandler(String) - Method in class org.springframework.beans.DirectFieldAccessor
- getLocation() - Method in class org.springframework.beans.factory.parsing.Problem
-
Get the location within a bean configuration source that triggered the error.
- getLongDescription() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Return a long description for the bean, including name and aliases as well as a description of the contained
BeanDefinition
. - getMapKeyType(int) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- getMapValueType(int) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- getMaxLinkedPages() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the maximum number of page links to a few pages around the current one.
- getMember() - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- getMember() - Method in class org.springframework.beans.factory.InjectionPoint
-
Returns the wrapped member, containing the injection point.
- getMerge() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Return the default merge setting for the document that's currently parsed.
- getMergedBeanDefinition() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return the merged bean definition of the bean.
- getMergedBeanDefinition(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return a merged BeanDefinition for the given bean name, merging a child bean definition with its parent if necessary.
- getMergedBeanDefinition(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return a 'merged' BeanDefinition for the given bean name, merging a child bean definition with its parent if necessary.
- getMergedBeanDefinition(String, BeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return a RootBeanDefinition for the given top-level bean, by merging with the parent if the given bean's definition is a child bean definition.
- getMergedBeanDefinition(String, BeanDefinition, BeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return a RootBeanDefinition for the given bean, by merging with the parent if the given bean's definition is a child bean definition.
- getMergedLocalBeanDefinition(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return a merged RootBeanDefinition, traversing the parent bean definition if the specified bean corresponds to a child bean definition.
- getMessage() - Method in class org.springframework.beans.factory.parsing.Problem
-
Get the message detailing the problem.
- getMessage() - Method in exception org.springframework.beans.PropertyBatchUpdateException
- getMetaClass() - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
- getMetadata() - Method in interface org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
-
Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.
- getMetadata() - Method in class org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition
- getMetadataAttribute(String) - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
-
Look up the given BeanMetadataAttribute in this accessor's set of attributes.
- getMethodName() - Method in class org.springframework.beans.factory.support.MethodOverride
-
Return the name of the method to be overridden.
- getMethodOverrides() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return information about methods to be overridden by the IoC container.
- getMethodParameter() - Method in class org.springframework.beans.factory.InjectionPoint
-
Return the wrapped MethodParameter, if any.
- getMethodReplacerBeanName() - Method in class org.springframework.beans.factory.support.ReplaceOverride
-
Return the name of the bean implementing MethodReplacer.
- getMethods() - Method in interface org.springframework.beans.factory.aot.BeanFactoryInitializationCode
-
Get the
GeneratedMethods
used by the initializing code. - getMethods() - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCode
-
Return a
GeneratedMethods
being used by the registrations code. - getMethods() - Method in interface org.springframework.beans.factory.aot.BeanRegistrationsCode
-
Return a
GeneratedMethods
being used by the registrations code. - getMostSpecific(YamlProcessor.MatchStatus, YamlProcessor.MatchStatus) - Static method in enum class org.springframework.beans.factory.config.YamlProcessor.MatchStatus
-
Compare two
YamlProcessor.MatchStatus
items, returning the most specific status. - getName() - Method in class org.springframework.beans.BeanMetadataAttribute
-
Return the name of the attribute.
- getName() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Return the name of the constructor argument.
- getName() - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
- getName() - Method in interface org.springframework.beans.factory.parsing.ComponentDefinition
-
Get the user-visible name of this
ComponentDefinition
. - getName() - Method in class org.springframework.beans.factory.parsing.CompositeComponentDefinition
- getName() - Method in class org.springframework.beans.PropertyValue
-
Return the name of the property.
- getNamespaceHandlerResolver() - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Lazily create a default NamespaceHandlerResolver, if not set before.
- getNamespaceHandlerResolver() - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Return the namespace resolver.
- getNamespaceURI(Node) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Get the namespace URI for the supplied node.
- getNestedComponents() - Method in class org.springframework.beans.factory.parsing.CompositeComponentDefinition
-
Return the nested components that this composite component holds.
- getNestedPath() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Return the nested path of the object wrapped by this accessor.
- getNrOfElements() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the total number of elements in the source list.
- getNumberOfBeansFound() - Method in exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Return the number of beans found when only one matching bean was expected.
- getNumberOfBeansFound() - Method in exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Return the number of beans found when only one matching bean was expected.
- getObject() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Expose the singleton instance or create a new prototype instance.
- getObject() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
- getObject() - Method in class org.springframework.beans.factory.config.MethodInvokingFactoryBean
-
Returns the same value each time if the singleton property is set to "true", otherwise returns the value returned from invoking the specified method on the fly.
- getObject() - Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
- getObject() - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
- getObject() - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
- getObject() - Method in class org.springframework.beans.factory.config.YamlMapFactoryBean
- getObject() - Method in class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
- getObject() - Method in interface org.springframework.beans.factory.FactoryBean
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getObject() - Method in interface org.springframework.beans.factory.ObjectFactory
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getObject(int) - Method in interface org.springframework.beans.factory.aot.AutowiredArguments
-
Return the resolved argument at the specified index.
- getObject(Object...) - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return an instance (possibly shared or independent) of the object managed by this factory.
- getObject(String) - Method in class org.springframework.beans.factory.config.BeanExpressionContext
- getObjectForBeanInstance(Object, String, String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Overridden in order to implicitly register the currently created bean as dependent on further beans getting programmatically retrieved during a
Supplier
callback. - getObjectForBeanInstance(Object, String, String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Get the object for the given bean instance, either the bean instance itself or its created object in case of a FactoryBean.
- getObjectFromFactoryBean(FactoryBean<?>, String, boolean) - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Obtain an object to expose from the given FactoryBean.
- getObjectToExpose(ServiceLoader<?>) - Method in class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean
-
Determine the actual object to expose for the given ServiceLoader.
- getObjectToExpose(ServiceLoader<?>) - Method in class org.springframework.beans.factory.serviceloader.ServiceFactoryBean
- getObjectToExpose(ServiceLoader<?>) - Method in class org.springframework.beans.factory.serviceloader.ServiceListFactoryBean
- getObjectToExpose(ServiceLoader<?>) - Method in class org.springframework.beans.factory.serviceloader.ServiceLoaderFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods.
- getObjectType() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.ListFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.MapFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.MethodInvokingFactoryBean
-
Return the type of object that this FactoryBean creates, or
null
if not known in advance. - getObjectType() - Method in class org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.ProviderCreatingFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.SetFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.YamlMapFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
- getObjectType() - Method in interface org.springframework.beans.factory.FactoryBean
-
Return the type of object that this FactoryBean creates, or
null
if not known in advance. - getObjectType() - Method in class org.springframework.beans.factory.serviceloader.ServiceFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.serviceloader.ServiceListFactoryBean
- getObjectType() - Method in class org.springframework.beans.factory.serviceloader.ServiceLoaderFactoryBean
- getOrder() - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- getOrder() - Method in class org.springframework.beans.factory.annotation.CustomAutowireConfigurer
- getOrder() - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- getOrder() - Method in class org.springframework.beans.factory.config.CustomEditorConfigurer
- getOrder() - Method in class org.springframework.beans.factory.config.CustomScopeConfigurer
- getOrder() - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
- getOrder() - Method in class org.springframework.beans.StandardBeanInfoFactory
- getOriginalPropertyValue() - Method in class org.springframework.beans.PropertyValue
-
Return the original PropertyValue instance for this value holder.
- getOriginatingBeanDefinition() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the originating BeanDefinition, or
null
if none. - getOriginatingBeanDefinition() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the originating BeanDefinition, or
null
if none. - getOverride(Method) - Method in class org.springframework.beans.factory.support.MethodOverrides
-
Return the override for the given method, if any.
- getOverrides() - Method in class org.springframework.beans.factory.support.MethodOverrides
-
Return all method overrides contained by this object.
- getPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the current page number.
- getPageCount() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the number of pages for the current source list.
- getPageList() - Method in class org.springframework.beans.support.PagedListHolder
-
Return a sub-list representing the current page.
- getPageSize() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the current page size.
- getParameterNameDiscoverer() - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Return the ParameterNameDiscoverer to use for resolving method parameter names if needed.
- getParameterNames(Constructor<?>) - Static method in class org.springframework.beans.BeanUtils
-
Determine required parameter names for the given constructor, considering the JavaBeans
ConstructorProperties
annotation as well as Spring'sDefaultParameterNameDiscoverer
. - getParent() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return the parent of this instance or
null
if not an inner-bean. - getParentBeanFactory() - Method in interface org.springframework.beans.factory.HierarchicalBeanFactory
-
Return the parent bean factory, or
null
if there is none. - getParentBeanFactory() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getParentName() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the name of the parent definition of this bean definition, if any.
- getParentName() - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- getParentName() - Method in class org.springframework.beans.factory.support.GenericBeanDefinition
- getParentName() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
- getParentName(Element) - Method in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Determine the name for the parent of the currently parsed bean, in case of the current bean being defined as a child bean.
- getParseState() - Method in class org.springframework.beans.factory.parsing.Problem
-
Get the
ParseState
at the time of the error (may benull
). - getPossibleMatches() - Method in exception org.springframework.beans.NotWritablePropertyException
-
Return suggestions for actual bean property names that closely match the invalid property name, if any.
- getPossibleMatches() - Method in class org.springframework.beans.PropertyMatches
-
Return the calculated possible matches.
- getPreferredConstructors() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Determine preferred constructors to use for default construction, if any.
- getPriority(Object) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return the priority assigned for the given bean instance by the
jakarta.annotation.Priority
annotation. - getPropertiesPersister() - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Return the PropertiesPersister to use for parsing properties files.
- getProperty() - Method in class org.springframework.beans.support.MutableSortDefinition
- getProperty() - Method in interface org.springframework.beans.support.SortDefinition
-
Return the name of the bean property to compare.
- getProperty(String) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
This method overrides property retrieval in the scope of the
GroovyBeanDefinitionReader
. - getPropertyAccessException(String) - Method in exception org.springframework.beans.PropertyBatchUpdateException
-
Return the exception for this field, or
null
if there isn't any. - getPropertyAccessExceptions() - Method in exception org.springframework.beans.PropertyBatchUpdateException
-
Return an array of the propertyAccessExceptions stored in this object.
- getPropertyAccessorForPropertyPath(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Recursively navigate to return a property accessor for the nested property path.
- getPropertyChangeEvent() - Method in exception org.springframework.beans.PropertyAccessException
-
Return the PropertyChangeEvent that resulted in the problem.
- getPropertyDescriptor(Class<?>, String) - Static method in class org.springframework.beans.BeanUtils
-
Retrieve the JavaBeans
PropertyDescriptors
for the given property. - getPropertyDescriptor(String) - Method in interface org.springframework.beans.BeanWrapper
-
Obtain the property descriptor for a specific property of the wrapped object.
- getPropertyDescriptor(String) - Method in class org.springframework.beans.BeanWrapperImpl
- getPropertyDescriptors() - Method in interface org.springframework.beans.BeanWrapper
-
Obtain the PropertyDescriptors for the wrapped object (as determined by standard JavaBeans introspection).
- getPropertyDescriptors() - Method in class org.springframework.beans.BeanWrapperImpl
- getPropertyDescriptors(Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Retrieve the JavaBeans
PropertyDescriptor
s of a given class. - getPropertyEditorRegistrars() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return the set of PropertyEditorRegistrars.
- getPropertyHandler(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Return the
AbstractNestablePropertyAccessor.PropertyHandler
for the specifiedpropertyName
, navigating if necessary. - getPropertyName() - Method in exception org.springframework.beans.InvalidPropertyException
-
Return the name of the offending property.
- getPropertyName() - Method in exception org.springframework.beans.PropertyAccessException
-
Return the name of the affected property, if available.
- getPropertyName() - Method in class org.springframework.beans.PropertyMatches
-
Return the name of the requested property.
- getPropertyName() - Method in exception org.springframework.beans.TypeMismatchException
-
Return the name of the affected property, if available.
- getPropertyName(String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Return the actual property name for the given property path.
- getPropertyType() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- getPropertyType(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- getPropertyType(String) - Method in class org.springframework.beans.AbstractPropertyAccessor
- getPropertyType(String) - Method in interface org.springframework.beans.PropertyAccessor
-
Determine the property type for the specified property, either checking the property descriptor or checking the value in case of an indexed or mapped element.
- getPropertyType(String) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Determine the property type for the given property path.
- getPropertyTypeDescriptor(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- getPropertyTypeDescriptor(String) - Method in interface org.springframework.beans.PropertyAccessor
-
Return a type descriptor for the specified property: preferably from the read method, falling back to the write method.
- getPropertyValue(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- getPropertyValue(String) - Method in class org.springframework.beans.AbstractPropertyAccessor
-
Actually get the value of a property.
- getPropertyValue(String) - Method in class org.springframework.beans.MutablePropertyValues
- getPropertyValue(String) - Method in interface org.springframework.beans.PropertyAccessor
-
Get the current value of the specified property.
- getPropertyValue(String) - Method in interface org.springframework.beans.PropertyValues
-
Return the property value with the given name, if any.
- getPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- getPropertyValueList() - Method in class org.springframework.beans.MutablePropertyValues
-
Return the underlying List of PropertyValue objects in its raw form.
- getPropertyValues() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the property values to be applied to a new instance of the bean.
- getPropertyValues() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return property values for this bean (never
null
). - getPropertyValues() - Method in class org.springframework.beans.MutablePropertyValues
- getPropertyValues() - Method in interface org.springframework.beans.PropertyValues
-
Return an array of the PropertyValue objects held in this object.
- getQualifiedElement() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Return the
AnnotatedElement
defining qualifiers, if any. - getQualifiedElementAnnotation(RootBeanDefinition, Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
- getQualifier(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the qualifier mapped to the provided type name.
- getQualifiers() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return all registered qualifiers.
- getRawBeanDefinition() - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Return the current BeanDefinition object in its raw (unvalidated) form.
- getReader() - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Return the XML bean definition reader in use.
- getReaderContext() - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Get the
XmlReaderContext
associated with this helper instance. - getReaderContext() - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Return the descriptor for the XML resource that this parser works on.
- getReaderContext() - Method in class org.springframework.beans.factory.xml.ParserContext
- getRefreshDate() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the last time the list has been fetched from the source provider.
- getRegisteredScope(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the Scope implementation for the given scope name, if any.
- getRegisteredScope(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getRegisteredScopeNames() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the names of all currently registered scopes.
- getRegisteredScopeNames() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getRegistry() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- getRegistry() - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Return the bean factory to register the bean definitions with.
- getRegistry() - Method in class org.springframework.beans.factory.xml.ParserContext
- getRegistry() - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Return the bean definition registry to use.
- getRelatedCauses() - Method in exception org.springframework.beans.factory.BeanCreationException
-
Return the related causes, if any.
- getRequiredType() - Method in exception org.springframework.beans.factory.BeanNotOfRequiredTypeException
-
Return the expected type for the bean.
- getRequiredType() - Method in exception org.springframework.beans.TypeMismatchException
-
Return the required target type, if any.
- getResolvableConstructor(Class<T>) - Static method in class org.springframework.beans.BeanUtils
-
Return a resolvable constructor for the provided class, either a primary or single public constructor with arguments, or a single non-public constructor with arguments, or simply a default constructor.
- getResolvableType() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- getResolvableType() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return a resolvable type for this bean definition, based on the bean class or other specific metadata.
- getResolvableType() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Build a
ResolvableType
object for the wrapped parameter/field. - getResolvableType() - Method in exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Return the required
ResolvableType
of the missing bean, if it was a lookup by type that failed. - getResolvableType() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return a resolvable type for this bean definition.
- getResolvableType() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Return a
ResolvableType
for this bean definition, either from runtime-cached type information or from configuration-timeRootBeanDefinition.setTargetType(ResolvableType)
orAbstractBeanDefinition.setBeanClass(Class)
, also considering resolved factory method definitions. - getResolvedAutowireMode() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the resolved autowire code, (resolving AUTOWIRE_AUTODETECT to AUTOWIRE_CONSTRUCTOR or AUTOWIRE_BY_TYPE).
- getResolvedDecoratedDefinition(RootBeanDefinition) - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
- getResolvedFactoryMethod() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Return the resolved factory method as a Java Method object, if available.
- getResource() - Method in class org.springframework.beans.factory.parsing.Location
-
Get the resource with which this location is associated.
- getResource() - Method in class org.springframework.beans.factory.parsing.ReaderContext
- getResource() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the resource that this bean definition came from.
- getResourceDescription() - Method in exception org.springframework.beans.factory.BeanCreationException
-
Return the description of the resource that the bean definition came from, if any.
- getResourceDescription() - Method in exception org.springframework.beans.factory.BeanDefinitionStoreException
-
Return the description of the resource that the bean definition came from, if available.
- getResourceDescription() - Method in exception org.springframework.beans.factory.CannotLoadBeanClassException
-
Return the description of the resource that the bean definition came from.
- getResourceDescription() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).
- getResourceDescription() - Method in class org.springframework.beans.factory.parsing.Problem
-
Get the description of the bean configuration source that triggered the error, as contained within this Problem's Location object.
- getResourceDescription() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).
- getResourceDescription() - Method in exception org.springframework.beans.factory.support.BeanDefinitionOverrideException
-
Return the description of the resource that the bean definition came from.
- getResourceLoader() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- getResourceLoader() - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Return the
ResourceLoader
to use for resource locations. - getResourceLoader() - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Return the resource loader to use, if any.
- getResourceToInject(Object, String) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
-
Either this or
InjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden. - getResourceType() - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- getReturnTypeForFactoryMethod(RootBeanDefinition, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
- getRole() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Get the role hint for this
BeanDefinition
. - getRole() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the role hint for this
BeanDefinition
. - getRootCause() - Method in class org.springframework.beans.factory.parsing.Problem
-
Get the underlying exception that caused the error (may be
null
). - getRootClass() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Return the class of the root object at the top of the path of this accessor.
- getRootInstance() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Return the root object at the top of the path of this accessor.
- getScope() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return the name of the current target scope for this bean, or
null
if not known yet. - getScope() - Method in class org.springframework.beans.factory.config.BeanExpressionContext
- getScope() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return the name of the target scope for the bean.
- getSerializationId() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return an id for serialization purposes, if specified, allowing this BeanFactory to be deserialized from this id back into the BeanFactory object, if needed.
- getServiceType() - Method in class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean
-
Return the desired service type.
- getShortDescription() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Return a friendly, short description for the bean, stating name and aliases.
- getSingleton(String) - Method in interface org.springframework.beans.factory.config.SingletonBeanRegistry
-
Return the (raw) singleton object registered under the given name.
- getSingleton(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- getSingleton(String, boolean) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Return the (raw) singleton object registered under the given name.
- getSingleton(String, ObjectFactory<?>) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Return the (raw) singleton object registered under the given name, creating and registering a new one if none registered yet.
- getSingletonCount() - Method in interface org.springframework.beans.factory.config.SingletonBeanRegistry
-
Return the number of singleton beans registered in this registry.
- getSingletonCount() - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- getSingletonMutex() - Method in interface org.springframework.beans.factory.config.SingletonBeanRegistry
-
Return the singleton mutex used by this registry (for external collaborators).
- getSingletonMutex() - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Exposes the singleton mutex to subclasses and external collaborators.
- getSingletonNames() - Method in interface org.springframework.beans.factory.config.SingletonBeanRegistry
-
Return the names of singleton beans registered in this registry.
- getSingletonNames() - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- getSort() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the sort definition for this holder.
- getSortDefinition() - Method in class org.springframework.beans.support.PropertyComparator
-
Return the SortDefinition that this comparator uses.
- getSource() - Method in class org.springframework.beans.BeanMetadataAttribute
- getSource() - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
- getSource() - Method in interface org.springframework.beans.BeanMetadataElement
-
Return the configuration source
Object
for this metadata element (may benull
). - getSource() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Expose the bean definition's source object.
- getSource() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
- getSource() - Method in class org.springframework.beans.factory.config.RuntimeBeanNameReference
- getSource() - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
- getSource() - Method in class org.springframework.beans.factory.config.TypedStringValue
- getSource() - Method in class org.springframework.beans.factory.parsing.AliasDefinition
- getSource() - Method in class org.springframework.beans.factory.parsing.CompositeComponentDefinition
- getSource() - Method in class org.springframework.beans.factory.parsing.ImportDefinition
- getSource() - Method in class org.springframework.beans.factory.parsing.Location
-
Get the actual location within the associated
resource
(may benull
). - getSource() - Method in class org.springframework.beans.factory.support.ManagedList
- getSource() - Method in class org.springframework.beans.factory.support.ManagedMap
- getSource() - Method in class org.springframework.beans.factory.support.ManagedProperties
- getSource() - Method in class org.springframework.beans.factory.support.ManagedSet
- getSource() - Method in class org.springframework.beans.factory.support.MethodOverride
- getSource() - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
- getSource() - Method in class org.springframework.beans.support.PagedListHolder
-
Return the source list for this holder.
- getSource(T) - Method in class org.springframework.beans.factory.aot.AotServices
-
Get the source of the given service.
- getSourceExtractor() - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Return the source extractor in use.
- getSpecifiedTypeName() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Return the type name as actually specified for this particular value, if any.
- getSuggestedValue(DependencyDescriptor) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Determine whether the given dependency declares a value annotation.
- getSuggestedValue(DependencyDescriptor) - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Determine whether a default value is suggested for the given dependency.
- getSuggestedValue(DependencyDescriptor) - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- getTarget(RegisteredBean) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
Return the target for the registration.
- getTarget(RegisteredBean) - Method in class org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator
- getTargetClass() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Return the target class on which the field is defined.
- getTargetField() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Return the name of the field to be retrieved.
- getTargetObject() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Return the target object on which the field is defined.
- getTargetType() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Return the type to convert to.
- getTargetType() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Return the target type of this bean definition, if known (either specified in advance or resolved on first instantiation).
- getTargetTypeName() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Return the type to convert to.
- getTempClassLoader() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return the temporary ClassLoader to use for type matching purposes, if any.
- getTempClassLoader() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getType() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Return the type of the constructor argument.
- getType(String) - Method in interface org.springframework.beans.factory.BeanFactory
-
Determine the type of the bean with the given name.
- getType(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getType(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getType(String, boolean) - Method in interface org.springframework.beans.factory.BeanFactory
-
Determine the type of the bean with the given name.
- getType(String, boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getType(String, boolean) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- getTypeConverter() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Obtain a type converter as used by this BeanFactory.
- getTypeConverter() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- getTypeConverter() - Method in class org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
Return the TypeConverter used for argument type conversion.
- getTypeDescriptor() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Build a
TypeDescriptor
object for the wrapped parameter/field. - getTypeForFactoryBean(String, RootBeanDefinition, boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
This implementation attempts to query the FactoryBean's generic parameter metadata if present to determine the object type.
- getTypeForFactoryBean(String, RootBeanDefinition, boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Determine the bean type for the given FactoryBean definition, as far as possible.
- getTypeForFactoryBean(FactoryBean<?>) - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Determine the type for the given FactoryBean.
- getTypeForFactoryMethod(String, RootBeanDefinition, Class<?>...) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Determine the target type for the given bean definition which is based on a factory method.
- getTypeName() - Method in class org.springframework.beans.factory.support.AutowireCandidateQualifier
-
Retrieve the type name.
- getValidationMode() - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Return the validation mode to use.
- getValidationModeForResource(Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Determine the validation mode for the specified
Resource
. - getValue() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- getValue() - Method in class org.springframework.beans.BeanMetadataAttribute
-
Return the value of the attribute.
- getValue() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Return the value for the constructor argument.
- getValue() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Return the String value.
- getValue() - Method in exception org.springframework.beans.PropertyAccessException
-
Return the affected value that was about to be set, if any.
- getValue() - Method in class org.springframework.beans.PropertyValue
-
Return the value of the property.
- getValue() - Method in exception org.springframework.beans.TypeMismatchException
-
Return the offending value (may be
null
). - getValueTypeName() - Method in class org.springframework.beans.factory.support.ManagedMap
-
Return the default value type name (class name) to be used for this map.
- getWithException() - Method in interface org.springframework.beans.factory.support.InstanceSupplier
- getWrappedClass() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- getWrappedClass() - Method in interface org.springframework.beans.BeanWrapper
-
Return the type of the wrapped bean instance.
- getWrappedInstance() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- getWrappedInstance() - Method in interface org.springframework.beans.BeanWrapper
-
Return the bean instance wrapped by this object.
- getWriteMethodParameter(PropertyDescriptor) - Static method in class org.springframework.beans.BeanUtils
-
Obtain a new MethodParameter object for the write method of the specified property.
- GroovyBeanDefinitionReader - Class in org.springframework.beans.factory.groovy
-
A Groovy-based reader for Spring bean definitions: like a Groovy builder, but more of a DSL for Spring configuration.
- GroovyBeanDefinitionReader(BeanDefinitionRegistry) - Constructor for class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Create a new
GroovyBeanDefinitionReader
for the givenBeanDefinitionRegistry
. - GroovyBeanDefinitionReader(XmlBeanDefinitionReader) - Constructor for class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Create a new
GroovyBeanDefinitionReader
based on the givenXmlBeanDefinitionReader
, loading bean definitions into itsBeanDefinitionRegistry
and delegating Groovy DSL loading to it. - guessPropertyTypeFromEditors(String) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Guess the property type of the specified property from the registered custom editors (provided that they were registered for a specific type).
H
- hasBeanClass() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this definition specifies a bean class.
- hasBeanCreationStarted() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Check whether this factory's bean creation phase already started, i.e.
- hasConstructorArgumentValues() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return if there are constructor argument values defined for this bean.
- hasConstructorArgumentValues() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return if there are constructor argument values defined for this bean.
- hasCustomEditorForElement(Class<?>, String) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Determine whether this registry contains a custom editor for the specified array/collection element.
- hasDependentBean(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Determine whether a dependent bean has been registered for the given name.
- hasDestructionAwareBeanPostProcessors() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return whether this factory holds a DestructionAwareBeanPostProcessor that will get applied to singleton beans on shutdown.
- hasEmbeddedValueResolver() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Determine whether an embedded value resolver has been registered with this bean factory, to be applied through
ConfigurableBeanFactory.resolveEmbeddedValue(String)
. - hasEmbeddedValueResolver() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- hashCode() - Method in class org.springframework.beans.BeanMetadataAttribute
- hashCode() - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- hashCode() - Method in class org.springframework.beans.factory.config.AutowiredPropertyMarker
- hashCode() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
- hashCode() - Method in class org.springframework.beans.factory.config.BeanExpressionContext
- hashCode() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
- hashCode() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
- hashCode() - Method in class org.springframework.beans.factory.config.RuntimeBeanNameReference
- hashCode() - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
- hashCode() - Method in class org.springframework.beans.factory.config.TypedStringValue
- hashCode() - Method in class org.springframework.beans.factory.InjectionPoint
- hashCode() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
- hashCode() - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- hashCode() - Method in class org.springframework.beans.factory.support.LookupOverride
- hashCode() - Method in class org.springframework.beans.factory.support.MethodOverride
- hashCode() - Method in class org.springframework.beans.factory.support.MethodOverrides
- hashCode() - Method in class org.springframework.beans.factory.support.ReplaceOverride
- hashCode() - Method in class org.springframework.beans.MutablePropertyValues
- hashCode() - Method in class org.springframework.beans.PropertyValue
- hashCode() - Method in class org.springframework.beans.support.MutableSortDefinition
- hasIndexedArgumentValue(int) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Check whether an argument value has been registered for the given index.
- hasInstantiationAwareBeanPostProcessors() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return whether this factory holds a InstantiationAwareBeanPostProcessor that will get applied to singleton beans on creation.
- hasMethodOverrides() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return if there are method overrides defined for this bean.
- hasPropertyOverridesFor(String) - Method in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
-
Were there overrides for this bean? Only valid after processing has occurred at least once.
- hasPropertyValues() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return if there are property values defined for this bean.
- hasPropertyValues() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return if there are property values defined for this bean.
- hasQualifier(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean has the specified qualifier.
- hasQualifier(DependencyDescriptor) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Determine whether the given dependency declares a qualifier annotation.
- hasQualifier(DependencyDescriptor) - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Determine whether the given descriptor declares a qualifier beyond the type (typically - but not necessarily - a specific kind of annotation).
- hasQualifier(DependencyDescriptor) - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- hasTargetType() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Return whether this typed String value carries a target type.
- hasUniqueWriteMethod(PropertyDescriptor) - Static method in class org.springframework.beans.BeanUtils
-
Determine whether the specified property has a unique write method, i.e.
- HierarchicalBeanFactory - Interface in org.springframework.beans.factory
-
Sub-interface implemented by bean factories that can be part of a hierarchy.
I
- ID_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Constant for the "id" attribute.
- ID_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- IDREF_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ifAvailable(Consumer<T>) - Method in interface org.springframework.beans.factory.ObjectProvider
-
Consume an instance (possibly shared or independent) of the object managed by this factory, if available.
- ifUnique(Consumer<T>) - Method in interface org.springframework.beans.factory.ObjectProvider
-
Consume an instance (possibly shared or independent) of the object managed by this factory, if unique.
- IGNORE_BEANINFO_PROPERTY_NAME - Static variable in class org.springframework.beans.StandardBeanInfoFactory
-
System property that instructs Spring to use the
Introspector.IGNORE_ALL_BEANINFO
mode when calling the JavaBeansIntrospector
: "spring.beaninfo.ignore", with a value of "true" skipping the search forBeanInfo
classes (typically for scenarios where no such classes are being defined for beans in the application in the first place). - ignoreDependencyInterface(Class<?>) - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Ignore the given dependency interface for autowiring.
- ignoreDependencyInterface(Class<?>) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Ignore the given dependency interface for autowiring.
- ignoreDependencyType(Class<?>) - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Ignore the given dependency type for autowiring: for example, String.
- ignoreDependencyType(Class<?>) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Ignore the given dependency type for autowiring: for example, String.
- ignoreUnresolvablePlaceholders - Variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
- IMPORT_ELEMENT - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- importBeanDefinitionResource(Element) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Parse an "import" element and load the bean definitions from the given resource into the bean factory.
- importBeans(String) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Import Spring bean definitions from either XML or Groovy sources into the current bean builder instance.
- ImportDefinition - Class in org.springframework.beans.factory.parsing
-
Representation of an import that has been processed during the parsing process.
- ImportDefinition(String) - Constructor for class org.springframework.beans.factory.parsing.ImportDefinition
-
Create a new ImportDefinition.
- ImportDefinition(String, Object) - Constructor for class org.springframework.beans.factory.parsing.ImportDefinition
-
Create a new ImportDefinition.
- ImportDefinition(String, Resource[], Object) - Constructor for class org.springframework.beans.factory.parsing.ImportDefinition
-
Create a new ImportDefinition.
- importProcessed(ImportDefinition) - Method in class org.springframework.beans.factory.parsing.EmptyReaderEventListener
- importProcessed(ImportDefinition) - Method in interface org.springframework.beans.factory.parsing.ReaderEventListener
-
Notification that the given import has been processed.
- increaseNestingLevel() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Increase this descriptor's nesting level.
- INDEX_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- indicatesAutowiring() - Method in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Return whether this BeanWiringInfo indicates autowiring.
- INFER_METHOD - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant that indicates the container should attempt to infer the
destroy method name
for a bean as opposed to explicit specification of a method name. - init() - Method in interface org.springframework.beans.factory.xml.NamespaceHandler
-
Invoked by the
DefaultBeanDefinitionDocumentReader
after construction but before any custom elements are parsed. - init() - Method in class org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler
- init() - Method in class org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler
- init() - Method in class org.springframework.beans.factory.xml.UtilNamespaceHandler
- INIT_METHOD_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- initBeanWrapper(BeanWrapper) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Initialize the given BeanWrapper with the custom editors registered with this factory.
- initDefaults(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Initialize the default settings assuming a
null
parent delegate. - initDefaults(Element, BeanDefinitionParserDelegate) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Initialize the default lazy-init, autowire, dependency check settings, init-method, destroy-method and merge settings.
- InitDestroyAnnotationBeanPostProcessor - Class in org.springframework.beans.factory.annotation
-
BeanPostProcessor
implementation that invokes annotated init and destroy methods. - InitDestroyAnnotationBeanPostProcessor() - Constructor for class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- initializeBean(Object, String) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Initialize the given raw bean, applying factory callbacks such as
setBeanName
andsetBeanFactory
, also applying all bean post processors (including ones which might wrap the given raw bean). - initializeBean(Object, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- initializeBean(String, Object, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Initialize the given bean instance, applying factory callbacks as well as init methods and bean post processors.
- InitializingBean - Interface in org.springframework.beans.factory
-
Interface to be implemented by beans that need to react once all their properties have been set by a
BeanFactory
: e.g. - initParameterNameDiscovery(ParameterNameDiscoverer) - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Initialize parameter name discovery for the underlying method parameter, if any.
- initPropertyName(String) - Method in exception org.springframework.beans.TypeMismatchException
-
Initialize this exception's property name for exposure through
TypeMismatchException.getPropertyName()
, as an alternative to having it initialized via aPropertyChangeEvent
. - inject(Object, String, PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata
- inject(Object, String, PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
-
Either this or
InjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden. - InjectedElement(Member, PropertyDescriptor) - Constructor for class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- InjectionMetadata - Class in org.springframework.beans.factory.annotation
-
Internal class for managing injection metadata.
- InjectionMetadata(Class<?>, Collection<InjectionMetadata.InjectedElement>) - Constructor for class org.springframework.beans.factory.annotation.InjectionMetadata
-
Create a new
InjectionMetadata instance
. - InjectionMetadata.InjectedElement - Class in org.springframework.beans.factory.annotation
-
A single injected element.
- InjectionPoint - Class in org.springframework.beans.factory
-
A simple descriptor for an injection point, pointing to a method/constructor parameter or a field.
- InjectionPoint() - Constructor for class org.springframework.beans.factory.InjectionPoint
-
Just available for serialization purposes in subclasses.
- InjectionPoint(Field) - Constructor for class org.springframework.beans.factory.InjectionPoint
-
Create an injection point descriptor for a field.
- InjectionPoint(InjectionPoint) - Constructor for class org.springframework.beans.factory.InjectionPoint
-
Copy constructor.
- InjectionPoint(MethodParameter) - Constructor for class org.springframework.beans.factory.InjectionPoint
-
Create an injection point descriptor for a method or constructor parameter.
- InputSourceEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
org.xml.sax.InputSource
, converting from a Spring resource location String to a SAX InputSource object. - InputSourceEditor() - Constructor for class org.springframework.beans.propertyeditors.InputSourceEditor
-
Create a new InputSourceEditor, using the default ResourceEditor underneath.
- InputSourceEditor(ResourceEditor) - Constructor for class org.springframework.beans.propertyeditors.InputSourceEditor
-
Create a new InputSourceEditor, using the given ResourceEditor underneath.
- InputStreamEditor - Class in org.springframework.beans.propertyeditors
-
One-way PropertyEditor which can convert from a text String to a
java.io.InputStream
, interpreting the given String as a Spring resource location (e.g. - InputStreamEditor() - Constructor for class org.springframework.beans.propertyeditors.InputStreamEditor
-
Create a new InputStreamEditor, using the default ResourceEditor underneath.
- InputStreamEditor(ResourceEditor) - Constructor for class org.springframework.beans.propertyeditors.InputStreamEditor
-
Create a new InputStreamEditor, using the given ResourceEditor underneath.
- INSTANCE - Static variable in class org.springframework.beans.factory.config.AutowiredPropertyMarker
-
The canonical instance for the autowired marker value.
- INSTANCE - Static variable in class org.springframework.beans.factory.support.DefaultBeanNameGenerator
-
A convenient constant for a default
DefaultBeanNameGenerator
instance, as used forAbstractBeanDefinitionReader
setup. - INSTANCE - Static variable in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
-
Shared instance of
SimpleAutowireCandidateResolver
. - INSTANCE_SUPPLIER_VARIABLE - Static variable in interface org.springframework.beans.factory.aot.BeanRegistrationCodeFragments
-
The variable name to used when creating the bean definition.
- InstanceSupplier<T> - Interface in org.springframework.beans.factory.support
-
Specialized
Supplier
that can be set on aBeanDefinition
when details about theregistered bean
are needed to supply the instance. - InstanceSupplierCodeGenerator - Class in org.springframework.beans.factory.aot
-
Default code generator to create an
InstanceSupplier
, usually in the form of aBeanInstanceSupplier
that retains the executable that is used to instantiate the bean. - InstanceSupplierCodeGenerator(GenerationContext, ClassName, GeneratedMethods, boolean) - Constructor for class org.springframework.beans.factory.aot.InstanceSupplierCodeGenerator
-
Create a new instance.
- instantiate(Class<T>) - Static method in class org.springframework.beans.BeanUtils
-
Deprecated.as of Spring 5.0, following the deprecation of
Class.newInstance()
in JDK 9 - instantiate(RootBeanDefinition, String, BeanFactory) - Method in interface org.springframework.beans.factory.support.InstantiationStrategy
-
Return an instance of the bean with the given name in this factory.
- instantiate(RootBeanDefinition, String, BeanFactory) - Method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
- instantiate(RootBeanDefinition, String, BeanFactory, Object, Method, Object...) - Method in interface org.springframework.beans.factory.support.InstantiationStrategy
-
Return an instance of the bean with the given name in this factory, creating it via the given factory method.
- instantiate(RootBeanDefinition, String, BeanFactory, Object, Method, Object...) - Method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
- instantiate(RootBeanDefinition, String, BeanFactory, Constructor<?>, Object...) - Method in interface org.springframework.beans.factory.support.InstantiationStrategy
-
Return an instance of the bean with the given name in this factory, creating it via the given constructor.
- instantiate(RootBeanDefinition, String, BeanFactory, Constructor<?>, Object...) - Method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
- instantiateBean(String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Instantiate the given bean using its default constructor.
- instantiateClass(Class<?>, Class<T>) - Static method in class org.springframework.beans.BeanUtils
-
Instantiate a class using its no-arg constructor and return the new instance as the specified assignable type.
- instantiateClass(Class<T>) - Static method in class org.springframework.beans.BeanUtils
-
Instantiate a class using its 'primary' constructor (for Kotlin classes, potentially having default arguments declared) or its default constructor (for regular Java classes, expecting a standard no-arg setup).
- instantiateClass(Constructor<T>, Object...) - Static method in class org.springframework.beans.BeanUtils
-
Convenience method to instantiate a class using the given constructor.
- instantiateUsingFactoryMethod(String, RootBeanDefinition, Object[]) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Instantiate the bean using a named factory method.
- instantiateWithMethodInjection(RootBeanDefinition, String, BeanFactory) - Method in class org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy
- instantiateWithMethodInjection(RootBeanDefinition, String, BeanFactory) - Method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
-
Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.
- instantiateWithMethodInjection(RootBeanDefinition, String, BeanFactory, Constructor<?>, Object...) - Method in class org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy
- instantiateWithMethodInjection(RootBeanDefinition, String, BeanFactory, Constructor<?>, Object...) - Method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
-
Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.
- InstantiationAwareBeanPostProcessor - Interface in org.springframework.beans.factory.config
-
Subinterface of
BeanPostProcessor
that adds a before-instantiation callback, and a callback after instantiation but before explicit properties are set or autowiring occurs. - InstantiationStrategy - Interface in org.springframework.beans.factory.support
-
Interface responsible for creating instances corresponding to a root bean definition.
- InvalidPropertyException - Exception in org.springframework.beans
-
Exception thrown when referring to an invalid bean property.
- InvalidPropertyException(Class<?>, String, String) - Constructor for exception org.springframework.beans.InvalidPropertyException
-
Create a new InvalidPropertyException.
- InvalidPropertyException(Class<?>, String, String, Throwable) - Constructor for exception org.springframework.beans.InvalidPropertyException
-
Create a new InvalidPropertyException.
- invokeBeanDefiningClosure(Closure<?>) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
When a method argument is only a closure it is a set of bean definitions.
- invokeCustomInitMethod(String, Object, RootBeanDefinition, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Invoke the specified custom init method on the given bean.
- invokeInitMethods(String, Object, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Give a bean a chance to initialize itself after all its properties are set, and a chance to know about its owning bean factory (this object).
- invokeMethod(String, Object) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
This method overrides method invocation to create beans for each method name that takes a class argument.
- invokeWithTargetException() - Method in class org.springframework.beans.factory.config.MethodInvokingBean
-
Perform the invocation and convert InvocationTargetException into the underlying target exception.
- isAbstract() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return whether this bean is "abstract", that is, not meant to be instantiated.
- isAbstract() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean is "abstract", i.e.
- isActuallyInCreation(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isActuallyInCreation(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- isAllowBeanDefinitionOverriding() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return whether it should be allowed to override bean definitions by registering a different definition with the same name, automatically replacing the former.
- isAllowCircularReferences() - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Return whether to allow circular references between beans.
- isAllowEagerClassLoading() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return whether the factory is allowed to eagerly load bean classes even for bean definitions that are marked as "lazy-init".
- isAllowRawInjectionDespiteWrapping() - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Return whether to allow the raw injection of a bean instance.
- isAscending() - Method in class org.springframework.beans.support.MutableSortDefinition
- isAscending() - Method in interface org.springframework.beans.support.SortDefinition
-
Return whether to sort ascending (true) or descending (false).
- isAutoGrowNestedPaths() - Method in class org.springframework.beans.AbstractPropertyAccessor
- isAutoGrowNestedPaths() - Method in interface org.springframework.beans.ConfigurablePropertyAccessor
-
Return whether "auto-growing" of nested paths has been activated.
- isAutowirable(Parameter, int) - Static method in class org.springframework.beans.factory.annotation.ParameterResolutionDelegate
-
Determine if the supplied
Parameter
can potentially be autowired from anAutowireCapableBeanFactory
. - isAutowire() - Method in enum class org.springframework.beans.factory.annotation.Autowire
-
Return whether this represents an actual autowiring value.
- isAutowireCandidate() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return whether this bean is a candidate for getting autowired into some other bean.
- isAutowireCandidate() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean is a candidate for getting autowired into some other bean.
- isAutowireCandidate(String, DependencyDescriptor) - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Determine whether the specified bean qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.
- isAutowireCandidate(String, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- isAutowireCandidate(String, DependencyDescriptor, AutowireCandidateResolver) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.
- isAutowireCandidate(String, RootBeanDefinition, DependencyDescriptor, AutowireCandidateResolver) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.
- isAutowireCandidate(BeanDefinitionHolder, DependencyDescriptor) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Determine whether the provided bean definition is an autowire candidate.
- isAutowireCandidate(BeanDefinitionHolder, DependencyDescriptor) - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Determine whether the given bean definition qualifies as an autowire candidate for the given dependency.
- isAutowireCandidate(BeanDefinitionHolder, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
- isAutowireCandidate(BeanDefinitionHolder, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- isBeanDefinitionOverridable(String) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Determine whether the bean definition for the given name is overridable, i.e.
- isBeanDefinitionOverridable(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
This implementation returns
true
if bean definition overriding is generally allowed. - isBeanEligibleForMetadataCaching(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Determine whether the specified bean is eligible for having its bean definition metadata cached.
- isBeanEligibleForMetadataCaching(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Considers all beans as eligible for metadata caching if the factory's configuration has been marked as frozen.
- isBeanExcludedFromAotProcessing() - Method in interface org.springframework.beans.factory.aot.BeanRegistrationAotProcessor
-
Return if the bean instance associated with this processor should be excluded from AOT processing itself.
- isBeanNameInUse(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Determine whether the given bean name is already in use within this factory, i.e.
- isBeanNameInUse(String) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Determine whether the given bean name is already in use within this registry, i.e.
- isBeanNameInUse(String) - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- isCacheBeanMetadata() - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Return whether to cache bean metadata such as given bean definitions (in merged fashion) and resolved bean classes.
- isCacheBeanMetadata() - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isConfigurationFrozen() - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Return whether this factory's bean definitions are frozen, i.e.
- isConfigurationFrozen() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- isConverted() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Return whether this holder contains a converted value already (
true
), or whether the value still needs to be converted (false
). - isConverted() - Method in class org.springframework.beans.MutablePropertyValues
-
Return whether this holder contains converted values only (
true
), or whether the values still need to be converted (false
). - isConverted() - Method in class org.springframework.beans.PropertyValue
-
Return whether this holder contains a converted value already (
true
), or whether the value still needs to be converted (false
). - isCurrentlyInCreation(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Determine whether the specified bean is currently in creation.
- isCurrentlyInCreation(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- isDefaultBeanName() - Method in class org.springframework.beans.factory.wiring.BeanWiringInfo
-
Return whether the specific bean name is a suggested default bean name, not necessarily matching an actual bean definition in the factory.
- isDefaultLazyInit() - Method in class org.springframework.beans.factory.xml.ParserContext
- isDefaultNamespace(String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Determine whether the given URI indicates the default namespace.
- isDefaultNamespace(Node) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Determine whether the given node indicates the default namespace.
- isDependent(String, String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Determine whether the specified dependent bean has been registered as dependent on the given bean or on any of its transitive dependencies.
- isDynamic() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Return whether this value has been marked as dynamic.
- isEager() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Return whether this dependency is 'eager' in the sense of eagerly resolving potential target beans for type matching.
- isEagerInit() - Method in interface org.springframework.beans.factory.SmartFactoryBean
-
Does this FactoryBean expect eager initialization, that is, eagerly initialize itself as well as expect eager initialization of its singleton object (if any)?
- isEligibleAttribute(String) - Method in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
Determine whether the given attribute is eligible for being turned into a corresponding bean property value.
- isEligibleAttribute(Attr, ParserContext) - Method in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
Determine whether the given attribute is eligible for being turned into a corresponding bean property value.
- isEmpty() - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
-
Return if this holder does not contain any argument values, neither indexed ones nor generic ones.
- isEmpty() - Method in class org.springframework.beans.factory.support.MethodOverrides
-
Return whether the set of method overrides is empty.
- isEmpty() - Method in class org.springframework.beans.MutablePropertyValues
- isEmpty() - Method in interface org.springframework.beans.PropertyValues
-
Does this holder not contain any PropertyValue objects at all?
- isEnforceDestroyMethod() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Indicate whether the configured destroy method is the default.
- isEnforceInitMethod() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Indicate whether the configured initializer method is the default.
- isExcludedFromAotProcessing(RegisteredBean) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationExcludeFilter
-
Return if the registered bean should be excluded from AOT processing and registration.
- isExcludedFromDependencyCheck(PropertyDescriptor) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Determine whether the given bean property is excluded from dependency checks.
- isExternallyManagedConfigMember(Member) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Determine if the given method or field is an externally managed configuration member.
- isExternallyManagedDestroyMethod(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Determine if the given method name indicates an externally managed destruction method.
- isExternallyManagedInitMethod(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Determine if the given method name indicates an externally managed initialization method.
- isExtractOldValueForEditor() - Method in class org.springframework.beans.AbstractPropertyAccessor
- isExtractOldValueForEditor() - Method in interface org.springframework.beans.ConfigurablePropertyAccessor
-
Return whether to extract the old property value when applying a property editor to a new value for a property.
- isFactoryBean(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Determine whether the bean with the given name is a FactoryBean.
- isFactoryBean(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isFactoryBean(String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Check whether the given bean is defined as a
FactoryBean
. - isFactoryDereference(String) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return whether the given name is a factory dereference (beginning with the factory dereference prefix).
- isFactoryMethod(Method) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Check whether the given candidate qualifies as a factory method.
- isField - Variable in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- isFirstPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return if the current page is the first one.
- isGeneratedBeanName() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return if the bean name is generated.
- isGeneratedBeanName(String) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return whether the given name is a bean name which has been generated by the default naming strategy (containing a "#..." part).
- isIgnoreCase() - Method in class org.springframework.beans.support.MutableSortDefinition
- isIgnoreCase() - Method in interface org.springframework.beans.support.SortDefinition
-
Return whether upper and lower case in String values should be ignored.
- isInnerBean() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Return if this instance is for an inner-bean.
- isLastPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Return if the current page is the last one.
- isLazyInit() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return whether this bean should be lazily initialized, i.e.
- isLazyInit() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean should be lazily initialized, i.e.
- isLazyInit() - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Return whether beans should be lazily initialized by default, i.e.
- isLenientConstructorResolution() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether to resolve constructors in lenient mode or in strict mode.
- isLogEnabled() - Method in class org.springframework.beans.factory.config.DeprecatedBeanWarner
-
Determine whether the
DeprecatedBeanWarner.logger
field is enabled. - isMergeEnabled() - Method in class org.springframework.beans.factory.support.ManagedList
- isMergeEnabled() - Method in class org.springframework.beans.factory.support.ManagedMap
- isMergeEnabled() - Method in class org.springframework.beans.factory.support.ManagedProperties
- isMergeEnabled() - Method in class org.springframework.beans.factory.support.ManagedSet
- isMergeEnabled() - Method in interface org.springframework.beans.Mergeable
-
Is merging enabled for this particular instance?
- isNamespaceAware() - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Return whether the XML parser should be XML namespace aware.
- isNested() - Method in class org.springframework.beans.factory.xml.ParserContext
- isNestedOrIndexedProperty(String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Check whether the given property path indicates an indexed or nested property.
- isNonPublicAccessAllowed() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether to allow access to non-public constructors and methods.
- isOptional() - Method in class org.springframework.beans.PropertyValue
-
Return whether this is an optional value, that is, to be ignored when no corresponding property exists on the target class.
- isOverloaded() - Method in class org.springframework.beans.factory.support.MethodOverride
-
Return whether the overridden method is overloaded (i.e., whether argument type matching needs to occur to disambiguate methods of the same name).
- isPrimary() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return whether this bean is a primary autowire candidate.
- isPrimary() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean is a primary autowire candidate.
- isPrimary(String, Object) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Return whether the bean definition for the given bean name has been marked as a primary bean.
- isPrototype() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return whether this a Prototype, with an independent instance returned for each call.
- isPrototype() - Method in interface org.springframework.beans.factory.SmartFactoryBean
-
Is the object managed by this factory a prototype? That is, will
FactoryBean.getObject()
always return an independent instance? - isPrototype() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this a Prototype, with an independent instance returned for each call.
- isPrototype(String) - Method in interface org.springframework.beans.factory.BeanFactory
-
Is this bean a prototype? That is, will
BeanFactory.getBean(java.lang.String)
always return independent instances? - isPrototype(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isPrototype(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- isPrototypeCurrentlyInCreation(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return whether the specified prototype bean is currently in creation (within the current thread).
- isQualifier(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Checks whether the given annotation type is a recognized qualifier type.
- isQualifierMatch(Predicate<String>, String, BeanFactory) - Static method in class org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils
-
Check whether the named bean declares a qualifier of the given name.
- isReadable() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- isReadableProperty(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- isReadableProperty(String) - Method in interface org.springframework.beans.PropertyAccessor
-
Determine whether the specified property is readable.
- isRequired() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Return whether this dependency is required.
- isRequired(DependencyDescriptor) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Determine whether the given dependency declares an autowired annotation, checking its required flag.
- isRequired(DependencyDescriptor) - Method in interface org.springframework.beans.factory.support.AutowireCandidateResolver
-
Determine whether the given descriptor is effectively required.
- isRequired(DependencyDescriptor) - Method in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- isSimpleProperty(Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Check if the given type represents a "simple" property: a simple value type or an array of simple value types.
- isSimpleValueType(Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Check if the given type represents a "simple" value type for bean property and data binding purposes: a primitive or primitive wrapper, an
Enum
, aString
or otherCharSequence
, aNumber
, aDate
, aTemporal
, aUUID
, aURI
, aURL
, aLocale
, or aClass
. - isSingleton() - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
- isSingleton() - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Return whether this a Singleton, with a single, shared instance returned on all calls.
- isSingleton() - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
- isSingleton() - Method in class org.springframework.beans.factory.config.MethodInvokingFactoryBean
- isSingleton() - Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
- isSingleton() - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
-
While this FactoryBean will often be used for singleton targets, the invoked getters for the property path might return a new object for each call, so we have to assume that we're not returning the same object for each
PropertyPathFactoryBean.getObject()
call. - isSingleton() - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
- isSingleton() - Method in class org.springframework.beans.factory.config.YamlMapFactoryBean
- isSingleton() - Method in class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
- isSingleton() - Method in interface org.springframework.beans.factory.FactoryBean
-
Is the object managed by this factory a singleton? That is, will
FactoryBean.getObject()
always return the same object (a reference that can be cached)? - isSingleton() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this a Singleton, with a single shared instance returned from all calls.
- isSingleton(String) - Method in interface org.springframework.beans.factory.BeanFactory
-
Is this bean a shared singleton? That is, will
BeanFactory.getBean(java.lang.String)
always return the same instance? - isSingleton(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isSingleton(String) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- isSingletonCurrentlyInCreation(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Return whether the specified singleton bean is currently in creation (within the entire factory).
- isSynthetic() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Return whether this bean definition is 'synthetic', that is, not defined by the application itself.
- isToggleAscendingOnProperty() - Method in class org.springframework.beans.support.MutableSortDefinition
-
Return whether to toggle the ascending flag if the same property gets set again (that is,
setProperty
gets called with already set property name again). - isToParent() - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
-
Return whether this is an explicit reference to a bean in the parent factory.
- isTypeMatch(String, Class<?>) - Method in interface org.springframework.beans.factory.BeanFactory
-
Check whether the bean with the given name matches the specified type.
- isTypeMatch(String, Class<?>) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isTypeMatch(String, Class<?>) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- isTypeMatch(String, ResolvableType) - Method in interface org.springframework.beans.factory.BeanFactory
-
Check whether the bean with the given name matches the specified type.
- isTypeMatch(String, ResolvableType) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- isTypeMatch(String, ResolvableType) - Method in class org.springframework.beans.factory.support.StaticListableBeanFactory
- isTypeMatch(String, ResolvableType, boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Internal extended variant of
AbstractBeanFactory.isTypeMatch(String, ResolvableType)
to check whether the bean with the given name matches the specified type. - isWritable() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- isWritableProperty(String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- isWritableProperty(String) - Method in interface org.springframework.beans.PropertyAccessor
-
Determine whether the specified property is writable.
- iterator() - Method in class org.springframework.beans.factory.aot.AotServices
- iterator() - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return an
Iterator
over all matching object instances, without specific ordering guarantees (but typically in registration order). - iterator() - Method in class org.springframework.beans.MutablePropertyValues
- iterator() - Method in interface org.springframework.beans.PropertyValues
-
Return an
Iterator
over the property values.
K
- KEY_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- KEY_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- KEY_REF_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- KEY_TYPE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- keys - Variable in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyTokenHolder
L
- LAZY_INIT_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- LAZY_INIT_KEY - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Special key to distinguish
owner.(lazy-init)=true
Default is "false". - LIST_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ListableBeanFactory - Interface in org.springframework.beans.factory
-
Extension of the
BeanFactory
interface to be implemented by bean factories that can enumerate all their bean instances, rather than attempting bean lookup by name one by one as requested by clients. - ListFactoryBean - Class in org.springframework.beans.factory.config
-
Simple factory for shared List instances.
- ListFactoryBean() - Constructor for class org.springframework.beans.factory.config.ListFactoryBean
- load(Class<T>) - Method in class org.springframework.beans.factory.aot.AotServices.Loader
-
Load all AOT services of the given type.
- loadBeanDefinitions(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- loadBeanDefinitions(String) - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Load bean definitions from the specified resource location.
- loadBeanDefinitions(String...) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- loadBeanDefinitions(String...) - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Load bean definitions from the specified resource locations.
- loadBeanDefinitions(String, Set<Resource>) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Load bean definitions from the specified resource location.
- loadBeanDefinitions(Resource) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Load bean definitions from the specified Groovy script or XML file.
- loadBeanDefinitions(Resource) - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Load bean definitions from the specified resource.
- loadBeanDefinitions(Resource) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Load bean definitions from the specified properties file, using all property keys (i.e.
- loadBeanDefinitions(Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Load bean definitions from the specified XML file.
- loadBeanDefinitions(Resource...) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
- loadBeanDefinitions(Resource...) - Method in interface org.springframework.beans.factory.support.BeanDefinitionReader
-
Load bean definitions from the specified resources.
- loadBeanDefinitions(Resource, String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Load bean definitions from the specified properties file.
- loadBeanDefinitions(EncodedResource) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Load bean definitions from the specified Groovy script or XML file.
- loadBeanDefinitions(EncodedResource) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Load bean definitions from the specified properties file.
- loadBeanDefinitions(EncodedResource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Load bean definitions from the specified XML file.
- loadBeanDefinitions(EncodedResource, String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Load bean definitions from the specified properties file.
- loadBeanDefinitions(InputSource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Load bean definitions from the specified XML file.
- loadBeanDefinitions(InputSource, String) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Load bean definitions from the specified XML file.
- loadDocument(InputSource, EntityResolver, ErrorHandler, int, boolean) - Method in class org.springframework.beans.factory.xml.DefaultDocumentLoader
-
Load the
Document
at the suppliedInputSource
using the standard JAXP-configured XML parser. - loadDocument(InputSource, EntityResolver, ErrorHandler, int, boolean) - Method in interface org.springframework.beans.factory.xml.DocumentLoader
- LocaleEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.util.Locale
, to directly populate a Locale property. - LocaleEditor() - Constructor for class org.springframework.beans.propertyeditors.LocaleEditor
- Location - Class in org.springframework.beans.factory.parsing
-
Class that models an arbitrary location in a
resource
. - Location(Resource) - Constructor for class org.springframework.beans.factory.parsing.Location
-
Create a new instance of the
Location
class. - Location(Resource, Object) - Constructor for class org.springframework.beans.factory.parsing.Location
-
Create a new instance of the
Location
class. - logDeprecatedBean(String, Class<?>, BeanDefinition) - Method in class org.springframework.beans.factory.config.DeprecatedBeanWarner
-
Logs a warning for a bean annotated with
@Deprecated
. - logger - Variable in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- logger - Variable in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- logger - Variable in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Logger available to subclasses.
- logger - Variable in class org.springframework.beans.factory.config.CustomEditorConfigurer
- logger - Variable in class org.springframework.beans.factory.config.DeprecatedBeanWarner
-
Logger available to subclasses.
- logger - Variable in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Logger available to subclasses.
- logger - Variable in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Logger available to subclasses.
- logger - Variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- logger - Variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- logger - Variable in class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
-
Logger available to subclasses.
- logger - Variable in class org.springframework.beans.support.PropertyComparator
- Lookup - Annotation Interface in org.springframework.beans.factory.annotation
-
An annotation that indicates 'lookup' methods, to be overridden by the container to redirect them back to the
BeanFactory
for agetBean
call. - LOOKUP_METHOD_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- LookupOverride - Class in org.springframework.beans.factory.support
-
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).
- LookupOverride(Method, String) - Constructor for class org.springframework.beans.factory.support.LookupOverride
-
Construct a new LookupOverride.
- LookupOverride(String, String) - Constructor for class org.springframework.beans.factory.support.LookupOverride
-
Construct a new LookupOverride.
M
- ManagedArray - Class in org.springframework.beans.factory.support
-
Tag collection class used to hold managed array elements, which may include runtime bean references (to be resolved into bean objects).
- ManagedArray(String, int) - Constructor for class org.springframework.beans.factory.support.ManagedArray
-
Create a new managed array placeholder.
- ManagedList<E> - Class in org.springframework.beans.factory.support
-
Tag collection class used to hold managed List elements, which may include runtime bean references (to be resolved into bean objects).
- ManagedList() - Constructor for class org.springframework.beans.factory.support.ManagedList
- ManagedList(int) - Constructor for class org.springframework.beans.factory.support.ManagedList
- ManagedMap<K,
V> - Class in org.springframework.beans.factory.support -
Tag collection class used to hold managed Map values, which may include runtime bean references (to be resolved into bean objects).
- ManagedMap() - Constructor for class org.springframework.beans.factory.support.ManagedMap
- ManagedMap(int) - Constructor for class org.springframework.beans.factory.support.ManagedMap
- ManagedProperties - Class in org.springframework.beans.factory.support
-
Tag class which represents a Spring-managed
Properties
instance that supports merging of parent/child definitions. - ManagedProperties() - Constructor for class org.springframework.beans.factory.support.ManagedProperties
- ManagedSet<E> - Class in org.springframework.beans.factory.support
-
Tag collection class used to hold managed Set values, which may include runtime bean references (to be resolved into bean objects).
- ManagedSet() - Constructor for class org.springframework.beans.factory.support.ManagedSet
- ManagedSet(int) - Constructor for class org.springframework.beans.factory.support.ManagedSet
- MAP_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MapFactoryBean - Class in org.springframework.beans.factory.config
-
Simple factory for shared Map instances.
- MapFactoryBean() - Constructor for class org.springframework.beans.factory.config.MapFactoryBean
- markAsPostProcessed() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Mark this bean definition as post-processed, i.e.
- markBeanAsCreated(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Mark the specified bean as already created (or about to be created).
- matches(Method) - Method in class org.springframework.beans.factory.support.LookupOverride
-
Match the specified method by
Method
reference or method name. - matches(Method) - Method in class org.springframework.beans.factory.support.MethodOverride
-
Subclasses must override this to indicate whether they match the given method.
- matches(Method) - Method in class org.springframework.beans.factory.support.ReplaceOverride
- matches(Properties) - Method in interface org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher
-
Test if the given properties match.
- matchesBeanName(String, String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.
- matchesName(String) - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.
- matchesProperty(String, String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Determine whether the given registered path matches the given property path, either indicating the property itself or an indexed element of the property.
- member - Variable in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedList
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedMap
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedProperties
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedSet
- merge(Object) - Method in interface org.springframework.beans.Mergeable
-
Merge the current value set with that of the supplied object.
- MERGE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- Mergeable - Interface in org.springframework.beans
-
Interface representing an object whose value set can be merged with that of a parent object.
- MergedBeanDefinitionPostProcessor - Interface in org.springframework.beans.factory.support
-
Post-processor callback interface for merged bean definitions at runtime.
- META_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MethodInvocationException - Exception in org.springframework.beans
-
Thrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException.
- MethodInvocationException(PropertyChangeEvent, Throwable) - Constructor for exception org.springframework.beans.MethodInvocationException
-
Create a new MethodInvocationException.
- MethodInvokingBean - Class in org.springframework.beans.factory.config
-
Simple method invoker bean: just invoking a target method, not expecting a result to expose to the container (in contrast to
MethodInvokingFactoryBean
). - MethodInvokingBean() - Constructor for class org.springframework.beans.factory.config.MethodInvokingBean
- MethodInvokingFactoryBean - Class in org.springframework.beans.factory.config
-
FactoryBean
which returns a value which is the result of a static or instance method invocation. - MethodInvokingFactoryBean() - Constructor for class org.springframework.beans.factory.config.MethodInvokingFactoryBean
- MethodOverride - Class in org.springframework.beans.factory.support
-
Object representing the override of a method on a managed object by the IoC container.
- MethodOverride(String) - Constructor for class org.springframework.beans.factory.support.MethodOverride
-
Construct a new override for the given method.
- MethodOverrides - Class in org.springframework.beans.factory.support
-
Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime.
- MethodOverrides() - Constructor for class org.springframework.beans.factory.support.MethodOverrides
-
Create new MethodOverrides.
- MethodOverrides(MethodOverrides) - Constructor for class org.springframework.beans.factory.support.MethodOverrides
-
Deep copy constructor.
- methodParameter - Variable in class org.springframework.beans.factory.InjectionPoint
- MethodReplacer - Interface in org.springframework.beans.factory.support
-
Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection.
- MULTI_VALUE_ATTRIBUTE_DELIMITERS - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MutablePropertyValues - Class in org.springframework.beans
-
The default implementation of the
PropertyValues
interface. - MutablePropertyValues() - Constructor for class org.springframework.beans.MutablePropertyValues
-
Creates a new empty MutablePropertyValues object.
- MutablePropertyValues(List<PropertyValue>) - Constructor for class org.springframework.beans.MutablePropertyValues
-
Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.
- MutablePropertyValues(Map<?, ?>) - Constructor for class org.springframework.beans.MutablePropertyValues
-
Construct a new MutablePropertyValues object from a Map.
- MutablePropertyValues(PropertyValues) - Constructor for class org.springframework.beans.MutablePropertyValues
-
Deep copy constructor.
- MutableSortDefinition - Class in org.springframework.beans.support
-
Mutable implementation of the
SortDefinition
interface. - MutableSortDefinition() - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Create an empty MutableSortDefinition, to be populated via its bean properties.
- MutableSortDefinition(boolean) - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Create a new MutableSortDefinition.
- MutableSortDefinition(String, boolean, boolean) - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Create a MutableSortDefinition for the given settings.
- MutableSortDefinition(SortDefinition) - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Copy constructor: create a new MutableSortDefinition that mirrors the given sort definition.
N
- NAME_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Constant for the "name" attribute.
- NAME_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- NAME_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- NamedBean - Interface in org.springframework.beans.factory
-
Counterpart of
BeanNameAware
. - NamedBeanHolder<T> - Class in org.springframework.beans.factory.config
-
A simple holder for a given bean name plus bean instance.
- NamedBeanHolder(String, T) - Constructor for class org.springframework.beans.factory.config.NamedBeanHolder
-
Create a new holder for the given bean name plus instance.
- NamespaceHandler - Interface in org.springframework.beans.factory.xml
-
Base interface used by the
DefaultBeanDefinitionDocumentReader
for handling custom namespaces in a Spring XML configuration file. - NamespaceHandlerResolver - Interface in org.springframework.beans.factory.xml
-
Used by the
DefaultBeanDefinitionDocumentReader
to locate aNamespaceHandler
implementation for a particular namespace URI. - NamespaceHandlerSupport - Class in org.springframework.beans.factory.xml
-
Support class for implementing custom
NamespaceHandlers
. - NamespaceHandlerSupport() - Constructor for class org.springframework.beans.factory.xml.NamespaceHandlerSupport
- needsRefresh(Class<?>) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata
-
Determine whether this metadata instance needs to be refreshed.
- needsRefresh(InjectionMetadata, Class<?>) - Static method in class org.springframework.beans.factory.annotation.InjectionMetadata
-
Check whether the given injection metadata needs to be refreshed.
- nested(int) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- NESTED_BEANS_ELEMENT - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- NESTED_PROPERTY_SEPARATOR - Static variable in interface org.springframework.beans.PropertyAccessor
-
Path separator for nested properties.
- NESTED_PROPERTY_SEPARATOR_CHAR - Static variable in interface org.springframework.beans.PropertyAccessor
-
Path separator for nested properties.
- newNestedPropertyAccessor(Object, String) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Create a new nested property accessor instance.
- newNestedPropertyAccessor(Object, String) - Method in class org.springframework.beans.BeanWrapperImpl
- newNestedPropertyAccessor(Object, String) - Method in class org.springframework.beans.DirectFieldAccessor
- nextPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Switch to next page.
- NO - Enum constant in enum class org.springframework.beans.factory.annotation.Autowire
-
Constant that indicates no autowiring at all.
- nodeNameEquals(Node, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Determine whether the name of the supplied node is equal to the supplied name.
- NoSuchBeanDefinitionException - Exception in org.springframework.beans.factory
-
Exception thrown when a
BeanFactory
is asked for a bean instance for which it cannot find a definition. - NoSuchBeanDefinitionException(Class<?>) - Constructor for exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Create a new
NoSuchBeanDefinitionException
. - NoSuchBeanDefinitionException(Class<?>, String) - Constructor for exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Create a new
NoSuchBeanDefinitionException
. - NoSuchBeanDefinitionException(String) - Constructor for exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Create a new
NoSuchBeanDefinitionException
. - NoSuchBeanDefinitionException(String, String) - Constructor for exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Create a new
NoSuchBeanDefinitionException
. - NoSuchBeanDefinitionException(ResolvableType) - Constructor for exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Create a new
NoSuchBeanDefinitionException
. - NoSuchBeanDefinitionException(ResolvableType, String) - Constructor for exception org.springframework.beans.factory.NoSuchBeanDefinitionException
-
Create a new
NoSuchBeanDefinitionException
. - NOT_FOUND - Enum constant in enum class org.springframework.beans.factory.config.YamlProcessor.MatchStatus
-
No match was found.
- NotReadablePropertyException - Exception in org.springframework.beans
-
Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.
- NotReadablePropertyException(Class<?>, String) - Constructor for exception org.springframework.beans.NotReadablePropertyException
-
Create a new NotReadablePropertyException.
- NotReadablePropertyException(Class<?>, String, String) - Constructor for exception org.springframework.beans.NotReadablePropertyException
-
Create a new NotReadablePropertyException.
- NotReadablePropertyException(Class<?>, String, String, Throwable) - Constructor for exception org.springframework.beans.NotReadablePropertyException
-
Create a new NotReadablePropertyException.
- NotWritablePropertyException - Exception in org.springframework.beans
-
Exception thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method).
- NotWritablePropertyException(Class<?>, String) - Constructor for exception org.springframework.beans.NotWritablePropertyException
-
Create a new NotWritablePropertyException.
- NotWritablePropertyException(Class<?>, String, String) - Constructor for exception org.springframework.beans.NotWritablePropertyException
-
Create a new NotWritablePropertyException.
- NotWritablePropertyException(Class<?>, String, String, String[]) - Constructor for exception org.springframework.beans.NotWritablePropertyException
-
Create a new NotWritablePropertyException.
- NotWritablePropertyException(Class<?>, String, String, Throwable) - Constructor for exception org.springframework.beans.NotWritablePropertyException
-
Create a new NotWritablePropertyException.
- NoUniqueBeanDefinitionException - Exception in org.springframework.beans.factory
-
Exception thrown when a
BeanFactory
is asked for a bean instance for which multiple matching candidates have been found when only one matching bean was expected. - NoUniqueBeanDefinitionException(Class<?>, int, String) - Constructor for exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Create a new
NoUniqueBeanDefinitionException
. - NoUniqueBeanDefinitionException(Class<?>, String...) - Constructor for exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Create a new
NoUniqueBeanDefinitionException
. - NoUniqueBeanDefinitionException(Class<?>, Collection<String>) - Constructor for exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Create a new
NoUniqueBeanDefinitionException
. - NoUniqueBeanDefinitionException(ResolvableType, String...) - Constructor for exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Create a new
NoUniqueBeanDefinitionException
. - NoUniqueBeanDefinitionException(ResolvableType, Collection<String>) - Constructor for exception org.springframework.beans.factory.NoUniqueBeanDefinitionException
-
Create a new
NoUniqueBeanDefinitionException
. - NULL_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- NullSourceExtractor - Class in org.springframework.beans.factory.parsing
-
Simple implementation of
SourceExtractor
that returnsnull
as the source metadata. - NullSourceExtractor() - Constructor for class org.springframework.beans.factory.parsing.NullSourceExtractor
- nullValue - Variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
- NullValueInNestedPathException - Exception in org.springframework.beans
-
Exception thrown when navigation of a valid nested property path encounters a NullPointerException.
- NullValueInNestedPathException(Class<?>, String) - Constructor for exception org.springframework.beans.NullValueInNestedPathException
-
Create a new NullValueInNestedPathException.
- NullValueInNestedPathException(Class<?>, String, String) - Constructor for exception org.springframework.beans.NullValueInNestedPathException
-
Create a new NullValueInNestedPathException.
- NullValueInNestedPathException(Class<?>, String, String, Throwable) - Constructor for exception org.springframework.beans.NullValueInNestedPathException
-
Create a new NullValueInNestedPathException.
O
- OBJECT_TYPE_ATTRIBUTE - Static variable in interface org.springframework.beans.factory.FactoryBean
-
The name of an attribute that can be
set
on aBeanDefinition
so that factory beans can signal their object type when it can't be deduced from the factory bean class. - ObjectFactory<T> - Interface in org.springframework.beans.factory
-
Defines a factory which can return an Object instance (possibly shared or independent) when invoked.
- ObjectFactoryCreatingFactoryBean - Class in org.springframework.beans.factory.config
-
A
FactoryBean
implementation that returns a value which is anObjectFactory
that in turn returns a bean sourced from aBeanFactory
. - ObjectFactoryCreatingFactoryBean() - Constructor for class org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean
- ObjectProvider<T> - Interface in org.springframework.beans.factory
-
A variant of
ObjectFactory
designed specifically for injection points, allowing for programmatic optionality and lenient not-unique handling. - obtainInstanceFromSupplier(Supplier<?>, String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Obtain a bean instance from the given supplier.
- obtainInstanceFromSupplier(Supplier<?>, String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- obtainMethodParameter() - Method in class org.springframework.beans.factory.InjectionPoint
-
Return the wrapped MethodParameter, assuming it is present.
- of(E...) - Static method in class org.springframework.beans.factory.support.ManagedList
-
Create a new instance containing an arbitrary number of elements.
- of(E...) - Static method in class org.springframework.beans.factory.support.ManagedSet
-
Create a new instance containing an arbitrary number of elements.
- of(Object[]) - Static method in interface org.springframework.beans.factory.aot.AutowiredArguments
-
Factory method to create a new
AutowiredArguments
instance from the given object array. - of(ConfigurableListableBeanFactory, String) - Static method in class org.springframework.beans.factory.support.RegisteredBean
-
Create a new
RegisteredBean
instance for a regular bean. - of(InstanceSupplier<T>) - Static method in interface org.springframework.beans.factory.support.InstanceSupplier
-
Lambda friendly method that can be used to create an
InstanceSupplier
and add post processors in a single call. - ofEntries(Map.Entry<? extends K, ? extends V>...) - Static method in class org.springframework.beans.factory.support.ManagedMap
-
Return a new instance containing keys and values extracted from the given entries.
- ofInnerBean(RegisteredBean, String, BeanDefinition) - Static method in class org.springframework.beans.factory.support.RegisteredBean
-
Create a new
RegisteredBean
instance for an inner-bean. - ofInnerBean(RegisteredBean, BeanDefinition) - Static method in class org.springframework.beans.factory.support.RegisteredBean
-
Create a new
RegisteredBean
instance for an inner-bean. - ofInnerBean(RegisteredBean, BeanDefinitionHolder) - Static method in class org.springframework.beans.factory.support.RegisteredBean
-
Create a new
RegisteredBean
instance for an inner-bean. - onSuppressedException(Exception) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Register an exception that happened to get suppressed during the creation of a singleton bean instance, e.g.
- ORDER_ATTRIBUTE - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
The name of an attribute that can be
set
on aBeanDefinition
so that bean definitions can indicate the sort order for the targeted bean. - orderedStream() - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return a sequential
Stream
over all matching object instances, pre-ordered according to the factory's common order comparator. - org.springframework.beans - package org.springframework.beans
-
This package contains interfaces and classes for manipulating Java beans.
- org.springframework.beans.factory - package org.springframework.beans.factory
-
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
- org.springframework.beans.factory.annotation - package org.springframework.beans.factory.annotation
-
Support package for annotation-driven bean configuration.
- org.springframework.beans.factory.aot - package org.springframework.beans.factory.aot
-
AOT support for bean factories.
- org.springframework.beans.factory.config - package org.springframework.beans.factory.config
-
SPI interfaces and configuration-related convenience classes for bean factories.
- org.springframework.beans.factory.groovy - package org.springframework.beans.factory.groovy
-
Support package for Groovy-based bean definitions.
- org.springframework.beans.factory.parsing - package org.springframework.beans.factory.parsing
-
Support infrastructure for bean definition parsing.
- org.springframework.beans.factory.serviceloader - package org.springframework.beans.factory.serviceloader
-
Support package for the Java
ServiceLoader
facility. - org.springframework.beans.factory.support - package org.springframework.beans.factory.support
-
Classes supporting the
org.springframework.beans.factory
package. - org.springframework.beans.factory.wiring - package org.springframework.beans.factory.wiring
-
Mechanism to determine bean wiring metadata from a bean instance.
- org.springframework.beans.factory.xml - package org.springframework.beans.factory.xml
-
Contains an abstract XML-based
BeanFactory
implementation, including a standard "spring-beans" XSD. - org.springframework.beans.propertyeditors - package org.springframework.beans.propertyeditors
-
Properties editors used to convert from String values to object types such as java.util.Properties.
- org.springframework.beans.support - package org.springframework.beans.support
-
Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans.
- ORIGINAL_INSTANCE_SUFFIX - Static variable in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Suffix for the "original instance" convention when initializing an existing bean instance: to be appended to the fully-qualified bean class name, e.g.
- originalBeanName(String) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Extract the "raw" bean name from the given (potentially generated) bean name, excluding any "#..." suffixes which might have been added for uniqueness.
- originalBeanName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Determine the original bean name, resolving locally defined aliases to canonical names.
- OVERRIDE - Enum constant in enum class org.springframework.beans.factory.config.YamlProcessor.ResolutionMethod
-
Replace values from earlier in the list.
- OVERRIDE_AND_IGNORE - Enum constant in enum class org.springframework.beans.factory.config.YamlProcessor.ResolutionMethod
-
Replace values from earlier in the list, ignoring any failures.
- overrideDefaultEditor(Class<?>, PropertyEditor) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Override the default editor for the specified type with the given property editor.
- overrideFrom(BeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Override settings in this bean definition (presumably a copied parent from a parent-child inheritance relationship) from the given bean definition (presumably the child).
P
- PagedListHolder<E> - Class in org.springframework.beans.support
-
PagedListHolder is a simple state holder for handling lists of objects, separating them into pages.
- PagedListHolder() - Constructor for class org.springframework.beans.support.PagedListHolder
-
Create a new holder instance.
- PagedListHolder(List<E>) - Constructor for class org.springframework.beans.support.PagedListHolder
-
Create a new holder instance with the given source list, starting with a default sort definition (with "toggleAscendingOnProperty" activated).
- PagedListHolder(List<E>, SortDefinition) - Constructor for class org.springframework.beans.support.PagedListHolder
-
Create a new holder instance with the given source list.
- ParameterResolutionDelegate - Class in org.springframework.beans.factory.annotation
-
Public delegate for resolving autowirable parameters on externally managed constructors and methods.
- PARENT_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- PARENT_KEY - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Special key to distinguish
owner.(parent)=parentBeanName
. - PARENT_REF_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- parse(Element, ParserContext) - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- parse(Element, ParserContext) - Method in interface org.springframework.beans.factory.xml.BeanDefinitionParser
-
Parse the specified
Element
and register the resultingBeanDefinition(s)
with theBeanDefinitionRegistry
embedded in the suppliedParserContext
. - parse(Element, ParserContext) - Method in interface org.springframework.beans.factory.xml.NamespaceHandler
-
Parse the specified
Element
and register any resultingBeanDefinitions
with theBeanDefinitionRegistry
that is embedded in the suppliedParserContext
. - parse(Element, ParserContext) - Method in class org.springframework.beans.factory.xml.NamespaceHandlerSupport
-
Parses the supplied
Element
by delegating to theBeanDefinitionParser
that is registered for thatElement
. - parse(Element, ParserContext) - Method in class org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler
- parse(Element, ParserContext) - Method in class org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler
- parseArrayElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse an array element.
- parseBeanDefinitionAttributes(Element, String, BeanDefinition, AbstractBeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Apply the attributes of the given bean element to the given bean * definition.
- parseBeanDefinitionElement(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parses the supplied
<bean>
element. - parseBeanDefinitionElement(Element, String, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse the bean definition itself, without regard to name or aliases.
- parseBeanDefinitionElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parses the supplied
<bean>
element. - parseBeanDefinitions(Element, BeanDefinitionParserDelegate) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Parse the elements at the root level in the document: "import", "alias", "bean".
- parseCollectionElements(NodeList, Collection<Object>, BeanDefinition, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- parseConstructorArgElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a constructor-arg element.
- parseConstructorArgElements(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse constructor-arg sub-elements of the given bean element.
- parseCustomElement(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a custom element (outside the default namespace).
- parseCustomElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a custom element (outside the default namespace).
- parseIdRefElement(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Return a typed String value Object for the given 'idref' element.
- parseInternal(Element, ParserContext) - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Central template method to actually parse the supplied
Element
into one or moreBeanDefinitions
. - parseInternal(Element, ParserContext) - Method in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Creates a
BeanDefinitionBuilder
instance for thebean Class
and passes it to theAbstractSingleBeanDefinitionParser.doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder)
strategy method. - parseKeyElement(Element, BeanDefinition, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a key sub-element of a map element.
- parseListElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a list element.
- parseLookupOverrideSubElements(Element, MethodOverrides) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse lookup-override sub-elements of the given bean element.
- parseMapElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a map element.
- parseMergeAttribute(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse the merge attribute of a collection element, if any.
- parseMetaElements(Element, BeanMetadataAttributeAccessor) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse the meta elements underneath the given element, if any.
- parsePropertyElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a property element.
- parsePropertyElements(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse property sub-elements of the given bean element.
- parsePropertySubElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a value, ref or collection sub-element of a property or constructor-arg element.
- parsePropertySubElement(Element, BeanDefinition, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a value, ref or collection sub-element of a property or constructor-arg element.
- parsePropertyValue(Element, BeanDefinition, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Get the value of a property element.
- parsePropsElement(Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a props element.
- parseQualifierElement(Element, AbstractBeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a qualifier element.
- parseQualifierElements(Element, AbstractBeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse qualifier sub-elements of the given bean element.
- ParserContext - Class in org.springframework.beans.factory.xml
-
Context that gets passed along a bean definition parsing process, encapsulating all relevant configuration as well as state.
- ParserContext(XmlReaderContext, BeanDefinitionParserDelegate) - Constructor for class org.springframework.beans.factory.xml.ParserContext
- ParserContext(XmlReaderContext, BeanDefinitionParserDelegate, BeanDefinition) - Constructor for class org.springframework.beans.factory.xml.ParserContext
- parseReplacedMethodSubElements(Element, MethodOverrides) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse replaced-method sub-elements of the given bean element.
- parseSetElement(Element, BeanDefinition) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Parse a set element.
- ParseState - Class in org.springframework.beans.factory.parsing
-
Simple
ArrayDeque
-based structure for tracking the logical position during a parsing process. - ParseState() - Constructor for class org.springframework.beans.factory.parsing.ParseState
-
Create a new
ParseState
with an emptyArrayDeque
. - ParseState.Entry - Interface in org.springframework.beans.factory.parsing
-
Marker interface for entries into the
ParseState
. - parseValueElement(Element, String) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Return a typed String value Object for the given value element.
- PassThroughSourceExtractor - Class in org.springframework.beans.factory.parsing
-
Simple
SourceExtractor
implementation that just passes the candidate source metadata object through for attachment. - PassThroughSourceExtractor() - Constructor for class org.springframework.beans.factory.parsing.PassThroughSourceExtractor
- PathEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.nio.file.Path
, to directly populate a Path property instead of using a String property as bridge. - PathEditor() - Constructor for class org.springframework.beans.propertyeditors.PathEditor
-
Create a new PathEditor, using the default ResourceEditor underneath.
- PathEditor(ResourceEditor) - Constructor for class org.springframework.beans.propertyeditors.PathEditor
-
Create a new PathEditor, using the given ResourceEditor underneath.
- PatternEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.util.regex.Pattern
, to directly populate a Pattern property. - PatternEditor() - Constructor for class org.springframework.beans.propertyeditors.PatternEditor
-
Create a new PatternEditor with default settings.
- PatternEditor(int) - Constructor for class org.springframework.beans.propertyeditors.PatternEditor
-
Create a new PatternEditor with the given settings.
- pd - Variable in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- peek() - Method in class org.springframework.beans.factory.parsing.ParseState
-
Return the
ParseState.Entry
currently at the top of theArrayDeque
ornull
if theArrayDeque
is empty. - PlaceholderConfigurerSupport - Class in org.springframework.beans.factory.config
-
Abstract base class for property resource configurers that resolve placeholders in bean definition property values.
- PlaceholderConfigurerSupport() - Constructor for class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
- placeholderPrefix - Variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Defaults to "${".
- placeholderSuffix - Variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Defaults to "}".
- PluggableSchemaResolver - Class in org.springframework.beans.factory.xml
-
EntityResolver
implementation that attempts to resolve schema URLs into localclasspath resources
using a set of mappings files. - PluggableSchemaResolver(ClassLoader) - Constructor for class org.springframework.beans.factory.xml.PluggableSchemaResolver
-
Loads the schema URL → schema file location mappings using the default mapping file pattern "META-INF/spring.schemas".
- PluggableSchemaResolver(ClassLoader, String) - Constructor for class org.springframework.beans.factory.xml.PluggableSchemaResolver
-
Loads the schema URL → schema file location mappings using the given mapping file pattern.
- pop() - Method in class org.springframework.beans.factory.parsing.ParseState
-
Remove an
ParseState.Entry
from theArrayDeque
. - popAndRegisterContainingComponent() - Method in class org.springframework.beans.factory.xml.ParserContext
- popContainingComponent() - Method in class org.springframework.beans.factory.xml.ParserContext
- populateBean(String, RootBeanDefinition, BeanWrapper) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Populate the bean instance in the given BeanWrapper with the property values from the bean definition.
- populateDefaults(DocumentDefaultsDefinition, DocumentDefaultsDefinition, Element) - Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Populate the given DocumentDefaultsDefinition instance with the default lazy-init, autowire, dependency check settings, init-method, destroy-method and merge settings.
- postProcess(BeanDefinitionBuilder, Element) - Method in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
Hook method that derived classes can implement to inspect/change a bean definition after parsing is complete.
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- postProcessAfterInitialization(Object, String) - Method in interface org.springframework.beans.factory.config.BeanPostProcessor
-
Apply this
BeanPostProcessor
to the given new bean instance after any bean initialization callbacks (like InitializingBean'safterPropertiesSet
or a custom init-method). - postProcessAfterInstantiation(Object, String) - Method in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
-
Perform operations after the bean has been instantiated, via a constructor or factory method, but before Spring property population (from explicit properties or autowiring) occurs.
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
-
Modify the application context's internal bean definition registry after its standard initialization.
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.beans.factory.annotation.CustomAutowireConfigurer
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
-
Modify the application context's internal bean factory after its standard initialization.
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.beans.factory.config.CustomEditorConfigurer
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.beans.factory.config.CustomScopeConfigurer
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.beans.factory.config.DeprecatedBeanWarner
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
-
Empty implementation of
BeanFactoryPostProcessor.postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory)
since customBeanDefinitionRegistryPostProcessor
implementations will typically only provide aBeanDefinitionRegistryPostProcessor.postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry)
method. - postProcessBeforeDestruction(Object, String) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- postProcessBeforeDestruction(Object, String) - Method in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
-
Apply this BeanPostProcessor to the given bean instance before its destruction, e.g.
- postProcessBeforeInitialization(Object, String) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- postProcessBeforeInitialization(Object, String) - Method in interface org.springframework.beans.factory.config.BeanPostProcessor
-
Apply this
BeanPostProcessor
to the given new bean instance before any bean initialization callbacks (like InitializingBean'safterPropertiesSet
or a custom init-method). - postProcessBeforeInstantiation(Class<?>, String) - Method in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
-
Apply this BeanPostProcessor before the target bean gets instantiated.
- postProcessComponentDefinition(BeanComponentDefinition) - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Hook method called after the primary parsing of a
BeanComponentDefinition
but before theBeanComponentDefinition
has been registered with aBeanDefinitionRegistry
. - postProcessMergedBeanDefinition(RootBeanDefinition, Class<?>, String) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- postProcessMergedBeanDefinition(RootBeanDefinition, Class<?>, String) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- postProcessMergedBeanDefinition(RootBeanDefinition, Class<?>, String) - Method in interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
-
Post-process the given merged bean definition for the specified bean.
- postProcessObjectFromFactoryBean(Object, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Applies the
postProcessAfterInitialization
callback of all registered BeanPostProcessors, giving them a chance to post-process the object obtained from FactoryBeans (for example, to auto-proxy them). - postProcessObjectFromFactoryBean(Object, String) - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Post-process the given object that has been obtained from the FactoryBean.
- postProcessProperties(PropertyValues, Object, String) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- postProcessProperties(PropertyValues, Object, String) - Method in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
-
Post-process the given property values before the factory applies them to the given bean.
- postProcessXml(Element) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Allow the XML to be extensible by processing any custom element types last, after we finished processing the bean definitions.
- preConstruction() - Element in annotation interface org.springframework.beans.factory.annotation.Configurable
-
Are dependencies to be injected prior to the construction of an object?
- predictBeanType(Class<?>, String) - Method in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
-
Predict the type of the bean to be eventually returned from this processor's
InstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class<?>, java.lang.String)
callback. - predictBeanType(String, RootBeanDefinition, Class<?>...) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- predictBeanType(String, RootBeanDefinition, Class<?>...) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Predict the eventual bean type (of the processed bean instance) for the specified bean.
- PreferencesPlaceholderConfigurer - Class in org.springframework.beans.factory.config
-
Deprecated.as of 5.2, along with
PropertyPlaceholderConfigurer
- PreferencesPlaceholderConfigurer() - Constructor for class org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
-
Deprecated.
- PREFERRED_CONSTRUCTORS_ATTRIBUTE - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
The name of an attribute that can be
set
on aBeanDefinition
so that bean definitions can indicate one or more preferred constructors. - preInstantiateSingletons() - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Ensure that all non-lazy-init singletons are instantiated, also considering
FactoryBeans
. - preInstantiateSingletons() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- prepareMethodOverride(MethodOverride) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Validate and prepare the given method override.
- prepareMethodOverrides() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Validate and prepare the method overrides defined for this bean.
- preProcessXml(Element) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Allow the XML to be extensible by processing any custom element types first, before we start to process the bean definitions.
- previousPage() - Method in class org.springframework.beans.support.PagedListHolder
-
Switch to previous page.
- PRIMARY_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- printStackTrace(PrintStream) - Method in exception org.springframework.beans.factory.BeanCreationException
- printStackTrace(PrintStream) - Method in exception org.springframework.beans.PropertyBatchUpdateException
- printStackTrace(PrintWriter) - Method in exception org.springframework.beans.factory.BeanCreationException
- printStackTrace(PrintWriter) - Method in exception org.springframework.beans.PropertyBatchUpdateException
- Problem - Class in org.springframework.beans.factory.parsing
-
Represents a problem with a bean definition configuration.
- Problem(String, Location) - Constructor for class org.springframework.beans.factory.parsing.Problem
-
Create a new instance of the
Problem
class. - Problem(String, Location, ParseState) - Constructor for class org.springframework.beans.factory.parsing.Problem
-
Create a new instance of the
Problem
class. - Problem(String, Location, ParseState, Throwable) - Constructor for class org.springframework.beans.factory.parsing.Problem
-
Create a new instance of the
Problem
class. - ProblemReporter - Interface in org.springframework.beans.factory.parsing
-
SPI interface allowing tools and other external processes to handle errors and warnings reported during bean definition parsing.
- process(Properties, Map<String, Object>) - Method in interface org.springframework.beans.factory.config.YamlProcessor.MatchCallback
-
Process the given representation of the parsing results.
- process(YamlProcessor.MatchCallback) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Provide an opportunity for subclasses to process the Yaml parsed from the supplied resources.
- processAheadOfTime(ConfigurableListableBeanFactory) - Method in interface org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor
-
Process the given
ConfigurableListableBeanFactory
instance ahead-of-time and return a contribution ornull
. - processAheadOfTime(RegisteredBean) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- processAheadOfTime(RegisteredBean) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- processAheadOfTime(RegisteredBean) - Method in interface org.springframework.beans.factory.aot.BeanRegistrationAotProcessor
-
Process the given
RegisteredBean
instance ahead-of-time and return a contribution ornull
. - processAliasRegistration(Element) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Process the given alias element, registering the alias with the registry.
- processBeanDefinition(Element, BeanDefinitionParserDelegate) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
Process the given bean element, parsing the bean definition and registering it with the registry.
- processInjection(Object) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Native processing method for direct calls with an arbitrary target instance, resolving all of its fields and methods which are annotated with one of the configured 'autowired' annotation types.
- processKey(ConfigurableListableBeanFactory, String, String) - Method in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
-
Process the given key as 'beanName.property' entry.
- processProperties(ConfigurableListableBeanFactory, Properties) - Method in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
- processProperties(ConfigurableListableBeanFactory, Properties) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Visit each bean definition in the given bean factory and attempt to replace ${...} property placeholders with values from the given properties.
- processProperties(ConfigurableListableBeanFactory, Properties) - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
-
Apply the given Properties to the given BeanFactory.
- PROFILE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- PROP_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- PropertiesBeanDefinitionReader - Class in org.springframework.beans.factory.support
-
Deprecated.as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementations
- PropertiesBeanDefinitionReader(BeanDefinitionRegistry) - Constructor for class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Create new PropertiesBeanDefinitionReader for the given bean factory.
- PropertiesEditor - Class in org.springframework.beans.propertyeditors
-
Custom
PropertyEditor
forProperties
objects. - PropertiesEditor() - Constructor for class org.springframework.beans.propertyeditors.PropertiesEditor
- PropertiesFactoryBean - Class in org.springframework.beans.factory.config
-
Allows for making a properties file from a classpath location available as Properties instance in a bean factory.
- PropertiesFactoryBean() - Constructor for class org.springframework.beans.factory.config.PropertiesFactoryBean
- PROPERTY_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- PROPERTY_KEY_PREFIX - Static variable in interface org.springframework.beans.PropertyAccessor
-
Marker that indicates the start of a property key for an indexed or mapped property like "person.addresses[0]".
- PROPERTY_KEY_PREFIX_CHAR - Static variable in interface org.springframework.beans.PropertyAccessor
-
Marker that indicates the start of a property key for an indexed or mapped property like "person.addresses[0]".
- PROPERTY_KEY_SUFFIX - Static variable in interface org.springframework.beans.PropertyAccessor
-
Marker that indicates the end of a property key for an indexed or mapped property like "person.addresses[0]".
- PROPERTY_KEY_SUFFIX_CHAR - Static variable in interface org.springframework.beans.PropertyAccessor
-
Marker that indicates the end of a property key for an indexed or mapped property like "person.addresses[0]".
- PropertyAccessException - Exception in org.springframework.beans
-
Superclass for exceptions related to a property access, such as type mismatch or invocation target exception.
- PropertyAccessException(PropertyChangeEvent, String, Throwable) - Constructor for exception org.springframework.beans.PropertyAccessException
-
Create a new PropertyAccessException.
- PropertyAccessException(String, Throwable) - Constructor for exception org.springframework.beans.PropertyAccessException
-
Create a new PropertyAccessException without PropertyChangeEvent.
- PropertyAccessor - Interface in org.springframework.beans
-
Common interface for classes that can access named properties (such as bean properties of an object or fields in an object).
- PropertyAccessorFactory - Class in org.springframework.beans
-
Simple factory facade for obtaining
PropertyAccessor
instances, in particular forBeanWrapper
instances. - PropertyAccessorUtils - Class in org.springframework.beans
-
Utility methods for classes that perform bean property access according to the
PropertyAccessor
interface. - PropertyAccessorUtils() - Constructor for class org.springframework.beans.PropertyAccessorUtils
- PropertyBatchUpdateException - Exception in org.springframework.beans
-
Combined exception, composed of individual PropertyAccessException instances.
- PropertyBatchUpdateException(PropertyAccessException[]) - Constructor for exception org.springframework.beans.PropertyBatchUpdateException
-
Create a new PropertyBatchUpdateException.
- PropertyComparator<T> - Class in org.springframework.beans.support
-
PropertyComparator performs a comparison of two beans, evaluating the specified bean property via a BeanWrapper.
- PropertyComparator(String, boolean, boolean) - Constructor for class org.springframework.beans.support.PropertyComparator
-
Create a PropertyComparator for the given settings.
- PropertyComparator(SortDefinition) - Constructor for class org.springframework.beans.support.PropertyComparator
-
Create a new PropertyComparator for the given SortDefinition.
- PropertyEditorRegistrar - Interface in org.springframework.beans
-
Interface for strategies that register custom
property editors
with aproperty editor registry
. - PropertyEditorRegistry - Interface in org.springframework.beans
-
Encapsulates methods for registering JavaBeans
PropertyEditors
. - PropertyEditorRegistrySupport - Class in org.springframework.beans
-
Base implementation of the
PropertyEditorRegistry
interface. - PropertyEditorRegistrySupport() - Constructor for class org.springframework.beans.PropertyEditorRegistrySupport
- PropertyEntry - Class in org.springframework.beans.factory.parsing
-
ParseState
entry representing a JavaBean property. - PropertyEntry(String) - Constructor for class org.springframework.beans.factory.parsing.PropertyEntry
-
Create a new
PropertyEntry
instance. - PropertyHandler(Class<?>, boolean, boolean) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- PropertyMatches - Class in org.springframework.beans
-
Helper class for calculating property matches, according to a configurable distance.
- PropertyOverrideConfigurer - Class in org.springframework.beans.factory.config
-
Property resource configurer that overrides bean property values in an application context definition.
- PropertyOverrideConfigurer() - Constructor for class org.springframework.beans.factory.config.PropertyOverrideConfigurer
- PropertyPathFactoryBean - Class in org.springframework.beans.factory.config
-
FactoryBean
that evaluates a property path on a given target object. - PropertyPathFactoryBean() - Constructor for class org.springframework.beans.factory.config.PropertyPathFactoryBean
- PropertyPlaceholderConfigurer - Class in org.springframework.beans.factory.config
-
Deprecated.as of 5.2; use
org.springframework.context.support.PropertySourcesPlaceholderConfigurer
instead which is more flexible through taking advantage of theEnvironment
andPropertySource
mechanisms. - PropertyPlaceholderConfigurer() - Constructor for class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.
- PropertyResourceConfigurer - Class in org.springframework.beans.factory.config
-
Allows for configuration of individual bean property values from a property resource, i.e.
- PropertyResourceConfigurer() - Constructor for class org.springframework.beans.factory.config.PropertyResourceConfigurer
- PropertyTokenHolder(String) - Constructor for class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyTokenHolder
- PropertyValue - Class in org.springframework.beans
-
Object to hold information and value for an individual bean property.
- PropertyValue(String, Object) - Constructor for class org.springframework.beans.PropertyValue
-
Create a new PropertyValue instance.
- PropertyValue(PropertyValue) - Constructor for class org.springframework.beans.PropertyValue
-
Copy constructor.
- PropertyValue(PropertyValue, Object) - Constructor for class org.springframework.beans.PropertyValue
-
Constructor that exposes a new value for an original value holder.
- PropertyValues - Interface in org.springframework.beans
-
Holder containing one or more
PropertyValue
objects, typically comprising one update for a specific target bean. - PropertyValuesEditor - Class in org.springframework.beans
-
Editor
for aPropertyValues
object. - PropertyValuesEditor() - Constructor for class org.springframework.beans.PropertyValuesEditor
- PROPS_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ProviderCreatingFactoryBean - Class in org.springframework.beans.factory.config
-
A
FactoryBean
implementation that returns a value which is a JSR-330Provider
that in turn returns a bean sourced from aBeanFactory
. - ProviderCreatingFactoryBean() - Constructor for class org.springframework.beans.factory.config.ProviderCreatingFactoryBean
- push(ParseState.Entry) - Method in class org.springframework.beans.factory.parsing.ParseState
-
Add a new
ParseState.Entry
to theArrayDeque
. - pushContainingComponent(CompositeComponentDefinition) - Method in class org.springframework.beans.factory.xml.ParserContext
Q
- qualifiedBeanOfType(BeanFactory, Class<T>, String) - Static method in class org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils
-
Obtain a bean of type
T
from the givenBeanFactory
declaring a qualifier (e.g. - qualifiedBeansOfType(ListableBeanFactory, Class<T>, String) - Static method in class org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils
-
Retrieve all beans of type
T
from the givenBeanFactory
declaring a qualifier (e.g. - Qualifier - Annotation Interface in org.springframework.beans.factory.annotation
-
This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring.
- QUALIFIER_ATTRIBUTE_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- QUALIFIER_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- QualifierAnnotationAutowireCandidateResolver - Class in org.springframework.beans.factory.annotation
-
AutowireCandidateResolver
implementation that matches bean definition qualifiers againstqualifier annotations
on the field or parameter to be autowired. - QualifierAnnotationAutowireCandidateResolver() - Constructor for class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Create a new QualifierAnnotationAutowireCandidateResolver for Spring's standard
Qualifier
annotation. - QualifierAnnotationAutowireCandidateResolver(Class<? extends Annotation>) - Constructor for class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Create a new QualifierAnnotationAutowireCandidateResolver for the given qualifier annotation type.
- QualifierAnnotationAutowireCandidateResolver(Set<Class<? extends Annotation>>) - Constructor for class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Create a new QualifierAnnotationAutowireCandidateResolver for the given qualifier annotation types.
- QualifierEntry - Class in org.springframework.beans.factory.parsing
-
ParseState
entry representing an autowire candidate qualifier. - QualifierEntry(String) - Constructor for class org.springframework.beans.factory.parsing.QualifierEntry
-
Create a new
QualifierEntry
instance.
R
- readDocumentFromString(String) - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Read an XML document from the given String.
- ReaderContext - Class in org.springframework.beans.factory.parsing
-
Context that gets passed along a bean definition reading process, encapsulating all relevant configuration as well as state.
- ReaderContext(Resource, ProblemReporter, ReaderEventListener, SourceExtractor) - Constructor for class org.springframework.beans.factory.parsing.ReaderContext
-
Construct a new
ReaderContext
. - ReaderEditor - Class in org.springframework.beans.propertyeditors
-
One-way PropertyEditor which can convert from a text String to a
java.io.Reader
, interpreting the given String as a Spring resource location (e.g. - ReaderEditor() - Constructor for class org.springframework.beans.propertyeditors.ReaderEditor
-
Create a new ReaderEditor, using the default ResourceEditor underneath.
- ReaderEditor(ResourceEditor) - Constructor for class org.springframework.beans.propertyeditors.ReaderEditor
-
Create a new ReaderEditor, using the given ResourceEditor underneath.
- ReaderEventListener - Interface in org.springframework.beans.factory.parsing
-
Interface that receives callbacks for component, alias and import registrations during a bean definition reading process.
- REF_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- REF_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- REF_PREFIX - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Prefix before values referencing other beans.
- REF_SUFFIX - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Property suffix for references to other beans in the current BeanFactory: e.g.
- registerAlias(String, String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Given a bean name, create an alias.
- registerBeanComponent(BeanComponentDefinition) - Method in class org.springframework.beans.factory.xml.ParserContext
- registerBeanDefinition(String, Map<?, ?>, String, String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Get all property values, given a prefix (which will be stripped) and add the bean they define to the factory with the given name.
- registerBeanDefinition(String, BeanDefinition) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Register a new bean definition with this registry.
- registerBeanDefinition(String, BeanDefinition) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- registerBeanDefinition(String, BeanDefinition) - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- registerBeanDefinition(BeanDefinitionHolder, BeanDefinitionRegistry) - Static method in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Register the given bean definition with the given bean factory.
- registerBeanDefinition(BeanDefinitionHolder, BeanDefinitionRegistry) - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- registerBeanDefinitionDecorator(String, BeanDefinitionDecorator) - Method in class org.springframework.beans.factory.xml.NamespaceHandlerSupport
-
Subclasses can call this to register the supplied
BeanDefinitionDecorator
to handle the specified element. - registerBeanDefinitionDecoratorForAttribute(String, BeanDefinitionDecorator) - Method in class org.springframework.beans.factory.xml.NamespaceHandlerSupport
-
Subclasses can call this to register the supplied
BeanDefinitionDecorator
to handle the specified attribute. - registerBeanDefinitionParser(String, BeanDefinitionParser) - Method in class org.springframework.beans.factory.xml.NamespaceHandlerSupport
-
Subclasses can call this to register the supplied
BeanDefinitionParser
to handle the specified element. - registerBeanDefinitions(Map<?, ?>) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Register bean definitions contained in a Map, using all property keys (i.e.
- registerBeanDefinitions(Map<?, ?>, String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Register bean definitions contained in a Map.
- registerBeanDefinitions(Map<?, ?>, String, String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Register bean definitions contained in a Map.
- registerBeanDefinitions(ResourceBundle) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Register bean definitions contained in a resource bundle, using all property keys (i.e.
- registerBeanDefinitions(ResourceBundle, String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Register bean definitions contained in a ResourceBundle.
- registerBeanDefinitions(Document, XmlReaderContext) - Method in interface org.springframework.beans.factory.xml.BeanDefinitionDocumentReader
-
Read bean definitions from the given DOM document and register them with the registry in the given reader context.
- registerBeanDefinitions(Document, XmlReaderContext) - Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
This implementation parses bean definitions according to the "spring-beans" XSD (or DTD, historically).
- registerBeanDefinitions(Document, Resource) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Register the bean definitions contained in the given DOM document.
- registerComponent(ComponentDefinition) - Method in class org.springframework.beans.factory.xml.ParserContext
- registerContainedBean(String, String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Register a containment relationship between two beans, e.g.
- registerCustomEditor(Class<?>, PropertyEditor) - Method in interface org.springframework.beans.PropertyEditorRegistry
-
Register the given custom property editor for all properties of the given type.
- registerCustomEditor(Class<?>, PropertyEditor) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
- registerCustomEditor(Class<?>, PropertyEditor) - Method in class org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
Register the given custom property editor for all properties of the given type.
- registerCustomEditor(Class<?>, Class<? extends PropertyEditor>) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Register the given custom property editor for all properties of the given type.
- registerCustomEditor(Class<?>, Class<? extends PropertyEditor>) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- registerCustomEditor(Class<?>, String, PropertyEditor) - Method in interface org.springframework.beans.PropertyEditorRegistry
-
Register the given custom property editor for the given type and property, or for all properties of the given type.
- registerCustomEditor(Class<?>, String, PropertyEditor) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
- registerCustomEditors(PropertyEditorRegistry) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Initialize the given PropertyEditorRegistry with the custom editors that have been registered with this BeanFactory.
- registerCustomEditors(PropertyEditorRegistry) - Method in interface org.springframework.beans.PropertyEditorRegistrar
-
Register custom
PropertyEditors
with the givenPropertyEditorRegistry
. - registerCustomEditors(PropertyEditorRegistry) - Method in class org.springframework.beans.support.ResourceEditorRegistrar
-
Populate the given
registry
with the following resource editors: ResourceEditor, InputStreamEditor, InputSourceEditor, FileEditor, URLEditor, URIEditor, ClassEditor, ClassArrayEditor. - registerDefaultEditors() - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Activate the default editors for this registry instance, allowing for lazily registering default editors when needed.
- registerDependentBean(String, String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Register a dependent bean for the given bean, to be destroyed before the given bean is destroyed.
- registerDependentBean(String, String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Register a dependent bean for the given bean, to be destroyed before the given bean is destroyed.
- registerDependentBeans(ConfigurableBeanFactory, String, Set<String>) - Method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
- registerDestructionCallback(String, Runnable) - Method in interface org.springframework.beans.factory.config.Scope
-
Register a callback to be executed on destruction of the specified object in the scope (or at destruction of the entire scope, if the scope does not destroy individual objects but rather only terminates in its entirety).
- registerDisposableBean(String, DisposableBean) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Add the given bean to the list of disposable beans in this registry.
- registerDisposableBeanIfNecessary(String, Object, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Add the given bean to the list of disposable beans in this factory, registering its DisposableBean interface and/or the given destroy method to be called on factory shutdown (if applicable).
- RegisteredBean - Class in org.springframework.beans.factory.support
-
A
RegisteredBean
represents a bean that has been registered with aBeanFactory
, but has not necessarily been instantiated. - registerExternallyManagedConfigMember(Member) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Register an externally managed configuration method or field.
- registerExternallyManagedDestroyMethod(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Register an externally managed configuration destruction method — for example, a method annotated with JSR-250's
jakarta.annotation.PreDestroy
annotation. - registerExternallyManagedInitMethod(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Register an externally managed configuration initialization method — for example, a method annotated with JSR-250's
javax.annotation.PostConstruct
or Jakarta'sjakarta.annotation.PostConstruct
annotation. - registerProcessedProperty(String) - Method in class org.springframework.beans.MutablePropertyValues
-
Register the specified property as "processed" in the sense of some processor calling the corresponding setter method outside the PropertyValue(s) mechanism.
- registerResolvableDependency(Class<?>, Object) - Method in interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory
-
Register a special dependency type with corresponding autowired value.
- registerResolvableDependency(Class<?>, Object) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- registerScope(String, Scope) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Register the given scope, backed by the given Scope implementation.
- registerScope(String, Scope) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- registerSingleton(String, Object) - Method in interface org.springframework.beans.factory.config.SingletonBeanRegistry
-
Register the given existing object as singleton in the bean registry, under the given bean name.
- registerSingleton(String, Object) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- registerSingleton(String, Object) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- registerWithGeneratedName(BeanDefinition) - Method in class org.springframework.beans.factory.xml.XmlReaderContext
-
Call the bean name generator for the given bean definition and register the bean definition under the generated name.
- registerWithGeneratedName(AbstractBeanDefinition, BeanDefinitionRegistry) - Static method in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Register the given bean definition with a generated name, unique within the given bean factory.
- reimplement(Object, Method, Object[]) - Method in interface org.springframework.beans.factory.support.MethodReplacer
-
Reimplement the given method.
- remove(String) - Method in interface org.springframework.beans.factory.config.Scope
-
Remove the object with the given
name
from the underlying scope. - removeAttribute(String) - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
- removeBeanDefinition(String) - Method in interface org.springframework.beans.factory.support.BeanDefinitionRegistry
-
Remove the BeanDefinition for the given name.
- removeBeanDefinition(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- removeBeanDefinition(String) - Method in class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- removePropertyValue(String) - Method in class org.springframework.beans.MutablePropertyValues
-
Overloaded version of
removePropertyValue
that takes a property name. - removePropertyValue(PropertyValue) - Method in class org.springframework.beans.MutablePropertyValues
-
Remove the given PropertyValue, if contained.
- removeSingleton(String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Overridden to clear FactoryBean instance cache as well.
- removeSingleton(String) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
-
Remove the bean with the given name from the singleton cache of this factory, to be able to clean up eager registration of a singleton if creation failed.
- removeSingleton(String) - Method in class org.springframework.beans.factory.support.FactoryBeanRegistrySupport
-
Overridden to clear the FactoryBean object cache as well.
- removeSingletonIfCreatedForTypeCheckOnly(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Remove the singleton instance (if any) for the given bean name, but only if it hasn't been used for other purposes than type checking.
- REPLACED_METHOD_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- ReplaceOverride - Class in org.springframework.beans.factory.support
-
Extension of
MethodOverride
that represents an arbitrary override of a method by the IoC container. - ReplaceOverride(String, String) - Constructor for class org.springframework.beans.factory.support.ReplaceOverride
-
Construct a new ReplaceOverride.
- REPLACER_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- required() - Element in annotation interface org.springframework.beans.factory.annotation.Autowired
-
Declares whether the annotated dependency is required.
- requiresDestruction(Object) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- requiresDestruction(Object) - Method in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
-
Determine whether the given bean instance requires destruction by this post-processor.
- requiresDestruction(Object, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Determine whether the given bean requires destruction on shutdown.
- resetBeanDefinition(String) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- resetBeanDefinition(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Reset all bean definition caches for the given bean, including the caches of beans that are derived from it.
- resetBeanDefinition(String) - Method in interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
-
A notification that the bean definition for the specified name has been reset, and that this post-processor should clear any metadata for the affected bean.
- resolve(String) - Method in class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
-
Locate the
NamespaceHandler
for the supplied namespace URI from the configured mappings. - resolve(String) - Method in interface org.springframework.beans.factory.xml.NamespaceHandlerResolver
-
Resolve the namespace URI and return the located
NamespaceHandler
implementation. - resolve(RegisteredBean) - Method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Resolve the field value for the specified registered bean.
- resolve(RegisteredBean) - Method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
-
Resolve the method arguments for the specified registered bean.
- resolve(RegisteredBean, Class<T>) - Method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Resolve the field value for the specified registered bean.
- resolve(RegisteredBean, ThrowingConsumer<AutowiredArguments>) - Method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
-
Resolve the method arguments for the specified registered bean and provide it to the given action.
- resolve(RegisteredBean, ThrowingConsumer<T>) - Method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Resolve the field for the specified registered bean and provide it to the given action.
- resolveAliases(StringValueResolver) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Resolve all alias target names and aliases registered in this factory, applying the given StringValueResolver to them.
- resolveAndInvoke(RegisteredBean, Object) - Method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
-
Resolve the method arguments for the specified registered bean and invoke the method using reflection.
- resolveAndSet(RegisteredBean, Object) - Method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Resolve the field value for the specified registered bean and set it using reflection.
- resolveAutowiredArgument(DependencyDescriptor, TypeConverter, Set<String>) - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Resolve an autowired argument.
- resolveBeanByName(String, DependencyDescriptor) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Resolve a bean instance for the given bean name, providing a dependency descriptor for exposure to target factory methods.
- resolveBeanByName(String, DependencyDescriptor) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- resolveBeanClass(ClassLoader) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Determine the class of the wrapped bean, resolving it from a specified class name if necessary.
- resolveBeanClass(RootBeanDefinition, String, Class<?>...) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Resolve the bean class for the specified bean definition, resolving a bean class name into a Class reference (if necessary) and storing the resolved Class in the bean definition for further use.
- resolveBeforeInstantiation(String, RootBeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Apply before-instantiation post-processors, resolving whether there is a before-instantiation shortcut for the specified bean.
- resolveCandidate(String, Class<?>, BeanFactory) - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Resolve the specified bean name, as a candidate result of the matching algorithm for this dependency, to a bean instance from the given factory.
- resolveClassName(String) - Method in class org.springframework.beans.factory.config.MethodInvokingBean
- resolveConstructorArguments(Object[], int, int) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
- resolveConstructorOrFactoryMethod() - Method in class org.springframework.beans.factory.support.RegisteredBean
-
Resolve the constructor or factory method to use for this bean.
- resolveContextualObject(String) - Method in interface org.springframework.beans.factory.config.Scope
-
Resolve the contextual object for the given key, if any.
- resolveDependency(Parameter, int, Class<?>, AutowireCapableBeanFactory) - Static method in class org.springframework.beans.factory.annotation.ParameterResolutionDelegate
-
Resolve the dependency for the supplied
Parameter
from the suppliedAutowireCapableBeanFactory
. - resolveDependency(DependencyDescriptor, String) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Resolve the specified dependency against the beans defined in this factory.
- resolveDependency(DependencyDescriptor, String) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
- resolveDependency(DependencyDescriptor, String, Set<String>, TypeConverter) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Resolve the specified dependency against the beans defined in this factory.
- resolveDependency(DependencyDescriptor, String, Set<String>, TypeConverter) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- resolveDestroyMethodIfNecessary() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Resolve the inferred destroy method if necessary.
- resolveEmbeddedValue(String) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Resolve the given embedded value, e.g.
- resolveEmbeddedValue(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- resolveEntity(String, String) - Method in class org.springframework.beans.factory.xml.BeansDtdResolver
- resolveEntity(String, String) - Method in class org.springframework.beans.factory.xml.DelegatingEntityResolver
- resolveEntity(String, String) - Method in class org.springframework.beans.factory.xml.PluggableSchemaResolver
- resolveEntity(String, String) - Method in class org.springframework.beans.factory.xml.ResourceEntityResolver
- resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Resolve the ID for the supplied
BeanDefinition
. - resolveInnerBean(String, BeanDefinition, BiFunction<String, RootBeanDefinition, T>) - Method in class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Resolve an inner bean definition and invoke the specified
resolver
on its merged bean definition. - resolveNamedBean(Class<T>) - Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
-
Resolve the bean instance that uniquely matches the given object type, if any, including its bean name.
- resolveNamedBean(Class<T>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- resolveNotUnique(ResolvableType, Map<String, Object>) - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Resolve the specified not-unique scenario: by default, throwing a
NoUniqueBeanDefinitionException
. - resolveObject(RegisteredBean) - Method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Resolve the field value for the specified registered bean.
- resolvePlaceholder(String, String, Preferences) - Method in class org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
-
Deprecated.Resolve the given path and key against the given Preferences.
- resolvePlaceholder(String, Properties) - Method in class org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
-
Deprecated.This implementation tries to resolve placeholders as keys first in the user preferences, then in the system preferences, then in the passed-in properties.
- resolvePlaceholder(String, Properties) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Resolve the given placeholder using the given properties.
- resolvePlaceholder(String, Properties, int) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Resolve the given placeholder using the given properties, performing a system properties check according to the given mode.
- resolveSchemaEntity(String, String) - Method in class org.springframework.beans.factory.xml.ResourceEntityResolver
-
A fallback method for
ResourceEntityResolver.resolveEntity(String, String)
that is used when a "schema" entity (DTD or XSD) cannot be resolved as a local resource. - resolveShortcut(BeanFactory) - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Resolve a shortcut for this dependency against the given factory, for example taking some pre-resolved information into account.
- resolveSignature(String, Class<?>) - Static method in class org.springframework.beans.BeanUtils
-
Parse a method signature in the form
methodName[([arg_list])]
, wherearg_list
is an optional, comma-separated list of fully-qualified type names, and attempts to resolve that signature against the suppliedClass
. - resolveStringValue(String) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
-
Resolve the given String value, for example parsing placeholders.
- resolveStringValue(String) - Method in class org.springframework.beans.factory.config.EmbeddedValueResolver
- resolveSystemProperty(String) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Resolve the given key as JVM system property, and optionally also as system environment variable if no matching system property has been found.
- resolveTargetType(ClassLoader) - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Determine the type to convert to, resolving it from a specified class name if necessary.
- resolveTargetType(TypedStringValue) - Method in class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Resolve the target type in the given TypedStringValue.
- resolveValue(Object) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- resolveValueIfNecessary(Object, Object) - Method in class org.springframework.beans.factory.support.BeanDefinitionValueResolver
-
Given a PropertyValue, return a value, resolving any references to other beans in the factory if necessary.
- resolveWiringInfo(Object) - Method in class org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver
- resolveWiringInfo(Object) - Method in interface org.springframework.beans.factory.wiring.BeanWiringInfoResolver
-
Resolve the BeanWiringInfo for the given bean instance.
- resolveWiringInfo(Object) - Method in class org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver
- resort() - Method in class org.springframework.beans.support.PagedListHolder
-
Resort the list if necessary, i.e.
- RESOURCE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- ResourceBundleEditor - Class in org.springframework.beans.propertyeditors
-
PropertyEditor
implementation for standard JDKResourceBundles
. - ResourceBundleEditor() - Constructor for class org.springframework.beans.propertyeditors.ResourceBundleEditor
- ResourceEditorRegistrar - Class in org.springframework.beans.support
-
PropertyEditorRegistrar implementation that populates a given
PropertyEditorRegistry
(typically aBeanWrapper
used for bean creation within anorg.springframework.context.ApplicationContext
) with resource editors. - ResourceEditorRegistrar(ResourceLoader, PropertyResolver) - Constructor for class org.springframework.beans.support.ResourceEditorRegistrar
-
Create a new ResourceEditorRegistrar for the given
ResourceLoader
andPropertyResolver
. - ResourceEntityResolver - Class in org.springframework.beans.factory.xml
-
EntityResolver
implementation that tries to resolve entity references through aResourceLoader
(usually, relative to the resource base of anApplicationContext
), if applicable. - ResourceEntityResolver(ResourceLoader) - Constructor for class org.springframework.beans.factory.xml.ResourceEntityResolver
-
Create a ResourceEntityResolver for the specified ResourceLoader (usually, an ApplicationContext).
- ROLE_APPLICATION - Static variable in interface org.springframework.beans.factory.config.BeanDefinition
-
Role hint indicating that a
BeanDefinition
is a major part of the application. - ROLE_INFRASTRUCTURE - Static variable in interface org.springframework.beans.factory.config.BeanDefinition
-
Role hint indicating that a
BeanDefinition
is providing an entirely background role and has no relevance to the end-user. - ROLE_SUPPORT - Static variable in interface org.springframework.beans.factory.config.BeanDefinition
-
Role hint indicating that a
BeanDefinition
is a supporting part of some larger configuration, typically an outerComponentDefinition
. - rootBeanDefinition(Class<?>) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aRootBeanDefinition
. - rootBeanDefinition(Class<?>, String) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aRootBeanDefinition
. - rootBeanDefinition(Class<T>, Supplier<T>) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aRootBeanDefinition
. - rootBeanDefinition(String) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aRootBeanDefinition
. - rootBeanDefinition(String, String) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aRootBeanDefinition
. - rootBeanDefinition(ResolvableType, Supplier<T>) - Static method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Create a new
BeanDefinitionBuilder
used to construct aRootBeanDefinition
. - RootBeanDefinition - Class in org.springframework.beans.factory.support
-
A root bean definition represents the merged bean definition at runtime that backs a specific bean in a Spring BeanFactory.
- RootBeanDefinition() - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition, to be configured through its bean properties and configuration methods.
- RootBeanDefinition(Class<?>) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a singleton.
- RootBeanDefinition(Class<?>, int, boolean) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a singleton, using the given autowire mode.
- RootBeanDefinition(Class<?>, ConstructorArgumentValues, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.
- RootBeanDefinition(Class<T>, String, Supplier<T>) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a scoped bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).
- RootBeanDefinition(Class<T>, Supplier<T>) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a singleton bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).
- RootBeanDefinition(String) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.
- RootBeanDefinition(String, ConstructorArgumentValues, MutablePropertyValues) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.
- RootBeanDefinition(RootBeanDefinition) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Create a new RootBeanDefinition as deep copy of the given bean definition.
- RootBeanDefinition(ResolvableType) - Constructor for class org.springframework.beans.factory.support.RootBeanDefinition
-
Deprecated.as of 6.0.11, in favor of an extra
RootBeanDefinition.setTargetType(ResolvableType)
call - RuntimeBeanNameReference - Class in org.springframework.beans.factory.config
-
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.
- RuntimeBeanNameReference(String) - Constructor for class org.springframework.beans.factory.config.RuntimeBeanNameReference
-
Create a new RuntimeBeanNameReference to the given bean name.
- RuntimeBeanReference - Class in org.springframework.beans.factory.config
-
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.
- RuntimeBeanReference(Class<?>) - Constructor for class org.springframework.beans.factory.config.RuntimeBeanReference
-
Create a new RuntimeBeanReference to a bean of the given type.
- RuntimeBeanReference(Class<?>, boolean) - Constructor for class org.springframework.beans.factory.config.RuntimeBeanReference
-
Create a new RuntimeBeanReference to a bean of the given type, with the option to mark it as reference to a bean in the parent factory.
- RuntimeBeanReference(String) - Constructor for class org.springframework.beans.factory.config.RuntimeBeanReference
-
Create a new RuntimeBeanReference to the given bean name.
- RuntimeBeanReference(String, boolean) - Constructor for class org.springframework.beans.factory.config.RuntimeBeanReference
-
Create a new RuntimeBeanReference to the given bean name, with the option to mark it as reference to a bean in the parent factory.
S
- Scope - Interface in org.springframework.beans.factory.config
-
Strategy interface used by a
ConfigurableBeanFactory
, representing a target scope to hold bean instances in. - SCOPE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- SCOPE_DEFAULT - Static variable in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Constant for the default scope name:
""
, equivalent to singleton status unless overridden from a parent bean definition (if applicable). - SCOPE_KEY - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Special key to distinguish
owner.(scope)=prototype
. - SCOPE_PROTOTYPE - Static variable in interface org.springframework.beans.factory.config.BeanDefinition
-
Scope identifier for the standard prototype scope: "prototype".
- SCOPE_PROTOTYPE - Static variable in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Scope identifier for the standard prototype scope: "prototype".
- SCOPE_SINGLETON - Static variable in interface org.springframework.beans.factory.config.BeanDefinition
-
Scope identifier for the standard singleton scope: "singleton".
- SCOPE_SINGLETON - Static variable in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Scope identifier for the standard singleton scope: "singleton".
- ScopeNotActiveException - Exception in org.springframework.beans.factory.support
-
A subclass of
BeanCreationException
which indicates that the target scope is not active, e.g. - ScopeNotActiveException(String, String, IllegalStateException) - Constructor for exception org.springframework.beans.factory.support.ScopeNotActiveException
-
Create a new ScopeNotActiveException.
- SEPARATOR - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Separator between bean name and property name.
- ServiceFactoryBean - Class in org.springframework.beans.factory.serviceloader
-
FactoryBean
that exposes the 'primary' service for the configured service class, obtained through the JDK 1.6ServiceLoader
facility. - ServiceFactoryBean() - Constructor for class org.springframework.beans.factory.serviceloader.ServiceFactoryBean
- ServiceListFactoryBean - Class in org.springframework.beans.factory.serviceloader
-
FactoryBean
that exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6ServiceLoader
facility. - ServiceListFactoryBean() - Constructor for class org.springframework.beans.factory.serviceloader.ServiceListFactoryBean
- ServiceLoaderFactoryBean - Class in org.springframework.beans.factory.serviceloader
-
FactoryBean
that exposes the JDK 1.6ServiceLoader
for the configured service class. - ServiceLoaderFactoryBean() - Constructor for class org.springframework.beans.factory.serviceloader.ServiceLoaderFactoryBean
- ServiceLocatorFactoryBean - Class in org.springframework.beans.factory.config
-
A
FactoryBean
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
. - ServiceLocatorFactoryBean() - Constructor for class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
- SET_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- setAbstract(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set if this bean is "abstract", i.e.
- setAbstract(boolean) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set whether this definition is abstract.
- setAllowBeanDefinitionOverriding(boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Set whether it should be allowed to override bean definitions by registering a different definition with the same name, automatically replacing the former.
- setAllowCircularReferences(boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Set whether to allow circular references between beans - and automatically try to resolve them.
- setAllowEagerClassLoading(boolean) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Set whether the factory is allowed to eagerly load bean classes even for bean definitions that are marked as "lazy-init".
- setAllowRawInjectionDespiteWrapping(boolean) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Set whether to allow the raw injection of a bean instance into some other bean's property, despite the injected bean eventually getting wrapped (for example, through AOP auto-proxying).
- setApplicationStartup(ApplicationStartup) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Set the
ApplicationStartup
for this bean factory. - setApplicationStartup(ApplicationStartup) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setAscending(boolean) - Method in class org.springframework.beans.support.MutableSortDefinition
-
Set whether to sort ascending (true) or descending (false).
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CharacterEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CharArrayPropertyEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CharsetEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.ClassArrayEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.ClassEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CurrencyEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CustomBooleanEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Convert the given text value to a Collection with a single element.
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CustomDateEditor
-
Parse the Date from the given text, using the specified DateFormat.
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
Convert the given text value to a Map with a single element.
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.CustomNumberEditor
-
Parse the Number from the given text, using the specified NumberFormat.
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.FileEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.InputSourceEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.InputStreamEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.LocaleEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.PathEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.PatternEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.PropertiesEditor
-
Convert
String
intoProperties
, considering it as properties content. - setAsText(String) - Method in class org.springframework.beans.propertyeditors.ReaderEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.ResourceBundleEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.StringTrimmerEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.TimeZoneEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.URIEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.URLEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.UUIDEditor
- setAsText(String) - Method in class org.springframework.beans.propertyeditors.ZoneIdEditor
- setAsText(String) - Method in class org.springframework.beans.PropertyValuesEditor
- setAttribute(String, Object) - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
- setAutoGrowCollectionLimit(int) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Specify a limit for array and collection auto-growing.
- setAutoGrowCollectionLimit(int) - Method in interface org.springframework.beans.BeanWrapper
-
Specify a limit for array and collection auto-growing.
- setAutoGrowNestedPaths(boolean) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setAutoGrowNestedPaths(boolean) - Method in interface org.springframework.beans.ConfigurablePropertyAccessor
-
Set whether this instance should attempt to "auto-grow" a nested path that contains a
null
value. - setAutowire(String) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the default autowire setting for the document that's currently parsed.
- setAutowireCandidate(boolean) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set whether this bean is a candidate for getting autowired into some other bean.
- setAutowireCandidate(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set whether this bean is a candidate for getting autowired into some other bean.
- setAutowireCandidateResolver(AutowireCandidateResolver) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Set a custom autowire candidate resolver for this BeanFactory to use when deciding whether a bean definition should be considered as a candidate for autowiring.
- setAutowireCandidates(String) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the default autowire-candidate pattern for the document that's currently parsed.
- setAutowiredAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Set the 'autowired' annotation type, to be used on constructors, fields, setter methods, and arbitrary config methods.
- setAutowiredAnnotationTypes(Set<Class<? extends Annotation>>) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Set the 'autowired' annotation types, to be used on constructors, fields, setter methods, and arbitrary config methods.
- setAutowireMode(int) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the autowire mode.
- setAutowireMode(int) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the autowire mode for this definition.
- setAutowireMode(int) - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Set the autowire mode.
- setBeanClass(Class<?>) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify the class for this bean.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.annotation.CustomAutowireConfigurer
- setBeanClassLoader(ClassLoader) - Method in interface org.springframework.beans.factory.BeanClassLoaderAware
-
Callback that supplies the bean
class loader
to a bean instance. - setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
- setBeanClassLoader(ClassLoader) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Set the class loader to use for loading bean classes.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.config.CustomScopeConfigurer
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.config.MethodInvokingBean
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Set the ClassLoader to use for bean classes.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setBeanClassName(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Specify the bean class name of this bean definition.
- setBeanClassName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify the bean class name of this bean definition.
- setBeanExpressionResolver(BeanExpressionResolver) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Specify the resolution strategy for expressions in bean definition values.
- setBeanExpressionResolver(BeanExpressionResolver) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- setBeanFactory(BeanFactory) - Method in interface org.springframework.beans.factory.BeanFactoryAware
-
Callback that supplies the owning factory to a bean instance.
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.config.MethodInvokingBean
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Only necessary to check that we're not parsing our own bean definition, to avoid failing on unresolvable placeholders in properties file locations.
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver
- setBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Set the
BeanFactory
in which this aspect must configure beans. - setBeanInstance(Object) - Method in class org.springframework.beans.BeanWrapperImpl
-
Set a bean instance to hold, without any unwrapping of
Optional
. - setBeanName(String) - Method in interface org.springframework.beans.factory.BeanNameAware
-
Set the name of the bean in the bean factory that created this bean.
- setBeanName(String) - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
The bean name of this FieldRetrievingFactoryBean will be interpreted as "staticField" pattern, if neither "targetClass" nor "targetObject" nor "targetField" have been specified.
- setBeanName(String) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Only necessary to check that we're not parsing our own bean definition, to avoid failing on unresolvable placeholders in properties file locations.
- setBeanName(String) - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
-
The bean name of this PropertyPathFactoryBean will be interpreted as "beanName.property" pattern, if neither "targetObject" nor "targetBeanName" nor "propertyPath" have been specified.
- setBeanNameGenerator(BeanNameGenerator) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Set the BeanNameGenerator to use for anonymous beans (without explicit bean name specified).
- setBeanNameSeparator(String) - Method in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
-
Set the separator to expect between bean name and property path.
- setBeanWiringInfoResolver(BeanWiringInfoResolver) - Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
-
Set the
BeanWiringInfoResolver
to use. - setBinding(Binding) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Set the binding, i.e.
- setCacheBeanMetadata(boolean) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Set whether to cache bean metadata such as given bean definitions (in merged fashion) and resolved bean classes.
- setCacheBeanMetadata(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setConstructorArgumentValues(ConstructorArgumentValues) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify constructor argument values for this bean.
- setContainingClass(Class<?>) - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Optionally set the concrete class that contains this dependency.
- setConversionService(ConversionService) - Method in interface org.springframework.beans.ConfigurablePropertyAccessor
-
Specify a
ConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors. - setConversionService(ConversionService) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Specify a
ConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors. - setConversionService(ConversionService) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setConversionService(ConversionService) - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Specify a
ConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors. - setConverted() - Method in class org.springframework.beans.MutablePropertyValues
-
Mark this holder as containing converted values only (i.e.
- setConvertedValue(Object) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Set the converted value of the constructor argument, after processed type conversion.
- setConvertedValue(Object) - Method in class org.springframework.beans.PropertyValue
-
Set the converted value of this property value, after processed type conversion.
- setCurrentlyInCreation(String, boolean) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Explicitly control the current in-creation status of the specified bean.
- setCurrentlyInCreation(String, boolean) - Method in class org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- setCurrentlyInvokedFactoryMethod(Method) - Static method in class org.springframework.beans.factory.support.SimpleInstantiationStrategy
-
Set the factory method currently being invoked or
null
to reset. - setCustomEditors(Map<Class<?>, Class<? extends PropertyEditor>>) - Method in class org.springframework.beans.factory.config.CustomEditorConfigurer
-
Specify the custom editors to register via a
Map
, using the class name of the required type as the key and the class name of the associatedPropertyEditor
as value. - setCustomQualifierTypes(Set<?>) - Method in class org.springframework.beans.factory.annotation.CustomAutowireConfigurer
-
Register custom qualifier annotation types to be considered when autowiring beans.
- setDecoratedDefinition(BeanDefinitionHolder) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Register a target definition that is being decorated by this bean definition.
- setDefaultParentBean(String) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Set the default parent bean for this bean factory.
- setDependencyCheck(int) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the dependency check code.
- setDependencyCheck(int) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the dependency check mode for this definition.
- setDependencyCheck(int) - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Set the dependency check code.
- setDependencyComparator(Comparator<Object>) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Set a
Comparator
for dependency Lists and arrays. - setDependsOn(String...) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set the names of the beans that this bean depends on being initialized.
- setDependsOn(String...) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the names of the beans that this bean depends on being initialized.
- setDescription(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set a human-readable description of this bean definition.
- setDescription(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set a human-readable description of this bean definition.
- setDestroyAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
-
Specify the destroy annotation to check for, indicating destruction methods to call when the context is shutting down.
- setDestroyMethod(String) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the default destroy-method setting for the document that's currently parsed.
- setDestroyMethodName(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set the name of the destroy method.
- setDestroyMethodName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the name of the destroy method.
- setDestroyMethodName(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the destroy method for this definition.
- setDestroyMethodName(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Set the name of the default destroy method.
- setDestroyMethodNames(String...) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify the names of multiple destroy methods.
- setDocumentLoader(DocumentLoader) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Specify the
DocumentLoader
to use. - setDocumentMatchers(YamlProcessor.DocumentMatcher...) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
A map of document matchers allowing callers to selectively use only some of the documents in a YAML resource.
- setDocumentReaderClass(Class<? extends BeanDefinitionDocumentReader>) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Specify the
BeanDefinitionDocumentReader
implementation to use, responsible for the actual reading of the XML bean definition document. - setDynamic() - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Mark this value as dynamic, i.e.
- setElementTypeName(String) - Method in class org.springframework.beans.factory.support.ManagedList
-
Set the default element type name (class name) to be used for this list.
- setElementTypeName(String) - Method in class org.springframework.beans.factory.support.ManagedSet
-
Set the default element type name (class name) to be used for this set.
- setEnforceDestroyMethod(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify whether the configured destroy method is the default.
- setEnforceInitMethod(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify whether the configured initializer method is the default.
- setEntityResolver(EntityResolver) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Set a SAX entity resolver to be used for parsing.
- setEnvironment(Environment) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Set the Environment to use when reading bean definitions.
- setErrorHandler(ErrorHandler) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Set an implementation of the
org.xml.sax.ErrorHandler
interface for custom handling of XML parsing errors and warnings. - setEventListener(ReaderEventListener) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Specify which
ReaderEventListener
to use. - setExtractOldValueForEditor(boolean) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setExtractOldValueForEditor(boolean) - Method in interface org.springframework.beans.ConfigurablePropertyAccessor
-
Set whether to extract the old property value when applying a property editor to a new value for a property.
- SetFactoryBean - Class in org.springframework.beans.factory.config
-
Simple factory for shared Set instances.
- SetFactoryBean() - Constructor for class org.springframework.beans.factory.config.SetFactoryBean
- setFactoryBeanName(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Specify the factory bean to use, if any.
- setFactoryBeanName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify the factory bean to use, if any.
- setFactoryMethod(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the name of a static factory method to use for this definition, to be called on this bean's class.
- setFactoryMethodName(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Specify a factory method, if any.
- setFactoryMethodName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify a factory method, if any.
- setFactoryMethodOnBean(String, String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the name of a non-static factory method to use for this definition, including the bean name of the factory instance to call the method on.
- setIgnoreCase(boolean) - Method in class org.springframework.beans.support.MutableSortDefinition
-
Set whether upper and lower case in String values should be ignored.
- setIgnoreInvalidKeys(boolean) - Method in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
-
Set whether to ignore invalid keys.
- setIgnoreUnresolvablePlaceholders(boolean) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Set whether to ignore unresolvable placeholders.
- setInitAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
-
Specify the init annotation to check for, indicating initialization methods to call after configuration of a bean.
- setInitMethod(String) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the default init-method setting for the document that's currently parsed.
- setInitMethodName(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set the name of the initializer method.
- setInitMethodName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the name of the initializer method.
- setInitMethodName(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the init method for this definition.
- setInitMethodName(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Set the name of the default initializer method.
- setInitMethodNames(String...) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify the names of multiple initializer methods.
- setInstanceSupplier(Supplier<?>) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify a callback for creating an instance of the bean, as an alternative to a declaratively specified factory method.
- setInstanceSupplier(Supplier<?>) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
- setInstantiationStrategy(InstantiationStrategy) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Set the instantiation strategy to use for creating bean instances.
- setIntrospectionClass(Class<?>) - Method in class org.springframework.beans.BeanWrapperImpl
-
Set the class to introspect.
- setKeyTypeName(String) - Method in class org.springframework.beans.factory.support.ManagedMap
-
Set the default key type name (class name) to be used for this map.
- setLazyInit(boolean) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set whether this bean should be lazily initialized.
- setLazyInit(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set whether this bean should be lazily initialized.
- setLazyInit(boolean) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set whether beans for this definition should be lazily initialized or not.
- setLazyInit(boolean) - Method in class org.springframework.beans.factory.support.BeanDefinitionDefaults
-
Set whether beans should be lazily initialized by default.
- setLazyInit(String) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the default lazy-init flag for the document that's currently parsed.
- setLenientConstructorResolution(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify whether to resolve constructors in lenient mode (
true
, which is the default) or to switch to strict resolution (throwing an exception in case of ambiguous constructors that all match when converting the arguments, whereas lenient mode would use the one with the 'closest' type matches). - setLogger(Log) - Method in class org.springframework.beans.factory.parsing.FailFastProblemReporter
-
Set the
logger
that is to be used to report warnings. - setLoggerName(String) - Method in class org.springframework.beans.factory.config.DeprecatedBeanWarner
-
Set the name of the logger to use.
- setMatchDefault(boolean) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Flag indicating that a document for which all the
document matchers
abstain will nevertheless match. - setMaxLinkedPages(int) - Method in class org.springframework.beans.support.PagedListHolder
-
Set the maximum number of page links to a few pages around the current one.
- setMerge(String) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the default merge setting for the document that's currently parsed.
- setMergeEnabled(boolean) - Method in class org.springframework.beans.factory.support.ManagedList
-
Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
- setMergeEnabled(boolean) - Method in class org.springframework.beans.factory.support.ManagedMap
-
Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
- setMergeEnabled(boolean) - Method in class org.springframework.beans.factory.support.ManagedProperties
-
Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
- setMergeEnabled(boolean) - Method in class org.springframework.beans.factory.support.ManagedSet
-
Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
- setMetaClass(MetaClass) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
- setMethodOverrides(MethodOverrides) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify method overrides for the bean, if any.
- setName(String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Set the name of the constructor argument.
- setNamespaceAware(boolean) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Set whether the XML parser should be XML namespace aware.
- setNamespaceHandlerResolver(NamespaceHandlerResolver) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Specify the
NamespaceHandlerResolver
to use. - setNonPublicAccessAllowed(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify whether to allow access to non-public constructors and methods, for the case of externalized metadata pointing to those.
- setNonUniqueFactoryMethodName(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Specify a factory method name that refers to an overloaded method.
- setNullValue(String) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Set a value that should be treated as
null
when resolved as a placeholder value: e.g. - setOptional(boolean) - Method in class org.springframework.beans.PropertyValue
-
Set whether this is an optional value, that is, to be ignored when no corresponding property exists on the target class.
- setOrder(int) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- setOrder(int) - Method in class org.springframework.beans.factory.annotation.CustomAutowireConfigurer
- setOrder(int) - Method in class org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor
- setOrder(int) - Method in class org.springframework.beans.factory.config.CustomEditorConfigurer
- setOrder(int) - Method in class org.springframework.beans.factory.config.CustomScopeConfigurer
- setOrder(int) - Method in class org.springframework.beans.factory.config.PropertyResourceConfigurer
-
Set the order value of this object for sorting purposes.
- setOriginatingBeanDefinition(BeanDefinition) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the originating (e.g.
- setOverloaded(boolean) - Method in class org.springframework.beans.factory.support.MethodOverride
-
Set whether the overridden method is overloaded (i.e., whether argument type matching needs to occur to disambiguate methods of the same name).
- setPage(int) - Method in class org.springframework.beans.support.PagedListHolder
-
Set the current page number.
- setPageSize(int) - Method in class org.springframework.beans.support.PagedListHolder
-
Set the current page size.
- setParameterNameDiscoverer(ParameterNameDiscoverer) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g.
- setParentBeanFactory(BeanFactory) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Set the parent of this bean factory.
- setParentBeanFactory(BeanFactory) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setParentName(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set the name of the parent definition of this bean definition, if any.
- setParentName(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the name of the parent definition of this bean definition.
- setParentName(String) - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- setParentName(String) - Method in class org.springframework.beans.factory.support.GenericBeanDefinition
- setParentName(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
- setPlaceholderPrefix(String) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Set the prefix that a placeholder string starts with.
- setPlaceholderSuffix(String) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Set the suffix that a placeholder string ends with.
- setPrimary(boolean) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set whether this bean is a primary autowire candidate.
- setPrimary(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set whether this bean is a primary autowire candidate.
- setPrimary(boolean) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set whether this bean is a primary autowire candidate.
- setProblemReporter(ProblemReporter) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Specify which
ProblemReporter
to use. - setPropertiesPersister(PropertiesPersister) - Method in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Set the PropertiesPersister to use for parsing properties files.
- setProperty(String) - Method in class org.springframework.beans.support.MutableSortDefinition
-
Set the property to compare.
- setProperty(String, Object) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
This method overrides property setting in the scope of the
GroovyBeanDefinitionReader
to set properties on the current bean definition. - setPropertyEditorRegistrars(PropertyEditorRegistrar[]) - Method in class org.springframework.beans.factory.config.CustomEditorConfigurer
-
Specify the
PropertyEditorRegistrars
to apply to beans defined within the current application context. - setPropertyPath(String) - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
-
Specify the property path to apply to the target.
- setPropertyValue(String, Object) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- setPropertyValue(String, Object) - Method in class org.springframework.beans.AbstractPropertyAccessor
-
Actually set a property value.
- setPropertyValue(String, Object) - Method in interface org.springframework.beans.PropertyAccessor
-
Set the specified value as current property value.
- setPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder, PropertyValue) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- setPropertyValue(PropertyValue) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- setPropertyValue(PropertyValue) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setPropertyValue(PropertyValue) - Method in interface org.springframework.beans.PropertyAccessor
-
Set the specified value as current property value.
- setPropertyValueAt(PropertyValue, int) - Method in class org.springframework.beans.MutablePropertyValues
-
Modify a PropertyValue object held in this object.
- setPropertyValues(Map<?, ?>) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setPropertyValues(Map<?, ?>) - Method in interface org.springframework.beans.PropertyAccessor
-
Perform a batch update from a Map.
- setPropertyValues(MutablePropertyValues) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Specify property values for this bean, if any.
- setPropertyValues(PropertyValues) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setPropertyValues(PropertyValues) - Method in interface org.springframework.beans.PropertyAccessor
-
The preferred way to perform a batch update.
- setPropertyValues(PropertyValues, boolean) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setPropertyValues(PropertyValues, boolean) - Method in interface org.springframework.beans.PropertyAccessor
-
Perform a batch update with more control over behavior.
- setPropertyValues(PropertyValues, boolean, boolean) - Method in class org.springframework.beans.AbstractPropertyAccessor
- setPropertyValues(PropertyValues, boolean, boolean) - Method in interface org.springframework.beans.PropertyAccessor
-
Perform a batch update with full control over behavior.
- setQualifiedElement(AnnotatedElement) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Specify the
AnnotatedElement
defining qualifiers, to be used instead of the target class or factory method. - setRequiredParameterName(String) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Set the name of an attribute of the annotation that specifies whether it is required.
- setRequiredParameterValue(boolean) - Method in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
-
Set the boolean value that marks a dependency as required.
- setResolutionMethod(YamlProcessor.ResolutionMethod) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Method to use for resolving resources.
- setResolvedFactoryMethod(Method) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Set a resolved Java Method for the factory method on this bean definition.
- setResource(Resource) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the resource that this bean definition came from (for the purpose of showing context in case of errors).
- setResourceDescription(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).
- setResourceLoader(ResourceLoader) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
-
Set the ResourceLoader to use for resource locations.
- setResources(Resource...) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Set locations of YAML
resources
to be loaded. - setResultType(Class<?>) - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
-
Specify the type of the result from evaluating the property path.
- setRole(int) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Set the role hint for this
BeanDefinition
. - setRole(int) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the role hint for this
BeanDefinition
. - setRole(int) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the role of this definition.
- setScope(String) - Method in interface org.springframework.beans.factory.config.BeanDefinition
-
Override the target scope of this bean, specifying a new scope name.
- setScope(String) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set the name of the target scope for the bean.
- setScope(String) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set the scope of this definition.
- setScopes(Map<String, Object>) - Method in class org.springframework.beans.factory.config.CustomScopeConfigurer
-
Specify the custom scopes that are to be registered.
- setSearchSystemEnvironment(boolean) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Set whether to search for a matching system environment variable if no matching system property has been found.
- setSerializationId(String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Specify an id for serialization purposes, allowing this BeanFactory to be deserialized from this id back into the BeanFactory object, if needed.
- setServiceLocatorExceptionClass(Class<? extends Exception>) - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
-
Set the exception class that the service locator should throw if service lookup failed.
- setServiceLocatorInterface(Class<?>) - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
-
Set the service locator interface to use, which must have one or more methods with the signatures
MyType xxx()
orMyType xxx(MyIdType id)
(typically,MyService getService()
orMyService getService(String id)
). - setServiceMappings(Properties) - Method in class org.springframework.beans.factory.config.ServiceLocatorFactoryBean
-
Set mappings between service ids (passed into the service locator) and bean names (in the bean factory).
- setServiceType(Class<?>) - Method in class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean
-
Specify the desired service type (typically the service's public API).
- setSingleton(boolean) - Method in class org.springframework.beans.factory.config.AbstractFactoryBean
-
Set if a singleton should be created, or a new object on each request otherwise.
- setSingleton(boolean) - Method in class org.springframework.beans.factory.config.MethodInvokingFactoryBean
-
Set if a singleton should be created, or a new object on each
MethodInvokingFactoryBean.getObject()
request otherwise. - setSingleton(boolean) - Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
-
Set whether a shared 'singleton' Properties instance should be created, or rather a new Properties instance on each request.
- setSingleton(boolean) - Method in class org.springframework.beans.factory.config.YamlMapFactoryBean
-
Set if a singleton should be created, or a new object on each request otherwise.
- setSingleton(boolean) - Method in class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
-
Set if a singleton should be created, or a new object on each request otherwise.
- setSort(SortDefinition) - Method in class org.springframework.beans.support.PagedListHolder
-
Set the sort definition for this holder.
- setSource(Object) - Method in class org.springframework.beans.BeanMetadataAttribute
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.BeanMetadataAttributeAccessor
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.config.RuntimeBeanNameReference
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.support.ManagedList
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.support.ManagedMap
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.support.ManagedProperties
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.support.ManagedSet
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.support.MethodOverride
-
Set the configuration source
Object
for this metadata element. - setSource(Object) - Method in class org.springframework.beans.factory.xml.DocumentDefaultsDefinition
-
Set the configuration source
Object
for this metadata element. - setSource(List<E>) - Method in class org.springframework.beans.support.PagedListHolder
-
Set the source list for this holder.
- setSourceExtractor(SourceExtractor) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Specify the
SourceExtractor
to use. - setSourceList(List<?>) - Method in class org.springframework.beans.factory.config.ListFactoryBean
-
Set the source List, typically populated via XML "list" elements.
- setSourceMap(Map<?, ?>) - Method in class org.springframework.beans.factory.config.MapFactoryBean
-
Set the source Map, typically populated via XML "map" elements.
- setSourceSet(Set<?>) - Method in class org.springframework.beans.factory.config.SetFactoryBean
-
Set the source Set, typically populated via XML "set" elements.
- setSpecifiedTypeName(String) - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Set the type name as actually specified for this particular value, if any.
- setStaticField(String) - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Set a fully qualified static field name to retrieve, e.g.
- setSupportedTypes(Class<?>...) - Method in class org.springframework.beans.factory.config.YamlProcessor
-
Set the supported types that can be loaded from YAML documents.
- setSynthetic(boolean) - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Set whether this bean definition is 'synthetic', that is, not defined by the application itself (for example, an infrastructure bean such as a helper for auto-proxying, created through
<aop:config>
). - setSynthetic(boolean) - Method in class org.springframework.beans.factory.support.BeanDefinitionBuilder
-
Set whether this bean is 'synthetic', that is, not defined by the application itself.
- setSystemPropertiesMode(int) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Set how to check system properties: as fallback, as override, or never.
- setSystemPropertiesModeName(String) - Method in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Set the system property mode by the name of the corresponding constant, e.g.
- setSystemTreePath(String) - Method in class org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
-
Deprecated.Set the path in the system preferences tree to use for resolving placeholders.
- setTargetBeanName(String) - Method in class org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean
-
Set the name of the target bean.
- setTargetBeanName(String) - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
-
Specify the name of a target bean to apply the property path to.
- setTargetBeanName(String) - Method in class org.springframework.beans.factory.config.ProviderCreatingFactoryBean
-
Set the name of the target bean.
- setTargetClass(Class<?>) - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Set the target class on which the field is defined.
- setTargetField(String) - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Set the name of the field to be retrieved.
- setTargetListClass(Class<? extends List>) - Method in class org.springframework.beans.factory.config.ListFactoryBean
-
Set the class to use for the target List.
- setTargetMapClass(Class<? extends Map>) - Method in class org.springframework.beans.factory.config.MapFactoryBean
-
Set the class to use for the target Map.
- setTargetObject(Object) - Method in class org.springframework.beans.factory.config.FieldRetrievingFactoryBean
-
Set the target object on which the field is defined.
- setTargetObject(Object) - Method in class org.springframework.beans.factory.config.PropertyPathFactoryBean
-
Specify a target object to apply the property path to.
- setTargetSetClass(Class<? extends Set>) - Method in class org.springframework.beans.factory.config.SetFactoryBean
-
Set the class to use for the target Set.
- setTargetType(Class<?>) - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Set the type to convert to.
- setTargetType(Class<?>) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Specify the target type of this bean definition, if known in advance.
- setTargetType(ResolvableType) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Specify a generics-containing target type of this bean definition, if known in advance.
- setTargetTypeName(String) - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Specify the type to convert to.
- setTempClassLoader(ClassLoader) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Specify a temporary ClassLoader to use for type matching purposes.
- setTempClassLoader(ClassLoader) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setToggleAscendingOnProperty(boolean) - Method in class org.springframework.beans.support.MutableSortDefinition
-
Set whether to toggle the ascending flag if the same property gets set again (that is,
MutableSortDefinition.setProperty(java.lang.String)
gets called with already set property name again). - setTrimValues(boolean) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Specify whether to trim resolved values before applying them, removing superfluous whitespace from the beginning and end.
- setType(String) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Set the type of the constructor argument.
- setTypeConverter(TypeConverter) - Method in interface org.springframework.beans.factory.config.ConfigurableBeanFactory
-
Set a custom type converter that this BeanFactory should use for converting bean property values, constructor argument values, etc.
- setTypeConverter(TypeConverter) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
- setTypeConverter(TypeConverter) - Method in class org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
Set a TypeConverter to use for argument type conversion.
- setUniqueFactoryMethodName(String) - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Specify a factory method name that refers to a non-overloaded method.
- setUserTreePath(String) - Method in class org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
-
Deprecated.Set the path in the system preferences tree to use for resolving placeholders.
- setValidating(boolean) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Set whether to use XML validation.
- setValidationMode(int) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Set the validation mode to use.
- setValidationModeName(String) - Method in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Set the validation mode to use by name.
- setValue(Object) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- setValue(Object) - Method in class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Set the value for the constructor argument.
- setValue(Object) - Method in class org.springframework.beans.propertyeditors.CustomCollectionEditor
-
Convert the given value to a Collection of the target type.
- setValue(Object) - Method in class org.springframework.beans.propertyeditors.CustomMapEditor
-
Convert the given value to a Map of the target type.
- setValue(Object) - Method in class org.springframework.beans.propertyeditors.CustomNumberEditor
-
Coerce a Number value into the required target class, if necessary.
- setValue(Object) - Method in class org.springframework.beans.propertyeditors.PropertiesEditor
- setValue(String) - Method in class org.springframework.beans.factory.config.TypedStringValue
-
Set the String value.
- setValueAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
-
Set the 'value' annotation type, to be used on fields, method parameters and constructor parameters.
- setValueFallbackIfPossible(Object) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- setValueSeparator(String) - Method in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Specify the separating character between the placeholder variable and the associated default value, or
null
if no such special character should be processed as a value separator. - setValueTypeName(String) - Method in class org.springframework.beans.factory.support.ManagedMap
-
Set the default value type name (class name) to be used for this map.
- setWrappedInstance(Object) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.
- setWrappedInstance(Object, String, Object) - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
-
Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.
- setWrappedInstance(Object, String, Object) - Method in class org.springframework.beans.BeanWrapperImpl
- shouldFireEvents() - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Determine whether this parser is supposed to fire a
BeanComponentDefinition
event after parsing the bean definition. - shouldGenerateId() - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Should an ID be generated instead of read from the passed in
Element
? - shouldGenerateIdAsFallback() - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Should an ID be generated instead if the passed in
Element
does not specify an "id" attribute explicitly? - shouldInject(PropertyValues) - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
-
Whether the property values should be injected.
- shouldParseNameAsAliases() - Method in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
Determine whether the element's "name" attribute should get parsed as bean definition aliases, i.e.
- SimpleAutowireCandidateResolver - Class in org.springframework.beans.factory.support
-
AutowireCandidateResolver
implementation to use when no annotation support is available. - SimpleAutowireCandidateResolver() - Constructor for class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
- SimpleBeanDefinitionRegistry - Class in org.springframework.beans.factory.support
-
Simple implementation of the
BeanDefinitionRegistry
interface. - SimpleBeanDefinitionRegistry() - Constructor for class org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry
- SimpleConstructorNamespaceHandler - Class in org.springframework.beans.factory.xml
-
Simple
NamespaceHandler
implementation that maps custom attributes directly through to bean properties. - SimpleConstructorNamespaceHandler() - Constructor for class org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler
- SimpleInstantiationStrategy - Class in org.springframework.beans.factory.support
-
Simple object instantiation strategy for use in a BeanFactory.
- SimpleInstantiationStrategy() - Constructor for class org.springframework.beans.factory.support.SimpleInstantiationStrategy
- SimplePropertyNamespaceHandler - Class in org.springframework.beans.factory.xml
-
Simple
NamespaceHandler
implementation that maps custom attributes directly through to bean properties. - SimplePropertyNamespaceHandler() - Constructor for class org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler
- SimpleTypeConverter - Class in org.springframework.beans
-
Simple implementation of the
TypeConverter
interface that does not operate on a specific target object. - SimpleTypeConverter() - Constructor for class org.springframework.beans.SimpleTypeConverter
- SINGLETON_KEY - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Special key to distinguish
owner.(singleton)=false
. - SingletonBeanRegistry - Interface in org.springframework.beans.factory.config
-
Interface that defines a registry for shared bean instances.
- size() - Method in class org.springframework.beans.MutablePropertyValues
-
Return the number of PropertyValue entries in the list.
- skip - Variable in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- SmartFactoryBean<T> - Interface in org.springframework.beans.factory
-
Extension of the
FactoryBean
interface. - SmartInitializingSingleton - Interface in org.springframework.beans.factory
-
Callback interface triggered at the end of the singleton pre-instantiation phase during
BeanFactory
bootstrap. - SmartInstantiationAwareBeanPostProcessor - Interface in org.springframework.beans.factory.config
-
Extension of the
InstantiationAwareBeanPostProcessor
interface, adding a callback for predicting the eventual type of a processed bean. - snapshot() - Method in class org.springframework.beans.factory.parsing.ParseState
-
Create a new instance of
ParseState
which is an independent snapshot of this instance. - sort(Object[], SortDefinition) - Static method in class org.springframework.beans.support.PropertyComparator
-
Sort the given source according to the given sort definition.
- sort(List<?>, SortDefinition) - Static method in class org.springframework.beans.support.PropertyComparator
-
Sort the given List according to the given sort definition.
- SortDefinition - Interface in org.springframework.beans.support
-
Definition for sorting bean instances by a property.
- SourceExtractor - Interface in org.springframework.beans.factory.parsing
-
Simple strategy allowing tools to control how source metadata is attached to the bean definition metadata.
- spliterator() - Method in class org.springframework.beans.MutablePropertyValues
- spliterator() - Method in interface org.springframework.beans.PropertyValues
-
Return a
Spliterator
over the property values. - SPRING_FACTORIES_LOADER - Enum constant in enum class org.springframework.beans.factory.aot.AotServices.Source
-
An AOT service loaded from
SpringFactoriesLoader
. - StandardBeanInfoFactory - Class in org.springframework.beans
-
BeanInfoFactory
implementation that performs standardIntrospector
inspection. - StandardBeanInfoFactory() - Constructor for class org.springframework.beans.StandardBeanInfoFactory
- StaticListableBeanFactory - Class in org.springframework.beans.factory.support
-
Static
BeanFactory
implementation which allows one to register existing singleton instances programmatically. - StaticListableBeanFactory() - Constructor for class org.springframework.beans.factory.support.StaticListableBeanFactory
-
Create a regular
StaticListableBeanFactory
, to be populated with singleton bean instances throughStaticListableBeanFactory.addBean(java.lang.String, java.lang.Object)
calls. - StaticListableBeanFactory(Map<String, Object>) - Constructor for class org.springframework.beans.factory.support.StaticListableBeanFactory
-
Create a
StaticListableBeanFactory
wrapping the givenMap
. - stream() - Method in class org.springframework.beans.factory.aot.AotServices
-
Return a
Stream
of the AOT services. - stream() - Method in interface org.springframework.beans.factory.ObjectProvider
-
Return a sequential
Stream
over all matching object instances, without specific ordering guarantees (but typically in registration order). - stream() - Method in class org.springframework.beans.MutablePropertyValues
- stream() - Method in interface org.springframework.beans.PropertyValues
-
Return a sequential
Stream
containing the property values. - StringArrayPropertyEditor - Class in org.springframework.beans.propertyeditors
-
Custom
PropertyEditor
for String arrays. - StringArrayPropertyEditor() - Constructor for class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Create a new
StringArrayPropertyEditor
with the default separator (a comma). - StringArrayPropertyEditor(String) - Constructor for class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Create a new
StringArrayPropertyEditor
with the given separator. - StringArrayPropertyEditor(String, boolean) - Constructor for class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Create a new
StringArrayPropertyEditor
with the given separator. - StringArrayPropertyEditor(String, boolean, boolean) - Constructor for class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Create a new
StringArrayPropertyEditor
with the given separator. - StringArrayPropertyEditor(String, String, boolean) - Constructor for class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Create a new
StringArrayPropertyEditor
with the given separator. - StringArrayPropertyEditor(String, String, boolean, boolean) - Constructor for class org.springframework.beans.propertyeditors.StringArrayPropertyEditor
-
Create a new
StringArrayPropertyEditor
with the given separator. - StringTrimmerEditor - Class in org.springframework.beans.propertyeditors
-
Property editor that trims Strings.
- StringTrimmerEditor(boolean) - Constructor for class org.springframework.beans.propertyeditors.StringTrimmerEditor
-
Create a new StringTrimmerEditor.
- StringTrimmerEditor(String, boolean) - Constructor for class org.springframework.beans.propertyeditors.StringTrimmerEditor
-
Create a new StringTrimmerEditor.
- supportsLazyResolution() - Method in class org.springframework.beans.factory.config.DependencyDescriptor
-
Determine whether this dependency supports lazy resolution, e.g.
- SYSTEM_PROPERTIES_MODE_FALLBACK - Static variable in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Check system properties if not resolvable in the specified properties.
- SYSTEM_PROPERTIES_MODE_NEVER - Static variable in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Never check system properties.
- SYSTEM_PROPERTIES_MODE_OVERRIDE - Static variable in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
-
Deprecated.Check system properties first, before trying the specified properties.
T
- TimeZoneEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.util.TimeZone
, translating timezone IDs intoTimeZone
objects. - TimeZoneEditor() - Constructor for class org.springframework.beans.propertyeditors.TimeZoneEditor
- toArray() - Method in interface org.springframework.beans.factory.aot.AutowiredArguments
-
Return the arguments as an object array.
- toString() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor
- toString() - Method in class org.springframework.beans.BeanMetadataAttribute
- toString() - Method in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- toString() - Method in exception org.springframework.beans.factory.BeanCreationException
- toString() - Method in class org.springframework.beans.factory.config.AutowiredPropertyMarker
- toString() - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
This implementation returns the long description.
- toString() - Method in class org.springframework.beans.factory.config.RuntimeBeanNameReference
- toString() - Method in class org.springframework.beans.factory.config.RuntimeBeanReference
- toString() - Method in class org.springframework.beans.factory.config.TypedStringValue
- toString() - Method in class org.springframework.beans.factory.InjectionPoint
- toString() - Method in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
-
Delegates to
AbstractComponentDefinition.getDescription()
. - toString() - Method in class org.springframework.beans.factory.parsing.BeanComponentDefinition
-
This implementation returns this ComponentDefinition's description.
- toString() - Method in class org.springframework.beans.factory.parsing.BeanEntry
- toString() - Method in class org.springframework.beans.factory.parsing.ConstructorArgumentEntry
- toString() - Method in class org.springframework.beans.factory.parsing.ParseState
-
Returns a tree-style representation of the current
ParseState
. - toString() - Method in class org.springframework.beans.factory.parsing.Problem
- toString() - Method in class org.springframework.beans.factory.parsing.PropertyEntry
- toString() - Method in class org.springframework.beans.factory.parsing.QualifierEntry
- toString() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
- toString() - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- toString() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- toString() - Method in class org.springframework.beans.factory.support.GenericBeanDefinition
- toString() - Method in class org.springframework.beans.factory.support.LookupOverride
- toString() - Method in class org.springframework.beans.factory.support.RegisteredBean
- toString() - Method in class org.springframework.beans.factory.support.ReplaceOverride
- toString() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
- toString() - Method in class org.springframework.beans.factory.xml.BeansDtdResolver
- toString() - Method in class org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
- toString() - Method in class org.springframework.beans.factory.xml.DelegatingEntityResolver
- toString() - Method in class org.springframework.beans.factory.xml.PluggableSchemaResolver
- toString() - Method in class org.springframework.beans.MutablePropertyValues
- toString() - Method in exception org.springframework.beans.PropertyBatchUpdateException
- toString() - Method in class org.springframework.beans.PropertyValue
- toTypeDescriptor() - Method in class org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
- transformedBeanName(String) - Static method in class org.springframework.beans.factory.BeanFactoryUtils
-
Return the actual bean name, stripping out the factory dereference prefix (if any, also stripping repeated factory prefixes if found).
- transformedBeanName(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Return the bean name, stripping out the factory dereference prefix if necessary, and resolving aliases to canonical names.
- trimValues - Variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
- TRUE_VALUE - Static variable in class org.springframework.beans.factory.support.PropertiesBeanDefinitionReader
-
Deprecated.Value of a T/F attribute that represents true.
- TRUE_VALUE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
-
Value of a T/F attribute that represents true.
- TYPE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- TypeConverter - Interface in org.springframework.beans
-
Interface that defines type conversion methods.
- TypeConverterSupport - Class in org.springframework.beans
-
Base implementation of the
TypeConverter
interface, using a package-private delegate. - TypeConverterSupport() - Constructor for class org.springframework.beans.TypeConverterSupport
- TypedStringValue - Class in org.springframework.beans.factory.config
-
Holder for a typed String value.
- TypedStringValue(String) - Constructor for class org.springframework.beans.factory.config.TypedStringValue
-
Create a new
TypedStringValue
for the given String value. - TypedStringValue(String, Class<?>) - Constructor for class org.springframework.beans.factory.config.TypedStringValue
-
Create a new
TypedStringValue
for the given String value and target type. - TypedStringValue(String, String) - Constructor for class org.springframework.beans.factory.config.TypedStringValue
-
Create a new
TypedStringValue
for the given String value and target type. - TypeMismatchException - Exception in org.springframework.beans
-
Exception thrown on a type mismatch when trying to set a bean property.
- TypeMismatchException(PropertyChangeEvent, Class<?>) - Constructor for exception org.springframework.beans.TypeMismatchException
-
Create a new
TypeMismatchException
. - TypeMismatchException(PropertyChangeEvent, Class<?>, Throwable) - Constructor for exception org.springframework.beans.TypeMismatchException
-
Create a new
TypeMismatchException
. - TypeMismatchException(Object, Class<?>) - Constructor for exception org.springframework.beans.TypeMismatchException
-
Create a new
TypeMismatchException
without aPropertyChangeEvent
. - TypeMismatchException(Object, Class<?>, Throwable) - Constructor for exception org.springframework.beans.TypeMismatchException
-
Create a new
TypeMismatchException
without aPropertyChangeEvent
.
U
- uniqueBeanName(String, BeanDefinitionRegistry) - Static method in class org.springframework.beans.factory.support.BeanDefinitionReaderUtils
-
Turn the given bean name into a unique bean name for the given bean factory, appending a unique counter as suffix if necessary.
- UnsatisfiedDependencyException - Exception in org.springframework.beans.factory
-
Exception thrown when a bean depends on other beans or simple properties that were not specified in the bean factory definition, although dependency checking was enabled.
- UnsatisfiedDependencyException(String, String, String, String) - Constructor for exception org.springframework.beans.factory.UnsatisfiedDependencyException
-
Create a new UnsatisfiedDependencyException.
- UnsatisfiedDependencyException(String, String, String, BeansException) - Constructor for exception org.springframework.beans.factory.UnsatisfiedDependencyException
-
Create a new UnsatisfiedDependencyException.
- UnsatisfiedDependencyException(String, String, InjectionPoint, String) - Constructor for exception org.springframework.beans.factory.UnsatisfiedDependencyException
-
Create a new UnsatisfiedDependencyException.
- UnsatisfiedDependencyException(String, String, InjectionPoint, BeansException) - Constructor for exception org.springframework.beans.factory.UnsatisfiedDependencyException
-
Create a new UnsatisfiedDependencyException.
- unsatisfiedNonSimpleProperties(AbstractBeanDefinition, BeanWrapper) - Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
Return an array of non-simple bean properties that are unsatisfied.
- URIEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.net.URI
, to directly populate a URI property instead of using a String property as bridge. - URIEditor() - Constructor for class org.springframework.beans.propertyeditors.URIEditor
-
Create a new, encoding URIEditor, converting "classpath:" locations into standard URIs (not trying to resolve them into physical resources).
- URIEditor(boolean) - Constructor for class org.springframework.beans.propertyeditors.URIEditor
-
Create a new URIEditor, converting "classpath:" locations into standard URIs (not trying to resolve them into physical resources).
- URIEditor(ClassLoader) - Constructor for class org.springframework.beans.propertyeditors.URIEditor
-
Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs.
- URIEditor(ClassLoader, boolean) - Constructor for class org.springframework.beans.propertyeditors.URIEditor
-
Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs.
- URLEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.net.URL
, to directly populate a URL property instead of using a String property as bridge. - URLEditor() - Constructor for class org.springframework.beans.propertyeditors.URLEditor
-
Create a new URLEditor, using a default ResourceEditor underneath.
- URLEditor(ResourceEditor) - Constructor for class org.springframework.beans.propertyeditors.URLEditor
-
Create a new URLEditor, using the given ResourceEditor underneath.
- useConfigValueEditors() - Method in class org.springframework.beans.PropertyEditorRegistrySupport
-
Activate config value editors which are only intended for configuration purposes, such as
StringArrayPropertyEditor
. - using(Method, ThrowingSupplier<T>) - Static method in interface org.springframework.beans.factory.support.InstanceSupplier
-
Factory method to create an
InstanceSupplier
from aThrowingSupplier
. - using(ThrowingSupplier<T>) - Static method in interface org.springframework.beans.factory.support.InstanceSupplier
-
Factory method to create an
InstanceSupplier
from aThrowingSupplier
. - UtilNamespaceHandler - Class in org.springframework.beans.factory.xml
-
NamespaceHandler
for theutil
namespace. - UtilNamespaceHandler() - Constructor for class org.springframework.beans.factory.xml.UtilNamespaceHandler
- UUIDEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.util.UUID
, translating UUID String representations into UUID objects and back. - UUIDEditor() - Constructor for class org.springframework.beans.propertyeditors.UUIDEditor
V
- validate() - Method in class org.springframework.beans.factory.support.AbstractBeanDefinition
-
Validate this bean definition.
- validate() - Method in class org.springframework.beans.factory.support.ChildBeanDefinition
- VALIDATION_AUTO - Static variable in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Indicates that the validation mode should be detected automatically.
- VALIDATION_DTD - Static variable in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Indicates that DTD validation should be used.
- VALIDATION_NONE - Static variable in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Indicates that the validation should be disabled.
- VALIDATION_XSD - Static variable in class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Indicates that XSD validation should be used.
- value() - Method in enum class org.springframework.beans.factory.annotation.Autowire
- value() - Element in annotation interface org.springframework.beans.factory.annotation.Configurable
-
The name of the bean definition that serves as the configuration template.
- value() - Element in annotation interface org.springframework.beans.factory.annotation.Lookup
-
This annotation attribute may suggest a target bean name to look up.
- value() - Element in annotation interface org.springframework.beans.factory.annotation.Qualifier
- value() - Element in annotation interface org.springframework.beans.factory.annotation.Value
-
The actual value expression such as
#{systemProperties.myProp}
or property placeholder such as${my.app.myProp}
. - Value - Annotation Interface in org.springframework.beans.factory.annotation
-
Annotation used at the field or method/constructor parameter level that indicates a default value expression for the annotated element.
- VALUE_0 - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"0"
. - VALUE_1 - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"1"
. - VALUE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- VALUE_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- VALUE_FALSE - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"false"
. - VALUE_KEY - Static variable in class org.springframework.beans.factory.support.AutowireCandidateQualifier
-
The name of the key used to store the value.
- VALUE_NO - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"no"
. - VALUE_OFF - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"off"
. - VALUE_ON - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"on"
. - VALUE_REF_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- VALUE_TRUE - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"true"
. - VALUE_TYPE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- VALUE_YES - Static variable in class org.springframework.beans.propertyeditors.CustomBooleanEditor
-
Value of
"yes"
. - ValueHolder(Object) - Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Create a new ValueHolder for the given value.
- ValueHolder(Object, String) - Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Create a new ValueHolder for the given value and type.
- ValueHolder(Object, String, String) - Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
-
Create a new ValueHolder for the given value, type and name.
- valueOf(String) - Static method in enum class org.springframework.beans.factory.annotation.Autowire
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.beans.factory.aot.AotServices.Source
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.beans.factory.config.YamlProcessor.MatchStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.beans.factory.config.YamlProcessor.ResolutionMethod
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.beans.factory.annotation.Autowire
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.beans.factory.aot.AotServices.Source
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.beans.factory.config.YamlProcessor.MatchStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.beans.factory.config.YamlProcessor.ResolutionMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueSeparator - Variable in class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
Defaults to ":".
- visitArray(Object[]) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitBeanClassName(BeanDefinition) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitBeanDefinition(BeanDefinition) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
-
Traverse the given BeanDefinition object and the MutablePropertyValues and ConstructorArgumentValues contained in them.
- visitFactoryBeanName(BeanDefinition) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitFactoryMethodName(BeanDefinition) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitGenericArgumentValues(List<ConstructorArgumentValues.ValueHolder>) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitIndexedArgumentValues(Map<Integer, ConstructorArgumentValues.ValueHolder>) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitList(List) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitMap(Map<?, ?>) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitParentName(BeanDefinition) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitPropertyValues(MutablePropertyValues) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitScope(BeanDefinition) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
- visitSet(Set) - Method in class org.springframework.beans.factory.config.BeanDefinitionVisitor
W
- warning(String, Object) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a non-critical warning.
- warning(String, Object, Throwable) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a non-critical warning.
- warning(String, Object, ParseState) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a non-critical warning.
- warning(String, Object, ParseState, Throwable) - Method in class org.springframework.beans.factory.parsing.ReaderContext
-
Raise a non-critical warning.
- warning(Problem) - Method in class org.springframework.beans.factory.parsing.FailFastProblemReporter
- warning(Problem) - Method in interface org.springframework.beans.factory.parsing.ProblemReporter
-
Called when a warning is raised during the parsing process.
- withCustomCodeFragments(UnaryOperator<BeanRegistrationCodeFragments>) - Static method in interface org.springframework.beans.factory.aot.BeanRegistrationAotContribution
-
Create a
BeanRegistrationAotContribution
that customizes theBeanRegistrationCodeFragments
. - withGenerator(ThrowingBiFunction<RegisteredBean, AutowiredArguments, T>) - Method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
-
Return a new
BeanInstanceSupplier
instance that uses the specifiedgenerator
bi-function to instantiate the underlying bean. - withGenerator(ThrowingFunction<RegisteredBean, T>) - Method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
-
Return a new
BeanInstanceSupplier
instance that uses the specifiedgenerator
function to instantiate the underlying bean. - withGenerator(ThrowingSupplier<T>) - Method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
-
Deprecated, for removal: This API element is subject to removal in a future version.
- withShortcut(String) - Method in class org.springframework.beans.factory.aot.AutowiredFieldValueResolver
-
Return a new
AutowiredFieldValueResolver
instance that uses a direct bean name injection shortcut. - withShortcut(String...) - Method in class org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver
-
Return a new
AutowiredMethodArgumentsResolver
instance that uses direct bean name injection shortcuts for specific parameters. - withShortcuts(String...) - Method in class org.springframework.beans.factory.aot.BeanInstanceSupplier
-
Return a new
BeanInstanceSupplier
instance that uses direct bean name injection shortcuts for specific parameters. - writeReplace() - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
- writeToLog(String) - Method in class org.springframework.beans.factory.config.DeprecatedBeanWarner
-
Actually write to the underlying log.
X
- XmlBeanDefinitionReader - Class in org.springframework.beans.factory.xml
-
Bean definition reader for XML bean definitions.
- XmlBeanDefinitionReader(BeanDefinitionRegistry) - Constructor for class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
-
Create new XmlBeanDefinitionReader for the given bean factory.
- XmlBeanDefinitionStoreException - Exception in org.springframework.beans.factory.xml
-
XML-specific BeanDefinitionStoreException subclass that wraps a
SAXException
, typically aSAXParseException
which contains information about the error location. - XmlBeanDefinitionStoreException(String, String, SAXException) - Constructor for exception org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
-
Create a new XmlBeanDefinitionStoreException.
- xmlns(Map<String, String>) - Method in class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
-
Define a Spring XML namespace definition to use.
- XmlReaderContext - Class in org.springframework.beans.factory.xml
-
Extension of
ReaderContext
, specific to use with anXmlBeanDefinitionReader
. - XmlReaderContext(Resource, ProblemReporter, ReaderEventListener, SourceExtractor, XmlBeanDefinitionReader, NamespaceHandlerResolver) - Constructor for class org.springframework.beans.factory.xml.XmlReaderContext
-
Construct a new
XmlReaderContext
. - XSD_SUFFIX - Static variable in class org.springframework.beans.factory.xml.DelegatingEntityResolver
-
Suffix for schema definition files.
Y
- YamlMapFactoryBean - Class in org.springframework.beans.factory.config
-
Factory for a
Map
that reads from a YAML source, preserving the YAML-declared value types and their structure. - YamlMapFactoryBean() - Constructor for class org.springframework.beans.factory.config.YamlMapFactoryBean
- YamlProcessor - Class in org.springframework.beans.factory.config
-
Base class for YAML factories.
- YamlProcessor() - Constructor for class org.springframework.beans.factory.config.YamlProcessor
- YamlProcessor.DocumentMatcher - Interface in org.springframework.beans.factory.config
-
Strategy interface used to test if properties match.
- YamlProcessor.MatchCallback - Interface in org.springframework.beans.factory.config
-
Callback interface used to process the YAML parsing results.
- YamlProcessor.MatchStatus - Enum Class in org.springframework.beans.factory.config
-
Status returned from
YamlProcessor.DocumentMatcher.matches(java.util.Properties)
. - YamlProcessor.ResolutionMethod - Enum Class in org.springframework.beans.factory.config
-
Method to use for resolving resources.
- YamlPropertiesFactoryBean - Class in org.springframework.beans.factory.config
-
Factory for
Properties
that reads from a YAML source, exposing a flat structure of String property values. - YamlPropertiesFactoryBean() - Constructor for class org.springframework.beans.factory.config.YamlPropertiesFactoryBean
Z
- ZoneIdEditor - Class in org.springframework.beans.propertyeditors
-
Editor for
java.time.ZoneId
, translating zone ID Strings intoZoneId
objects. - ZoneIdEditor() - Constructor for class org.springframework.beans.propertyeditors.ZoneIdEditor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AutowireCapableBeanFactory.initializeBean(Object, String)