User Tools

Site Tools


basics:ex5

This is an old revision of the document!


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.1172244357.txt.gz · Last modified: 2007/02/23 16:25 by bdefrain