类 AbstractInterceptorDrivenBeanDefinitionDecorator

java.lang.Object
cn.taketoday.aop.config.AbstractInterceptorDrivenBeanDefinitionDecorator
所有已实现的接口:
BeanDefinitionDecorator

public abstract class AbstractInterceptorDrivenBeanDefinitionDecorator extends Object implements BeanDefinitionDecorator
Base implementation for BeanDefinitionDecorators wishing to add an interceptor to the resulting bean.

This base class controls the creation of the ProxyFactoryBean bean definition and wraps the original as an inner-bean definition for the target property of ProxyFactoryBean.

Chaining is correctly handled, ensuring that only one ProxyFactoryBean definition is created. If a previous BeanDefinitionDecorator already created the ProxyFactoryBean then the interceptor is simply added to the existing definition.

Subclasses have only to create the BeanDefinition to the interceptor that they wish to add.

从以下版本开始:
4.0 2022/3/7 19:29
作者:
Rob Harrop, Juergen Hoeller, Harry Yang
另请参阅:
  • 构造器详细资料

    • AbstractInterceptorDrivenBeanDefinitionDecorator

      public AbstractInterceptorDrivenBeanDefinitionDecorator()
  • 方法详细资料