|
From: <jue...@we...> - 2003-11-12 16:13:48
|
Simply set TransactionProxyFactoryBean's "proxyInterfacesOnly" property = to "false", it should then automatically create a CGLIB proxy for the = full target class. ProxyFactoryBean's "proxyTargetClass" is just there to enforce a CGLIB = proxy even with explicit specification of interfaces, like in the case = of introductions. As TransactionProxyFactoryBean does not support = introductions anyway, I see no need to offer that property there. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Cameron Braid Sent: Wednesday, November 12, 2003 5:02 PM To: spr...@li... Subject: [[W3-SPAM]] - [Springframework-developer] when using TransactionProxyFactoryBean, I need to proxy the target class - Email found in subject I need to somehow get TransactionProxyFactoryBean to allow proxying of=20 the target class. revently a method proxyFactory.setProxyTargetClass(true) was introduced, = though there is no way to get the TransactionProxyFactoryBean to make=20 this call. maybe something like a new boolean parameter called proxyTargetClass to=20 pass on the hint ? Thanks. Cameron --=20 Any damn fool can write code that a computer can understand... The trick is to write code that humans can understand. [Martin Fowler = http://www.martinfowler.com/distributedComputing/refactoring.pdf] ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |