basics:ex4
This is an old revision of the document!
The Basics: Exercise 4
Add another advice to the aspect Basics
that prints a message containing the input value of the method stop
immediately before it is executed.
Employ the primitive pointcut
args(Var,…)
(where Var
is the name of a variable declared in the signature of enclosing advice) to capture argument values from the join point.
Rerun the application and verify the output.
Continue with Exercise 5.
basics/ex4.1172243578.txt.gz · Last modified: 2007/02/23 16:12 by bdefrain