Package | Description |
---|---|
org.springframework.aop.config |
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
|
org.springframework.aop.scope |
Support for AOP-based scoping of target objects, with configurable backend.
|
org.springframework.beans.factory.annotation |
Support package for annotation-driven bean configuration.
|
org.springframework.beans.factory.config |
SPI interfaces and configuration-related convenience classes for bean factories.
|
org.springframework.beans.factory.parsing |
Support infrastructure for bean definition parsing.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD. |
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
AbstractInterceptorDrivenBeanDefinitionDecorator.decorate(Node node,
BeanDefinitionHolder definitionHolder,
ParserContext parserContext) |
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
AbstractInterceptorDrivenBeanDefinitionDecorator.decorate(Node node,
BeanDefinitionHolder definitionHolder,
ParserContext parserContext) |
Modifier and Type | Method and Description |
---|---|
static BeanDefinitionHolder |
ScopedProxyUtils.createScopedProxy(BeanDefinitionHolder definition,
BeanDefinitionRegistry registry,
boolean proxyTargetClass)
Generate a scoped proxy for the supplied target bean, registering the target
bean with an internal name and setting 'targetBeanName' on the scoped proxy.
|
Modifier and Type | Method and Description |
---|---|
static BeanDefinitionHolder |
ScopedProxyUtils.createScopedProxy(BeanDefinitionHolder definition,
BeanDefinitionRegistry registry,
boolean proxyTargetClass)
Generate a scoped proxy for the supplied target bean, registering the target
bean with an internal name and setting 'targetBeanName' on the scoped proxy.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
QualifierAnnotationAutowireCandidateResolver.checkQualifier(BeanDefinitionHolder bdHolder,
Annotation annotation,
TypeConverter typeConverter)
Match the given qualifier annotation against the candidate bean definition.
|
protected boolean |
QualifierAnnotationAutowireCandidateResolver.checkQualifiers(BeanDefinitionHolder bdHolder,
Annotation[] annotationsToSearch)
Match the given qualifier annotations against the candidate bean definition.
|
boolean |
QualifierAnnotationAutowireCandidateResolver.isAutowireCandidate(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor)
Determine whether the provided bean definition is an autowire candidate.
|
Constructor and Description |
---|
BeanDefinitionHolder(BeanDefinitionHolder beanDefinitionHolder)
Copy constructor: Create a new BeanDefinitionHolder with the
same contents as the given BeanDefinitionHolder instance.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanComponentDefinition
ComponentDefinition based on a standard BeanDefinition, exposing the given bean
definition as well as inner bean definitions and bean references for the given bean.
|
Constructor and Description |
---|
BeanComponentDefinition(BeanDefinitionHolder beanDefinitionHolder)
Create a new BeanComponentDefinition for the given bean.
|
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
RootBeanDefinition.getDecoratedDefinition()
Return the target definition that is being decorated by this bean definition, if any.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
GenericTypeAwareAutowireCandidateResolver.checkGenericTypeMatch(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor)
Match the given dependency type with its generic type information against the given
candidate bean definition.
|
boolean |
SimpleAutowireCandidateResolver.isAutowireCandidate(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor) |
boolean |
GenericTypeAwareAutowireCandidateResolver.isAutowireCandidate(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor) |
default boolean |
AutowireCandidateResolver.isAutowireCandidate(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor)
Determine whether the given bean definition qualifies as an
autowire candidate for the given dependency.
|
static void |
BeanDefinitionReaderUtils.registerBeanDefinition(BeanDefinitionHolder definitionHolder,
BeanDefinitionRegistry registry)
Register the given bean definition with the given bean factory.
|
void |
RootBeanDefinition.setDecoratedDefinition(BeanDefinitionHolder decoratedDefinition)
Register a target definition that is being decorated by this bean definition.
|
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
NamespaceHandler.decorate(Node source,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node and decorate the supplied
BeanDefinitionHolder , returning the decorated definition. |
BeanDefinitionHolder |
BeanDefinitionDecorator.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node (either an element or an attribute) and decorate
the supplied BeanDefinition ,
returning the decorated definition. |
BeanDefinitionHolder |
NamespaceHandlerSupport.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Decorates the supplied
Node by delegating to the BeanDefinitionDecorator that
is registered to handle that Node . |
BeanDefinitionHolder |
SimpleConstructorNamespaceHandler.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext) |
BeanDefinitionHolder |
SimplePropertyNamespaceHandler.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext) |
BeanDefinitionHolder |
BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(Element ele,
BeanDefinitionHolder originalDef)
Decorate the given bean definition through a namespace handler, if applicable.
|
BeanDefinitionHolder |
BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(Element ele,
BeanDefinitionHolder originalDef,
BeanDefinition containingBd)
Decorate the given bean definition through a namespace handler, if applicable.
|
BeanDefinitionHolder |
BeanDefinitionParserDelegate.decorateIfRequired(Node node,
BeanDefinitionHolder originalDef,
BeanDefinition containingBd)
Decorate the given bean definition through a namespace handler,
if applicable.
|
BeanDefinitionHolder |
BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele)
Parses the supplied
<bean> element. |
BeanDefinitionHolder |
BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele,
BeanDefinition containingBean)
Parses the supplied
<bean> element. |
Modifier and Type | Method and Description |
---|---|
BeanDefinitionHolder |
NamespaceHandler.decorate(Node source,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node and decorate the supplied
BeanDefinitionHolder , returning the decorated definition. |
BeanDefinitionHolder |
BeanDefinitionDecorator.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Parse the specified
Node (either an element or an attribute) and decorate
the supplied BeanDefinition ,
returning the decorated definition. |
BeanDefinitionHolder |
NamespaceHandlerSupport.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext)
Decorates the supplied
Node by delegating to the BeanDefinitionDecorator that
is registered to handle that Node . |
BeanDefinitionHolder |
SimpleConstructorNamespaceHandler.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext) |
BeanDefinitionHolder |
SimplePropertyNamespaceHandler.decorate(Node node,
BeanDefinitionHolder definition,
ParserContext parserContext) |
BeanDefinitionHolder |
BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(Element ele,
BeanDefinitionHolder originalDef)
Decorate the given bean definition through a namespace handler, if applicable.
|
BeanDefinitionHolder |
BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(Element ele,
BeanDefinitionHolder originalDef,
BeanDefinition containingBd)
Decorate the given bean definition through a namespace handler, if applicable.
|
BeanDefinitionHolder |
BeanDefinitionParserDelegate.decorateIfRequired(Node node,
BeanDefinitionHolder originalDef,
BeanDefinition containingBd)
Decorate the given bean definition through a namespace handler,
if applicable.
|
protected void |
AbstractBeanDefinitionParser.registerBeanDefinition(BeanDefinitionHolder definition,
BeanDefinitionRegistry registry)
|
Modifier and Type | Method and Description |
---|---|
protected Set<BeanDefinitionHolder> |
ClassPathBeanDefinitionScanner.doScan(String... basePackages)
Perform a scan within the specified base packages,
returning the registered bean definitions.
|
static Set<BeanDefinitionHolder> |
AnnotationConfigUtils.registerAnnotationConfigProcessors(BeanDefinitionRegistry registry,
Object source)
Register all relevant annotation post processors in the given registry.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ClassPathBeanDefinitionScanner.registerBeanDefinition(BeanDefinitionHolder definitionHolder,
BeanDefinitionRegistry registry)
Register the specified bean with the given registry.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ComponentScanBeanDefinitionParser.registerComponents(XmlReaderContext readerContext,
Set<BeanDefinitionHolder> beanDefinitions,
Element element) |