类的使用
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 ProxyFactory
AbstractAdvisingBeanPostProcessor. prepareProxyFactory(Object bean, String beanName)
Prepare aProxyFactory
for the given bean.参数类型为ProxyFactory的org.springframework.aop.framework中的方法 修饰符和类型 方法 说明 protected void
AbstractAdvisingBeanPostProcessor. customizeProxyFactory(ProxyFactory proxyFactory)
Subclasses may choose to implement this: for example, to change the interfaces exposed.protected void
ProxyProcessorSupport. evaluateProxyInterfaces(Class<?> beanClass, ProxyFactory proxyFactory)
Check the interfaces on the given bean class and apply them to theProxyFactory
, if appropriate.protected void
AbstractSingletonProxyFactoryBean. postProcessProxyFactory(ProxyFactory proxyFactory)
A hook for subclasses to post-process theProxyFactory
before creating the proxy instance with it.org.springframework.aop.framework.autoproxy中ProxyFactory的使用
返回ProxyFactory的org.springframework.aop.framework.autoproxy中的方法 修饰符和类型 方法 说明 protected ProxyFactory
AbstractBeanFactoryAwareAdvisingPostProcessor. prepareProxyFactory(Object bean, String beanName)
参数类型为ProxyFactory的org.springframework.aop.framework.autoproxy中的方法 修饰符和类型 方法 说明 protected void
AbstractAutoProxyCreator. 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 void
TransactionProxyFactoryBean. postProcessProxyFactory(ProxyFactory proxyFactory)
As of 4.2, this method addsTransactionalProxy
to the set of proxy interfaces in order to avoid re-processing of transaction metadata.