aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sandbox/common/tracing/TraceMyJoinPoints.java
blob: a5aa686d6d80b44215b95a3f14e53d441f3a8ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// START-SAMPLE tracing-traceJoinPoints   Trace to log join points executed by main method  
/* TraceMyJoinPoints.java */

package tracing;

import com.company.app.Main;

/**
 * Trace all join points in company application.
 * @author Jim Hugunin, Wes Isberg
 */
aspect TraceMyJoinPoints extends TraceJoinPoints {
    protected pointcut entry() : execution(void Main.runMain(String[]));
}
// END-SAMPLE tracing-traceJoinPoints