类 AbstractBeanFactoryAwareAdvisingPostProcessor
java.lang.Object
cn.taketoday.aop.framework.ProxyConfig
cn.taketoday.aop.framework.ProxyProcessorSupport
cn.taketoday.aop.framework.AbstractAdvisingBeanPostProcessor
cn.taketoday.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor
- 所有已实现的接口:
AopInfrastructureBean,Aware,BeanClassLoaderAware,BeanFactoryAware,BeanPostProcessor,InitializationBeanPostProcessor,Ordered,Serializable
public abstract class AbstractBeanFactoryAwareAdvisingPostProcessor
extends AbstractAdvisingBeanPostProcessor
implements BeanFactoryAware
Extension of
AbstractAutoProxyCreator which implements BeanFactoryAware,
adds exposure of the original target class for each proxied bean
(AutoProxyUtils.ORIGINAL_TARGET_CLASS_ATTRIBUTE),
and participates in an externally enforced target-class mode for any given bean
(AutoProxyUtils.PRESERVE_TARGET_CLASS_ATTRIBUTE).
This post-processor is therefore aligned with AbstractAutoProxyCreator.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.aop.framework.AbstractAdvisingBeanPostProcessor
advisor, beforeExistingAdvisors从接口继承的字段 cn.taketoday.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected ProxyFactoryprepareProxyFactory(Object bean, String beanName) Prepare aProxyFactoryfor the given bean.voidsetBeanFactory(BeanFactory beanFactory) 从类继承的方法 cn.taketoday.aop.framework.AbstractAdvisingBeanPostProcessor
customizeProxyFactory, isEligible, isEligible, postProcessAfterInitialization, postProcessBeforeInitialization, setBeforeExistingAdvisors从类继承的方法 cn.taketoday.aop.framework.ProxyProcessorSupport
evaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoader从类继承的方法 cn.taketoday.aop.framework.ProxyConfig
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
-
构造器详细资料
-
AbstractBeanFactoryAwareAdvisingPostProcessor
public AbstractBeanFactoryAwareAdvisingPostProcessor()
-
-
方法详细资料
-
setBeanFactory
- 指定者:
setBeanFactory在接口中BeanFactoryAware
-
prepareProxyFactory
从类复制的说明:AbstractAdvisingBeanPostProcessorPrepare aProxyFactoryfor the given bean.Subclasses may customize the handling of the target instance and in particular the exposure of the target class. The default introspection of interfaces for non-target-class proxies and the configured advisor will be applied afterwards;
AbstractAdvisingBeanPostProcessor.customizeProxyFactory(cn.taketoday.aop.framework.ProxyFactory)allows for late customizations of those parts right before proxy creation.- 覆盖:
prepareProxyFactory在类中AbstractAdvisingBeanPostProcessor- 参数:
bean- the bean instance to create a proxy forbeanName- the corresponding bean name- 返回:
- the ProxyFactory, initialized with this processor's
ProxyConfigsettings and the specified bean - 另请参阅:
-