Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Java in General
ASPECTJ: modifying methods in another class using a pointcut
Joined: Mar 10, 2011
Mar 10, 2011 19:30:31
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?
I agree. Here's the link:
subject: ASPECTJ: modifying methods in another class using a pointcut
Objects in method arguments
Nesting a method within a method
Not implementing the RemoteException
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015