|
spring-beans | ||||||||
PREV NEXT | FRAMES NO FRAMES |
owner.(abstract)=true
Default is "false".
RootBeanDefinition
class.BeanDefinition
classes,
factoring out common properties of RootBeanDefinition
and
ChildBeanDefinition
.AbstractBeanDefinition.AbstractBeanDefinition(BeanDefinition)
BeanDefinitionParser
implementation providing
a number of convenience methods and a
template method
that subclasses must override to provide the actual parsing logic.BeanDefinitionReader
interface.BeanFactory
implementations, providing the full capabilities of the
ConfigurableBeanFactory
SPI.ComponentDefinition
that provides a basic implementation of
AbstractComponentDefinition.getDescription()
which delegates to ComponentDefinition.getName()
.FactoryBean
implementations that
creates a singleton or a prototype object, depending on a flag.PropertyAccessor
interface.ServiceLoader
facility.Class
being configured.BeanDefinitionParser
implementations that
need to parse and define just a single BeanDefinition
.BeanDefinitionBuilder.addConstructorArgValue(java.lang.Object)
addPropertyValue
that takes
a property name and a property value.
BeanFactory
has been set.
BeanDefinition
interface that exposes AnnotationMetadata
about its bean class - without requiring the class to be loaded yet.GenericBeanDefinition
class, adding support for annotation metadata exposed through the
AnnotatedBeanDefinition
interface.BeanWiringInfoResolver
that
uses the Configurable annotation to identify which classes need autowiring.BeanPostProcessors
to the given existing bean
instance, invoking their postProcessAfterInitialization
methods.
BeanPostProcessors
to the given existing bean
instance, invoking their postProcessBeforeInitialization
methods.
postProcessBeforeInstantiation
methods.
postProcessMergedBeanDefinition
methods.
MethodInvoker
that tries to convert the given
arguments for the actual target method via a TypeConverter
.value
attribute also matches
the specified value.
value
attribute also matches
the specified value.
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.BeanPostProcessor
implementation
that autowires annotated fields, setter methods and arbitrary config methods.Autowired
annotation.
converting from a String
.
BeanDefinitionParserDelegate.MULTI_VALUE_ATTRIBUTE_DELIMITERS
class loader
; that is, the class loader used by the
present bean factory to load bean classes.BeanDefinitions
using the builder pattern.DefaultBeanDefinitionDocumentReader
to handle custom, nested (directly under a <bean>
) tags.BeanDefinition
property defaults.DefaultBeanDefinitionDocumentReader
to handle custom,
top-level (directly under <beans/>
) tags.XmlReaderContext
and Environment
.
BeanDefinitionParserDelegate.BeanDefinitionParserDelegate(XmlReaderContext, Environment)
BeanFactoryPostProcessor
SPI, allowing for
the registration of further bean definitions before regular
BeanFactoryPostProcessor detection kicks in.BeanDefinition
objects, in particular
the property values and constructor argument values contained in them,
resolving bean metadata values.ParseState
entry representing a bean definition.BeanEntry
class.
@Qualifier
annotation.BeanFactory
.BeanFactory
,
or a BeanFactory
subclass such as an
org.springframework.context.ApplicationContext
.BeanFactory
obtained through
a BeanFactoryLocator
.ListableBeanFactory
interface.AttributeAccessorSupport
,
holding attributes as BeanMetadataAttribute
objects in order
to keep track of the definition source.BeanWrapper
implementation that should be sufficient
for all typical use cases.PropertyDescriptor
information for a Java class.Character
, to populate a property
of type Character
or char
from a String value.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.
- 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
- Checks 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 a ChildBeanDefinition
.
- 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, MutablePropertyValues) -
Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
- Create a new ChildBeanDefinition for the given parent.
- ChildBeanDefinition(String, ConstructorArgumentValues, MutablePropertyValues) -
Constructor for class org.springframework.beans.factory.support.ChildBeanDefinition
- Create a new ChildBeanDefinition for the given parent.
- 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(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
- 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 a Class[]
property without having to
use a String
class name property as bridge. - ClassArrayEditor() -
Constructor for class org.springframework.beans.propertyeditors.ClassArrayEditor
- Create a default
ClassEditor
, using the thread
context ClassLoader
.
- ClassArrayEditor(ClassLoader) -
Constructor for class org.springframework.beans.propertyeditors.ClassArrayEditor
- Create a default
ClassArrayEditor
, using the given
ClassLoader
.
- ClassEditor - Class in org.springframework.beans.propertyeditors
- Property editor for
java.lang.Class
, to enable the direct
population of a Class
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
-
- clear() -
Method in class org.springframework.beans.factory.config.ConstructorArgumentValues
- Clear this holder, removing all argument values.
- clear() -
Method in class org.springframework.beans.factory.config.DestructionAwareAttributeHolder
- Clears the map by removing all registered attribute values and invokes
every destruction callback registered.
- 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 deregistering the ClassLoader (and any of 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.
- 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
-
- CommonsLogFactoryBean - Class in org.springframework.beans.factory.config
- Factory bean for
commons-logging
Log
instances. - CommonsLogFactoryBean() -
Constructor for class org.springframework.beans.factory.config.CommonsLogFactoryBean
-
- compare(Object, Object) -
Method in class org.springframework.beans.support.PropertyComparator
-
- ComponentDefinition - Interface in org.springframework.beans.factory.parsing
- Interface that describes the logical view of a set of
BeanDefinitions
and BeanReferences
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 nested
ComponentDefinition
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.
- Configurable - Annotation Type 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, 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
and setBeanFactory
, 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
-
- configureBean(Object) -
Method in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
- Configure the bean instance.
- 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
- 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 supplied index
.
- 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.
- ConstructorArgumentValues.ValueHolder(Object) -
Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
- Create a new ValueHolder for the given value.
- ConstructorArgumentValues.ValueHolder(Object, String) -
Constructor for class org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
- Create a new ValueHolder for the given value and type.
- ConstructorArgumentValues.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.
- contains(Class) -
Method in exception org.springframework.beans.factory.BeanCreationException
-
- contains(String) -
Method in class org.springframework.beans.MutablePropertyValues
-
- contains(Class) -
Method in exception org.springframework.beans.PropertyBatchUpdateException
-
- 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
-
- 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.
- convertIfNecessary(Object, Class<T>) -
Method in class org.springframework.beans.AbstractPropertyAccessor
-
- convertIfNecessary(Object, Class<T>, MethodParameter) -
Method in class org.springframework.beans.BeanWrapperImpl
-
- convertIfNecessary(Object, Class<T>, MethodParameter) -
Method in class org.springframework.beans.DirectFieldAccessor
-
- convertIfNecessary(Object, Class<T>) -
Method in class org.springframework.beans.SimpleTypeConverter
-
- convertIfNecessary(Object, Class<T>, MethodParameter) -
Method in class org.springframework.beans.SimpleTypeConverter
-
- 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>, MethodParameter) -
Method in interface org.springframework.beans.TypeConverter
- Convert the value to the required type (if necessary from a String).
- 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".
- copyPropertiesToBean(Annotation, Object, String...) -
Static method in class org.springframework.beans.annotation.AnnotationBeanUtils
- Copy the properties of the supplied
Annotation
to the supplied target bean.
- 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<T>) -
Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
- Fully create a new bean instance of the given class.
- createBean(Class, int, boolean) -
Method in interface org.springframework.beans.factory.config.AutowireCapableBeanFactory
- Fully create a new bean instance of the given class with the specified
autowire strategy.
- createBean(Class<T>) -
Method in class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
-
- createBean(Class, int, boolean) -
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 bean definition.
- 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.
- createBeanDefinition(String, String) -
Method in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- Create a bean definition for the given class name and parent name.
- 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, 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.
- createDefinition(String, String) -
Method in class org.springframework.beans.factory.access.SingletonBeanFactoryLocator
- Actually creates definition in the form of a BeanFactory, given a resource name
which supports standard Spring resource prefixes ('classpath:', 'classpath*:', etc.)
This is split out as a separate method so that subclasses can override the actual
type used (to be an ApplicationContext, for example).
- 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.
- createHelper(XmlReaderContext, Element, BeanDefinitionParserDelegate) -
Method in class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
-
- 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.PropertiesFactoryBean
- Deprecated. as of Spring 3.0, in favor of
PropertiesFactoryBean.createProperties()
- 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
- Delegates to
AbstractServiceLoaderBasedFactoryBean.getObjectToExpose(java.util.ServiceLoader)
.
- createMap(Class, 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).
- createProperties() -
Method in class org.springframework.beans.factory.config.PropertiesFactoryBean
- 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, 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 (resolved) String value.
- 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) -
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, 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 custom java.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 custom property editors
.- CustomEditorConfigurer() -
Constructor for class org.springframework.beans.factory.config.CustomEditorConfigurer
-
- CustomMapEditor - Class in org.springframework.beans.propertyeditors
- Property editor for Maps, converting any source Map
to a given target Map type.
- CustomMapEditor(Class) -
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, 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 and toString
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
custom Scope(s)
with the containing ConfigurableBeanFactory
. - CustomScopeConfigurer() -
Constructor for class org.springframework.beans.factory.config.CustomScopeConfigurer
-
Node
(either an element or an attribute) and decorate
the supplied BeanDefinition
,
returning the decorated definition.
Node
and decorate the supplied
BeanDefinitionHolder
, returning the decorated definition.
Node
by delegating to the BeanDefinitionDecorator
that
is registered to handle that Node
.
BeanDefinitionDocumentReader
interface.BeanNameGenerator
interface, delegating to
BeanDefinitionReaderUtils.generateBeanName(BeanDefinition, BeanDefinitionRegistry)
.DocumentLoader
implementation.ListableBeanFactory
and
BeanDefinitionRegistry
interfaces: a full-fledged bean factory
based on bean definition objects.NamespaceHandlerResolver
interface.DefaultNamespaceHandlerResolver
using the
default mapping file location.
DefaultNamespaceHandlerResolver
using the
default mapping file location.
DefaultNamespaceHandlerResolver
using the
supplied mapping file location.
SingletonBeanRegistry
.EntityResolver
implementation that delegates to a BeansDtdResolver
and a PluggableSchemaResolver
for DTDs and XML schemas, respectively.BeansDtdResolver
and a default PluggableSchemaResolver
.
EntityResolvers
.
@Deprecated
beans.BeanFactory
and
BeanWiringInfoResolver
when the container is destroyed.
BeanPostProcessor
that adds a before-destruction callback.Resource
.
SmartInstantiationAwareBeanPostProcessors
.
PropertyAccessor
implementation that directly accesses instance fields.<beans>
level in a standard Spring XML bean definition document:
default-lazy-init
, default-autowire
, etc.Document
.Element
and populate the supplied
BeanDefinitionBuilder
as required.
Element
and populate the supplied
BeanDefinitionBuilder
as required.
Element
and populate the supplied
BeanDefinitionBuilder
as required.
<beans/>
element.
ReaderEventListener
interface,
providing no-op implementations of all callback methods.BeanDefinitionParsingException
detailing the error
that has occurred.
null
for any input.
sourceCandidate
as-is.
SourceExtractor
to pull the
source metadata from the supplied Element
.
SourceExtractor
to pull the
source metadata from the supplied Element
.
FactoryBean
instance and distinguish it from
beans created by the FactoryBean.
BeanFactory
which are themselves factories.getObject()
method
if the bean is not fully initialized yet, for example because it is involved
in a circular reference.FactoryBean
instances,
integrated with DefaultSingletonBeanRegistry
's singleton management.ProblemReporter
implementation that exhibits fail-fast
behavior when errors are encountered.BeanDefinitionParsingException
detailing the error
that has occurred.
FactoryBean
which retrieves a static or non-static field value.java.io.File
, to directly populate a File property
from a Spring resource location.Annotation
of annotationType
on the specified
bean, traversing its interfaces and super classes if no annotation can be
found on the given class itself.
Annotation
of annotationType
on the specified
bean, traversing its interfaces and super classes if no annotation can be
found on the given class itself, as well as checking its raw bean class
if not found on the exposed bean reference (e.g.
PropertyDescriptor
for the given method,
with the method either being the read method or the write method for
that bean property.
BeanDefinitionBuilder
used to construct a GenericBeanDefinition
.
BeanDefinitionBuilder
used to construct a GenericBeanDefinition
.
BeanDefinitionBuilder
used to construct a GenericBeanDefinition
.
creating it
if not found in the underlying storage mechanism.
SecurityContextProvider
.
null
to indicate that
there is no appropriate text representation.
null
to indicate that
there is no appropriate text representation.
null
to indicate that
there is no appropriate text representation.
null
to indicate that
there is no appropriate text representation.
null
otherwise.
<beans/>
element.
null
).
BeanWiringInfo.AUTOWIRE_BY_NAME
/
BeanWiringInfo.AUTOWIRE_BY_TYPE
, if autowiring is indicated.
Element
.
Element
.
<beans/>
element.
BeanDefinitions
that were registered
to form this ComponentDefinition
.
null
).
getObjectType
in the case of FactoryBeans.
getObjectType
in the case of FactoryBeans.
BeanReferences
that are considered
to be important to this ComponentDefinition
.
getObjectType
in the case of FactoryBeans.
getObjectType
in the case of FactoryBeans.
Class
has the supplied Annotation
type.
null
).
null
if none.
null
if the
defaults have been initialized yet.
ComponentDefinition.getName()
.
null
if no such callback was
registered.
Environment
associated with this helper instance.
BeanFactory
instance held by this reference.
BeanDefinitions
that represent all relevant
inner beans within this component.
Node
.
BeanDefinition
.
ComponentDefinition
.
null
if not known in advance.
null
if not known in advance.
null
if none.
null
if there is none.
ParseState
at the time of the error (may be null
).
null
if there isn't any.
PropertyDescriptors
for the given property.
BeanWrapperImpl.getPropertyDescriptor(java.lang.String)
:
Returns null
if not found rather than throwing an exception.
PropertyDescriptor
s of a given class.
null
).
XmlReaderContext
associated with this helper instance.
InjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.
BeanDefinition
.
BeanDefinition
.
null
).
null
if not known yet.
Object
for this metadata element
(may be null
).
resource
(may be null
).
Resource
.
null
)
destroy method name
for a bean as opposed to explicit
specification of a method name.
DefaultBeanDefinitionDocumentReader
after
construction but before any custom elements are parsed.
BeanDefinitionParserDelegate.initDefaults(Element, BeanDefinitionParserDelegate)
BeanPostProcessor
implementation
that invokes annotated init and destroy methods.setBeanName
and setBeanFactory
,
also applying all bean post processors (including ones which
might wrap the given raw bean).
InjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.
org.xml.sax.InputSource
, converting from a
Spring resource location String to a SAX InputSource object.java.io.InputStream
, interpreting the given String
as Spring resource location (e.g.BeanPostProcessor
that adds a before-instantiation callback,
and a callback after instantiation but before explicit properties are set or
autowiring occurs.SmartInstantiationAwareBeanPostProcessor
as no-ops, which will not change normal processing of each bean instantiated
by the container.true
),
or whether the value still needs to be converted (false
).
true
),
or whether the values still need to be converted (false
).
true
),
or whether the value still needs to be converted (false
).
AbstractSimpleBeanDefinitionParser.isEligibleAttribute(org.w3c.dom.Attr, ParserContext)
FactoryBean
.
DeprecatedBeanWarner.logger
field is enabled.
BeanFactory.getBean(java.lang.String)
always return
independent instances?
FactoryBean.getObject()
always return an independent instance?
BeanFactory.getBean(java.lang.String)
always
return the same instance?
PropertyPathFactoryBean.getObject()
call.
FactoryBean.getObject()
always return the same object
(a reference that can be cached)?
MutableSortDefinition.setProperty(java.lang.String)
gets called with already set property name again).
owner.(lazy-init)=true
Default is "false".
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.Document
at the supplied InputSource
using the standard JAXP-configured
XML parser.
document
from the supplied source
.
java.util.Locale
, to directly populate a Locale property.resource
.Location
class.
Location
class.
@Deprecated
.
Properties
instance
that supports merging of parent/child definitions.FactoryBean
which returns a value which is the result of a static or instance
method invocation.PropertyValues
interface.SortDefinition
interface.DefaultBeanDefinitionDocumentReader
for handling custom namespaces in a Spring XML configuration file.DefaultBeanDefinitionDocumentReader
to
locate a NamespaceHandler
implementation for a particular namespace URI.NamespaceHandlers
.SourceExtractor
that returns null
as the source metadata.FactoryBean
implementation that
returns a value which is an ObjectFactory
that in turn returns a bean sourced from a BeanFactory
.org.springframework.beans.factory
package.BeanFactory
implementation,
including a standard "spring-beans" DTD.AbstractBeanDefinition.overrideFrom(BeanDefinition)
owner.(parent)=parentBeanName
.
Element
and register the resulting
BeanDefinition(s)
with the
BeanDefinitionRegistry
embedded in the supplied ParserContext
.
Element
and register any resulting
BeanDefinitions
with the
BeanDefinitionRegistry
that is embedded in the supplied ParserContext
.
Element
by delegating to the BeanDefinitionParser
that is
registered for that Element
.
<bean>
element.
<bean>
element.
Element
into one or more BeanDefinitions
.
BeanDefinitionBuilder
instance for the
bean Class
and passes it to the
AbstractSingleBeanDefinitionParser.doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder)
strategy method.
Stack
-based structure for tracking the logical position during
a parsing process.ParseState
with an empty Stack
.
ParseState
.PropertyPlaceholderConfigurer.resolvePlaceholder(java.lang.String, java.util.Properties, int)
with PropertyPlaceholderHelper
.
Only retained for compatibility with Spring 2.5 extensions.
SourceExtractor
implementation that just passes
the candidate source metadata object through for attachment.java.util.regex.Pattern
, to directly populate a Pattern property.ParseState.Entry
currently at the top of the Stack
or
null
if the Stack
is empty.
EntityResolver
implementation that attempts to resolve schema URLs into
local classpath resources
using a set of mappings files.ParseState.Entry
from the Stack
.
afterPropertiesSet
or a custom init-method).
afterPropertiesSet
or a custom init-method).
BeanComponentDefinition
but before the
BeanComponentDefinition
has been registered with a
BeanDefinitionRegistry
.
postProcessAfterInitialization
callback of all
registered BeanPostProcessors, giving them a chance to post-process the
object obtained from FactoryBeans (for example, to auto-proxy them).
InstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class>, java.lang.String)
callback.
java.util.prefs
).FactoryBeans
.
Problem
class.
Problem
class.
Problem
class.
@Autowired
.
PropertyEditor
for Properties
objects.BeanWrapper
.PropertyAccessor
instances,
in particular for BeanWrapper
instances.PropertyAccessor
interface.property editors
with a
property editor registry
.PropertyEditors
.PropertyEditorRegistry
interface.ParseState
entry representing a JavaBean property.PropertyEntry
class.
FactoryBean
that evaluates a property path on a given target object.PlaceholderConfigurerSupport
subclass that resolves ${...} placeholders
against local
properties
and/or system properties
and environment variables.PropertyValue
objects,
typically comprising one update for a specific target bean.Editor
for a PropertyValues
object.FactoryBean
implementation that
returns a value which is a JSR-330 Provider
that in turn
returns a bean sourced from a BeanFactory
.ParseState.Entry
to the Stack
.
T
from the given BeanFactory
declaring a
qualifier (e.g.
AutowireCandidateResolver
implementation that matches bean definition qualifiers
against qualifier annotations
on the field or parameter to be autowired.Qualifier
annotation.
ParseState
entry representing an autowire candidate qualifier.bean
with the supplied
registry
.
BeanDefinitionDecorator
to
handle the specified element.
BeanDefinitionDecorator
to
handle the specified attribute.
BeanDefinitionParser
to
handle the specified element.
PropertyEditors
with
the given PropertyEditorRegistry
.
registry
with the following resource editors:
ResourceEditor, InputStreamEditor, InputSourceEditor, FileEditor, URLEditor,
URIEditor, ClassEditor, ClassArrayEditor.
BeanFactory
instance referred to by this object is not
needed any longer by the client code which obtained the BeanFactoryReference
.
name
from the underlying scope.
name
from the underlying
scope.
removePropertyValue
that takes a property name.
BeanPostProcessor
implementation
that enforces required JavaBean properties to have been configured.NamespaceHandler
for the supplied namespace URI
from the configured mappings.
NamespaceHandler
implementation.
BeanDefinition
.
methodName[([arg_list])]
,
where arg_list
is an optional, comma-separated list of fully-qualified
type names, and attempts to resolve that signature against the supplied Class
.
PropertyEditor
implementation for
ResourceBundles
.PropertyEditorRegistry
(typically a BeanWrapper
used for bean
creation within an org.springframework.context.ApplicationContext
)
with resource editors.ResourceEditorRegistrar.ResourceEditorRegistrar(ResourceLoader, PropertyResolver)
ResourceLoader
(usually,
relative to the resource base of an ApplicationContext), if applicable.BeanDefinition
is a major part
of the application.
BeanDefinition
is providing an
entirely background role and has no relevance to the end-user.
BeanDefinition
is a supporting
part of some larger configuration, typically an outer
ComponentDefinition
.
BeanDefinitionBuilder
used to construct a RootBeanDefinition
.
BeanDefinitionBuilder
used to construct a RootBeanDefinition
.
BeanDefinitionBuilder
used to construct a RootBeanDefinition
.
BeanDefinitionBuilder
used to construct a RootBeanDefinition
.
AbstractBeanDefinition.setScope(java.lang.String)
AbstractBeanDefinition.setAutowireMode(int)
usage
AbstractBeanDefinition.getPropertyValues()
usage
AbstractBeanDefinition.setScope(java.lang.String)
ConfigurableBeanFactory
,
representing a target scope to hold bean instances in.owner.(scope)=prototype
.
FactoryBean
that exposes the
'primary' service for the configured service class, obtained through
the JDK 1.6 ServiceLoader
facility.FactoryBean
that exposes all
services for the configured service class, represented as a List of service objects,
obtained through the JDK 1.6 ServiceLoader
facility.FactoryBean
that exposes the
JDK 1.6 ServiceLoader
for the configured service class.FactoryBean
implementation that takes an interface which must have one or more
methods with the signatures MyType xxx()
or MyType xxx(MyIdType id)
(typically, MyService getService()
or MyService getService(String id)
)
and creates a dynamic proxy which implements that interface, delegating to an
underlying BeanFactory
.String
into Properties
, considering it as
properties content.
class loader
to
a bean instance.
BeanFactory
in which this aspect must configure beans.
BeanWiringInfoResolver
to use.
Map
, using the
class name of the required type as the key and the class name of the
associated PropertyEditor
as value.
DocumentLoader
to use.
BeanDefinitionDocumentReader
implementation to use,
responsible for the actual reading of the XML bean definition document.
org.xml.sax.ErrorHandler
interface for custom handling of XML parsing errors and warnings.
ReaderEventListener
to use.
raw BeanDefinition object
true
,
which is the default) or to switch to strict resolution (throwing an exception
in case of ambigious constructors that all match when converting the arguments,
whereas lenient mode would use the one with the 'closest' type matches).
logger
that is to be used to report warnings.
NamespaceHandlerResolver
to use.
null
when
resolved as a placeholder value: e.g.
ProblemReporter
to use.
PropertyEditorRegistrars
to apply to beans defined within the current application context.
raw BeanDefinition object
BeanDefinition
.
MyType xxx()
or MyType xxx(MyIdType id)
(typically, MyService getService()
or MyService getService(String id)
).
AbstractBeanDefinition.setScope(java.lang.String)
BeanDefinitionBuilder.setScope(java.lang.String)
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
raw BeanDefinition object
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
Object
for this metadata element.
SourceExtractor
to use.
<aop:config>
).
MutableSortDefinition.setProperty(java.lang.String)
gets called with already set property name again).
Properties
as-is; convert Map
into Properties
.
null
if no such
special character should be processed as a value separator.
BeanComponentDefinition
event after parsing the bean definition.
Element
?
Element
does not
specify an "id" attribute explicitly?
AutowireCandidateResolver
implementation to use when no annotation
support is available.BeanDefinitionRegistry
interface.NamespaceHandler
implementation that maps custom
attributes directly through to bean properties.NamespaceHandler
implementation that maps custom attributes
directly through to bean properties.SecurityContextProvider
implementation.SimpleSecurityContextProvider
instance.
SimpleSecurityContextProvider
instance.
SpringBeanELResolver
, delegating
to a given BeanFactory
that the resolver was constructed with.owner.(singleton)=false
.
BeanFactoryLocator
,
which accesses shared Spring BeanFactory
instances.FactoryBean
interface.InstantiationAwareBeanPostProcessor
interface,
adding a callback for predicting the eventual type of a processed bean.ParseState
which is an independent snapshot
of this instance.
ELResolver
that delegates to a Spring BeanFactory,
resolving name references to Spring-defined beans.BeanFactory
implementation
which allows to register existing singleton instances programmatically.PropertyEditor
for String arrays.java.util.TimeZone
, translating timezone IDs into
TimeZone objects.AbstractComponentDefinition.getDescription()
.
ParseState
.
TypedStringValue
for the given String value.
TypedStringValue
for the given String value
and target type.
TypedStringValue
for the given String value
and target type.
java.net.URI
, to directly populate a URI property
instead of using a String property as bridge.java.net.URL
, to directly populate a URL property
instead of using a String property as bridge.BeanFactory
(or derived
interface such as org.springframework.context.ApplicationContext
)
specified by the factoryKey
parameter.
StringArrayPropertyEditor
.
NamespaceHandler
for the util
namespace.java.util.UUID
, translating UUID
String representations into UUID objects and back.Problem
to the Log
at WARN
level.
SAXException
, typically a SAXParseException
which contains information about the error location.DefaultListableBeanFactory
and
XmlBeanDefinitionReader
ReaderContext
,
specific to use with an XmlBeanDefinitionReader
.
|
spring-beans | ||||||||
PREV NEXT | FRAMES NO FRAMES |