File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes spring aop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "spring aop" Watch "spring aop" New topic
Author

spring aop

Manuel Schenkhuizen
Greenhorn

Joined: Apr 20, 2011
Posts: 14
Can anybody tell me what is the difference between this() and target()?
TKS
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spring aop
 
It's not a secret anymore!