A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 20, 2011
Aug 24, 2011 20:25:55
Can anybody tell me what is the difference between this() and target()?
Joined: Oct 18, 2000
Aug 25, 2011 06:51:03
In Spring, AOP is implemented by making a proxy to wrap the "real" objects using aspects. "this()" refers to the proxy, and "target()" refers to the wrapped "real" object.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: spring aop
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014