basics:ex2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
basics:ex2 [2007/02/23 15:09] – created bdefrain | basics:ex2 [2021/02/05 13:49] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[basics: | ||
+ | [[basics: | ||
+ | [[basics: | ||
+ | [[basics: | ||
+ | [[basics: | ||
+ | [[basics: | ||
+ | [[basics: | ||
+ | [[basics: | ||
====== The Basics: Exercise 2 ====== | ====== The Basics: Exercise 2 ====== | ||
Line 4: | Line 12: | ||
<note tip> | <note tip> | ||
- | Inside the pointcut, you can use the wildcard '' | + | Inside the signature pattern, you can use the wildcard '' |
</ | </ | ||
Line 10: | Line 18: | ||
<code aspectj> | <code aspectj> | ||
- | System.out.println(thisJoinPoint.getSignature()); | + | output(" |
</ | </ | ||
Line 16: | Line 24: | ||
Inside an advice, the reserved variable '' | Inside an advice, the reserved variable '' | ||
</ | </ | ||
+ | |||
+ | Rerun the application and verify that the aspect outputs a signature for methods '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Continue with [[basics: |
basics/ex2.1172239748.txt.gz · Last modified: 2007/02/23 15:09 by bdefrain