basics:ex4
Intro Ex1 Ex2 Ex3 Ex4 Ex5 Ex6 Ex7
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.txt · Last modified: 2021/02/05 13:49 by 127.0.0.1