basics:ex5
Intro Ex1 Ex2 Ex3 Ex4 Ex5 Ex6 Ex7
The Basics: Exercise 5
Add another advice to the aspect Basics
that only prints a message when the stop
method is executed through the start
method.
Employ the primitive pointcut
cflow(Pointcut)
to match join points within the control flow of the join points matched by a given pointcut.
Rerun the application and verify that the advice does not trigger when stop
is executed from the main
method.
Continue with Exercise 6.
basics/ex5.txt · Last modified: 2021/02/05 13:49 by 127.0.0.1