diff --git a/spring-framework-reference/src/aop-api.xml b/spring-framework-reference/src/aop-api.xml index 505ca21883e..832c4f9d483 100644 --- a/spring-framework-reference/src/aop-api.xml +++ b/spring-framework-reference/src/aop-api.xml @@ -904,16 +904,6 @@ public interface IntroductionInfo { true, the target can use the AopContext.currentProxy() method. - - - aopProxyFactory: the implementation of - AopProxyFactory to use. Offers a way - of customizing whether to use dynamic proxies, CGLIB or any other - proxy strategy. The default implementation will choose dynamic - proxies or CGLIB appropriately. There should be no need to use this - property; it is intended to allow the addition of new proxy types in - Spring 1.1. - Other properties specific to @@ -1293,7 +1283,7 @@ public interface IntroductionInfo { target object will automatically be proxied: ProxyFactory factory = new ProxyFactory(myBusinessInterfaceImpl); -factory.addInterceptor(myMethodInterceptor); +factory.addAdvice(myMethodInterceptor); factory.addAdvisor(myAdvisor); MyBusinessInterface tb = (MyBusinessInterface) factory.getProxy(); @@ -1302,10 +1292,10 @@ MyBusinessInterface tb = (MyBusinessInterface) factory.getProxy(); - You can add interceptors or advisors, and manipulate them for the - life of the ProxyFactory. If you add an - IntroductionInterceptionAroundAdvisor you can cause the proxy to implement - additional interfaces. + You can add advices (with interceptors as a specialized kind of advice) + and/or advisors, and manipulate them for the life of the ProxyFactory. + If you add an IntroductionInterceptionAroundAdvisor, you can cause the proxy + to implement additional interfaces. There are also convenience methods on ProxyFactory (inherited from AdvisedSupport) which allow you to add other advice