Announcement Announcement Module
No announcement yet.
Around Advice on HttpInvokerProxy? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Around Advice on HttpInvokerProxy?

    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?


  • #2
    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.


    • #3
      Found the answer elsewhere in the forum.

      Found my answer in this thread...
      Sorry about the extra bandwidth.
      Last edited by robyn; May 16th, 2006, 05:14 AM.