Results 1 to 3 of 3

Thread: ProxyFactoryBean X TransactionProxyFactoryBean

  1. #1
    Join Date
    Sep 2005
    Posts
    18

    Default ProxyFactoryBean X TransactionProxyFactoryBean

    Hello.

    I was using the ProxyFactoryBean but now I need transactions, so let's change for TransactionProxyFactoryBean.
    The problem is that TransactionProxyFactoryBean does not have the property interceptorNames like ProxyFactoryBean and I need to declare some interceptors in every bean.
    Is there any alternative?

    Thanks.

  2. #2
    Join Date
    Jun 2006
    Location
    SF Bay Area, California
    Posts
    524

    Default Use preInterceptor and postInterceptor

    Use preInterceptor and postInterceptor properties to add additional interceptors.

    -Ramnivas
    Ramnivas Laddad (Follow me on Twitter)
    AspectJ in Action: Enterprise AOP with Spring Applications (2nd edition). Now available!

  3. #3

    Default

    Is it possible to add throwAdvice to transactionProxyBean to handle exceptions thrown by proxied bean ?

Posting Permissions

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