接口的使用
org.springframework.beans.factory.xml.BeanDefinitionDecorator
使用BeanDefinitionDecorator的程序包 程序包 说明 org.springframework.aop.config Support package for declarative AOP configuration, with XML schema being the primary configuration format.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.aop.config中BeanDefinitionDecorator的使用
实现BeanDefinitionDecorator的org.springframework.aop.config中的类 修饰符和类型 类 说明 class
AbstractInterceptorDrivenBeanDefinitionDecorator
Base implementation forBeanDefinitionDecorators
wishing to add aninterceptor
to the resulting bean.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 suppliedBeanDefinitionDecorator
to handle the specified element.protected void
NamespaceHandlerSupport. registerBeanDefinitionDecoratorForAttribute(String attrName, BeanDefinitionDecorator dec)
Subclasses can call this to register the suppliedBeanDefinitionDecorator
to handle the specified attribute.