Announcement Announcement Module
Collapse
No announcement yet.
Around Advice on HttpInvokerProxy? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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?

    Thanks,
    David

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

    Comment


    • #3
      Found the answer elsewhere in the forum.

      Found my answer in this thread...
      http://forum.springframework.org/showthread.php?t=10321
      Sorry about the extra bandwidth.
      Last edited by robyn; May 16th, 2006, 05:14 AM.

      Comment

      Working...
      X