@AppliesTo(value=Trace.class) public final class TraceConcern extends AbstractTraceConcern implements InvocationHandler
The Trace paradigm is all about tracking the entry and exit (both normal and exceptional ones)
of methods. The TraceConcern will be added to all methods that declares the @Trace
annotation, with an optional level argument. The level is the threshold of the
Tracer instance required to trace the method, i.e. the priority of the Tracer instance
must be equal or higher than the level set in the @Trace
annotation of the
method.
If the priority of the Tracer
is set to OFF (Integer.MIN_VALUE) then no
tracing will happen.
traceService
Constructor and Description |
---|
TraceConcern(Composite thisComposite) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doTrace() |
invoke
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke
protected boolean doTrace()
doTrace
in class AbstractTraceConcern