aspose file tools*
The moose likes Java in General and the fly likes ASPECTJ: modifying methods in another class using a pointcut Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "ASPECTJ: modifying methods in another class using a pointcut" Watch "ASPECTJ: modifying methods in another class using a pointcut" New topic
Author

ASPECTJ: modifying methods in another class using a pointcut

Carlos Nieto
Greenhorn

Joined: Mar 10, 2011
Posts: 1
I've been looking for way to modify a method from another class by using an aspect class, but I really don't know how to do that...

Is there a way to intercept the method call and replace what is in the method with something in my advice?
 
wood burning stoves
 
subject: ASPECTJ: modifying methods in another class using a pointcut
 
Similar Threads
Nesting a method within a method
Objects in method arguments
Hex ??
Array comparison
Not implementing the RemoteException