This example is written in a way that it is meant to follow: AspectJ_Example_3 and AspectJ_Example_4. I specifically leave out details unchanged from those examples.
Now we’ll introduce selecting pointcuts augmented by annotations. Begin by reviewing the following Java files and the expected output. Based on all of that information, your assignment is to describe what is happening and try to guess how it is happening. Note that the code provided here is somewhat stripped down to reduce what you have to look at. Later, we provide the full source in the Explained section.
Comments