类的使用
org.springframework.aop.framework.ProxyFactory
使用ProxyFactory的程序包 程序包 说明 org.springframework.aop.framework Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.org.springframework.aop.framework.autoproxy Bean post-processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean.org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.aop.framework中ProxyFactory的使用
返回ProxyFactory的org.springframework.aop.framework中的方法 修饰符和类型 方法 说明 protected ProxyFactoryAbstractAdvisingBeanPostProcessor. prepareProxyFactory(Object bean, String beanName)Prepare aProxyFactoryfor the given bean.参数类型为ProxyFactory的org.springframework.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.org.springframework.aop.framework.autoproxy中ProxyFactory的使用
返回ProxyFactory的org.springframework.aop.framework.autoproxy中的方法 修饰符和类型 方法 说明 protected ProxyFactoryAbstractBeanFactoryAwareAdvisingPostProcessor. prepareProxyFactory(Object bean, String beanName)参数类型为ProxyFactory的org.springframework.aop.framework.autoproxy中的方法 修饰符和类型 方法 说明 protected voidAbstractAutoProxyCreator. customizeProxyFactory(ProxyFactory proxyFactory)Subclasses may choose to implement this: for example, to change the interfaces exposed.org.springframework.transaction.interceptor中ProxyFactory的使用
参数类型为ProxyFactory的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected voidTransactionProxyFactoryBean. postProcessProxyFactory(ProxyFactory proxyFactory)As of 4.2, this method addsTransactionalProxyto the set of proxy interfaces in order to avoid re-processing of transaction metadata.