类的使用
org.springframework.beans.factory.config.BeanDefinitionHolder
使用BeanDefinitionHolder的程序包 程序包 说明 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 theorg.springframework.beans.factory
package.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
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.org.springframework.aop.config中BeanDefinitionHolder的使用
返回BeanDefinitionHolder的org.springframework.aop.config中的方法 修饰符和类型 方法 说明 BeanDefinitionHolder
AbstractInterceptorDrivenBeanDefinitionDecorator. decorate(Node node, BeanDefinitionHolder definitionHolder, ParserContext parserContext)
参数类型为BeanDefinitionHolder的org.springframework.aop.config中的方法 修饰符和类型 方法 说明 BeanDefinitionHolder
AbstractInterceptorDrivenBeanDefinitionDecorator. decorate(Node node, BeanDefinitionHolder definitionHolder, ParserContext parserContext)
org.springframework.aop.scope中BeanDefinitionHolder的使用
返回BeanDefinitionHolder的org.springframework.aop.scope中的方法 修饰符和类型 方法 说明 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.参数类型为BeanDefinitionHolder的org.springframework.aop.scope中的方法 修饰符和类型 方法 说明 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.org.springframework.beans.factory.annotation中BeanDefinitionHolder的使用
参数类型为BeanDefinitionHolder的org.springframework.beans.factory.annotation中的方法 修饰符和类型 方法 说明 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.org.springframework.beans.factory.config中BeanDefinitionHolder的使用
参数类型为BeanDefinitionHolder的org.springframework.beans.factory.config中的构造器 构造器 说明 BeanDefinitionHolder(BeanDefinitionHolder beanDefinitionHolder)
Copy constructor: Create a new BeanDefinitionHolder with the same contents as the given BeanDefinitionHolder instance.org.springframework.beans.factory.parsing中BeanDefinitionHolder的使用
org.springframework.beans.factory.parsing中BeanDefinitionHolder的子类 修饰符和类型 类 说明 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.参数类型为BeanDefinitionHolder的org.springframework.beans.factory.parsing中的构造器 构造器 说明 BeanComponentDefinition(BeanDefinitionHolder beanDefinitionHolder)
Create a new BeanComponentDefinition for the given bean.org.springframework.beans.factory.support中BeanDefinitionHolder的使用
返回BeanDefinitionHolder的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 BeanDefinitionHolder
RootBeanDefinition. getDecoratedDefinition()
Return the target definition that is being decorated by this bean definition, if any.参数类型为BeanDefinitionHolder的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected 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 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.org.springframework.beans.factory.xml中BeanDefinitionHolder的使用
返回BeanDefinitionHolder的org.springframework.beans.factory.xml中的方法 修饰符和类型 方法 说明 BeanDefinitionHolder
BeanDefinitionDecorator. decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext)
Parse the specifiedNode
(either an element or an attribute) and decorate the suppliedBeanDefinition
, returning the decorated definition.BeanDefinitionHolder
NamespaceHandler. decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext)
Parse the specifiedNode
and decorate the suppliedBeanDefinitionHolder
, returning the decorated definition.BeanDefinitionHolder
NamespaceHandlerSupport. decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext)
Decorates the suppliedNode
by delegating to theBeanDefinitionDecorator
that is registered to handle thatNode
.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.参数类型为BeanDefinitionHolder的org.springframework.beans.factory.xml中的方法 修饰符和类型 方法 说明 BeanDefinitionHolder
BeanDefinitionDecorator. decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext)
Parse the specifiedNode
(either an element or an attribute) and decorate the suppliedBeanDefinition
, returning the decorated definition.BeanDefinitionHolder
NamespaceHandler. decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext)
Parse the specifiedNode
and decorate the suppliedBeanDefinitionHolder
, returning the decorated definition.BeanDefinitionHolder
NamespaceHandlerSupport. decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext)
Decorates the suppliedNode
by delegating to theBeanDefinitionDecorator
that is registered to handle thatNode
.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)
org.springframework.context.annotation中BeanDefinitionHolder的使用
返回变量类型为BeanDefinitionHolder的类型的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 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.参数类型为BeanDefinitionHolder的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 protected void
ClassPathBeanDefinitionScanner. registerBeanDefinition(BeanDefinitionHolder definitionHolder, BeanDefinitionRegistry registry)
Register the specified bean with the given registry.类型变量类型为BeanDefinitionHolder的org.springframework.context.annotation中的方法参数 修饰符和类型 方法 说明 protected void
ComponentScanBeanDefinitionParser. registerComponents(XmlReaderContext readerContext, Set<BeanDefinitionHolder> beanDefinitions, Element element)