Announcement Announcement Module
Collapse
No announcement yet.
ProxyFactoryBean X TransactionProxyFactoryBean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Use preInterceptor and postInterceptor

    Use preInterceptor and postInterceptor properties to add additional interceptors.

    -Ramnivas

    Comment


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

      Comment

      Working...
      X