View Full Version : Around Advice on HttpInvokerProxy?
Jun 6th, 2005, 10:31 AM
I'd like to put an around advice on all the methods of my client-side service proxies. I'm currently using HttpInvokerProxyFactoryBean to create those service proxies. I've created around advices on concrete classes before, but this seems a little strange. Can you use the same method to wrap up method calls on service proxies? Having looked at the API docs, HttpInvokerProxyFactoryBean does not provide a setInterceptors() method, so it seems unlikely. Is there perhaps another way to do what I want to do?
Jun 6th, 2005, 02:02 PM
I guess I should add that I also tried to take a bean created from HttpInvokerProxyFactoryBean and pass it as the target into org.springframework.aop.framework.ProxyFactoryBean . This failed on initialization, so I'm assuming that ProxyFactoryBean wants a concrete class instead of a proxy.
Jun 6th, 2005, 03:12 PM
Found my answer in this thread...
Sorry about the extra bandwidth.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.