类的使用
infra.aop.framework.ProxyFactory
使用ProxyFactory的程序包
程序包
说明
Package containing Infra basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
Bean post-processors for use in ApplicationContexts to simplify AOP usage
by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
-
infra.aop.framework中ProxyFactory的使用
修饰符和类型方法说明protected ProxyFactoryAbstractAdvisingBeanPostProcessor.prepareProxyFactory(Object bean, String beanName) Prepare aProxyFactoryfor the given bean.参数类型为ProxyFactory的infra.aop.framework中的方法修饰符和类型方法说明protected voidAbstractAdvisingBeanPostProcessor.customizeProxyFactory(ProxyFactory proxyFactory) Subclasses may choose to implement this: for example, to change the interfaces exposed.protected voidProxyProcessorSupport.evaluateProxyInterfaces(Class<?> beanClass, ProxyFactory proxyFactory) Check the interfaces on the given bean class and apply them to theProxyFactory, if appropriate.protected voidAbstractSingletonProxyFactoryBean.postProcessProxyFactory(ProxyFactory proxyFactory) A hook for subclasses to post-process theProxyFactorybefore creating the proxy instance with it. -
infra.aop.framework.autoproxy中ProxyFactory的使用
修饰符和类型方法说明protected ProxyFactoryAbstractBeanFactoryAwareAdvisingPostProcessor.prepareProxyFactory(Object bean, String beanName) 修饰符和类型方法说明protected voidAbstractAutoProxyCreator.customizeProxyFactory(ProxyFactory proxyFactory) Subclasses may choose to implement this: for example, to change the interfaces exposed.