Uses of Class
org.springframework.beans.factory.config.BeanDefinitionHolder
Package
Description
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
Support for AOP-based scoping of target objects, with configurable backend.
Support package for annotation-driven bean configuration.
SPI interfaces and configuration-related convenience classes for bean factories.
Support infrastructure for bean definition parsing.
Classes supporting the
org.springframework.beans.factory
package.Contains an abstract XML-based
BeanFactory
implementation,
including a standard "spring-beans" XSD.Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
-
Uses of BeanDefinitionHolder in org.springframework.aop.config
Modifier and TypeMethodDescriptionfinal BeanDefinitionHolder
AbstractInterceptorDrivenBeanDefinitionDecorator.decorate
(Node node, BeanDefinitionHolder definitionHolder, ParserContext parserContext) Modifier and TypeMethodDescriptionfinal BeanDefinitionHolder
AbstractInterceptorDrivenBeanDefinitionDecorator.decorate
(Node node, BeanDefinitionHolder definitionHolder, ParserContext parserContext) -
Uses of BeanDefinitionHolder in org.springframework.aop.scope
Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic 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. -
Uses of BeanDefinitionHolder in org.springframework.beans.factory.annotation
Modifier and TypeMethodDescriptionprotected 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. -
Uses of BeanDefinitionHolder in org.springframework.beans.factory.config
ModifierConstructorDescriptionBeanDefinitionHolder
(BeanDefinitionHolder beanDefinitionHolder) Copy constructor: Create a new BeanDefinitionHolder with the same contents as the given BeanDefinitionHolder instance. -
Uses of BeanDefinitionHolder in org.springframework.beans.factory.parsing
Modifier and TypeClassDescriptionclass
ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.ModifierConstructorDescriptionBeanComponentDefinition
(BeanDefinitionHolder beanDefinitionHolder) Create a new BeanComponentDefinition for the given bean. -
Uses of BeanDefinitionHolder in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionRootBeanDefinition.getDecoratedDefinition()
Return the target definition that is being decorated by this bean definition, if any.Modifier and TypeMethodDescriptionprotected boolean
GenericTypeAwareAutowireCandidateResolver.checkGenericTypeMatch
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) Match the given dependency type with its generic type information against the given candidate bean definition.default boolean
AutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) Determine whether the given bean definition qualifies as an autowire candidate for the given dependency.boolean
GenericTypeAwareAutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) boolean
SimpleAutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, BeanDefinitionHolder innerBean) Create a newRegisteredBean
instance for an inner-bean.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. -
Uses of BeanDefinitionHolder in org.springframework.beans.factory.xml
Modifier and TypeMethodDescriptionBeanDefinitionDecorator.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNode
(either an element or an attribute) and decorate the suppliedBeanDefinition
, returning the decorated definition.NamespaceHandler.decorate
(Node source, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNode
and decorate the suppliedBeanDefinitionHolder
, returning the decorated definition.NamespaceHandlerSupport.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) Decorates the suppliedNode
by delegating to theBeanDefinitionDecorator
that is registered to handle thatNode
.SimpleConstructorNamespaceHandler.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) SimplePropertyNamespaceHandler.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired
(Element ele, BeanDefinitionHolder originalDef) Decorate the given bean definition through a namespace handler, if applicable.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired
(Element ele, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.BeanDefinitionParserDelegate.decorateIfRequired
(Node node, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.BeanDefinitionParserDelegate.parseBeanDefinitionElement
(Element ele) Parses the supplied<bean>
element.BeanDefinitionParserDelegate.parseBeanDefinitionElement
(Element ele, BeanDefinition containingBean) Parses the supplied<bean>
element.Modifier and TypeMethodDescriptionBeanDefinitionDecorator.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNode
(either an element or an attribute) and decorate the suppliedBeanDefinition
, returning the decorated definition.NamespaceHandler.decorate
(Node source, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNode
and decorate the suppliedBeanDefinitionHolder
, returning the decorated definition.NamespaceHandlerSupport.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) Decorates the suppliedNode
by delegating to theBeanDefinitionDecorator
that is registered to handle thatNode
.SimpleConstructorNamespaceHandler.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) SimplePropertyNamespaceHandler.decorate
(Node node, BeanDefinitionHolder definition, ParserContext parserContext) BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired
(Element ele, BeanDefinitionHolder originalDef) Decorate the given bean definition through a namespace handler, if applicable.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired
(Element ele, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.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) -
Uses of BeanDefinitionHolder in org.springframework.context.annotation
Modifier and TypeMethodDescriptionprotected Set<BeanDefinitionHolder>
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 TypeMethodDescriptionprotected void
ClassPathBeanDefinitionScanner.registerBeanDefinition
(BeanDefinitionHolder definitionHolder, BeanDefinitionRegistry registry) Register the specified bean with the given registry.Modifier and TypeMethodDescriptionprotected void
ComponentScanBeanDefinitionParser.registerComponents
(XmlReaderContext readerContext, Set<BeanDefinitionHolder> beanDefinitions, Element element)