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

  • Wiring instance of TransactionProxyFactoryBean

    Hi All,

    I have a service layer which I get from the beanfactory as a proxy (TransactionProxyFactoryBean) that I name "ServiceFacade" as this implements the ServiceFacade interface.

    I also have some other service classes which need to receive an instance of this class as the interface it implements (ServiceFacade) but when I create the <property ref="ServiceFacade"/> inside these other classes I get an exception saying that there is no setter for the property serviceFacade of class org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean.

    My question is: Is there an way I can wire proxies inside one another through the interface it implements dinamically?

    Daniel - São Paulo/Brazil