Daniel Fagerstrom pisze:
cglib was required in early versions of Spring 2.0 but not anymore, you
can use:
<aop:scoped-proxy proxy-target-class="false"/>
which will use ordinary Java proxies instead. The limitation is that the
proxied object need to implement an inteface. While having an extra
possibly unmotivated interface is a little bit inconvenient, I find it
prefarable as it saves us from the added complications byte code
engeneering.
Adding extra (unnecessary in this case) interface was the reason why I tried to experiment with
cglib. Due to problems while debugging I was going to give up it, your comment convinced me even more.
Thanks for keeping eye on my commits. I hope you like my approach.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/