Results 1 to 3 of 3

Thread: Around Advice on HttpInvokerProxy?

  1. #1

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

    Default

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

    Default 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 at 04:14 AM.

Similar Threads

  1. After advice design question
    By drc in forum AOP
    Replies: 2
    Last Post: Sep 29th, 2005, 11:14 PM
  2. Performance Differences + Around advice
    By RameshMandaleeka in forum AOP
    Replies: 6
    Last Post: Sep 8th, 2005, 11:10 AM
  3. Replies: 5
    Last Post: Mar 28th, 2005, 08:41 AM
  4. Replies: 9
    Last Post: Dec 6th, 2004, 04:05 PM
  5. Replies: 2
    Last Post: Aug 16th, 2004, 12:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •