"alesj" wrote :
| Or what's the difference between invoking method vs. field via reflection on the
AOP proxy?
The proxy is a subclass of the class AND contains a reference to the wrapped object.
Calling a method on the proxy delegates to a method in the wrapped object.
Setting a field on the proxy does not get reflected in the wrapped object, and setting a
field in the wrapped object does not get reflected in the proxy since the proxy and the
wrapped object are different instances.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135659#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...