## 接口的使用
org.springframework.beans.factory.xml.BeanDefinitionDecorator

- 使用BeanDefinitionDecorator的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.xml | Contains an abstract XML-based `BeanFactory` implementation, including a standard "spring-beans" XSD.

- - ### org.springframework.beans.factory.xml中BeanDefinitionDecorator的使用

    参数类型为BeanDefinitionDecorator的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected void` | NamespaceHandlerSupport.`registerBeanDefinitionDecorator(String elementName, BeanDefinitionDecorator dec)` Subclasses can call this to register the supplied `BeanDefinitionDecorator` to handle the specified element.
    `protected void` | NamespaceHandlerSupport.`registerBeanDefinitionDecoratorForAttribute(String attrName, BeanDefinitionDecorator dec)` Subclasses can call this to register the supplied `BeanDefinitionDecorator` to handle the specified attribute.