## 类的使用
org.springframework.beans.factory.config.BeanDefinitionHolder

- 使用BeanDefinitionHolder的程序包
  程序包 | 说明
  --- | ---
  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.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 specified `Node` (either an element or an attribute) and decorate the supplied `BeanDefinition`, returning the decorated definition.
    `BeanDefinitionHolder` | NamespaceHandler.`decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext)` Parse the specified `Node` and decorate the supplied `BeanDefinitionHolder`, 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 definitionHolder)`
    `BeanDefinitionHolder` | BeanDefinitionParserDelegate.`decorateBeanDefinitionIfRequired(Element ele, BeanDefinitionHolder definitionHolder, BeanDefinition containingBd)`
    `BeanDefinitionHolder` | BeanDefinitionParserDelegate.`decorateIfRequired(Node node, BeanDefinitionHolder originalDef, BeanDefinition containingBd)`
    `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 specified `Node` (either an element or an attribute) and decorate the supplied `BeanDefinition`, returning the decorated definition.
    `BeanDefinitionHolder` | NamespaceHandler.`decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext)` Parse the specified `Node` and decorate the supplied `BeanDefinitionHolder`, 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 definitionHolder)`
    `BeanDefinitionHolder` | BeanDefinitionParserDelegate.`decorateBeanDefinitionIfRequired(Element ele, BeanDefinitionHolder definitionHolder, BeanDefinition containingBd)`
    `BeanDefinitionHolder` | BeanDefinitionParserDelegate.`decorateIfRequired(Node node, BeanDefinitionHolder originalDef, BeanDefinition containingBd)`
    `protected void` | AbstractBeanDefinitionParser.`registerBeanDefinition(BeanDefinitionHolder definition, BeanDefinitionRegistry registry)` Register the supplied `bean` with the supplied `registry`.