A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
It is sorta covered in the
JavaRanch Style Guide
subject: ASPECTJ: modifying methods in another class using a pointcut
Nesting a method within a method
Objects in method arguments
Not implementing the RemoteException
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014