org.qi4j.logging.trace
Class TraceAllConcern
java.lang.Object
org.qi4j.api.concern.ConcernOf<InvocationHandler>
org.qi4j.logging.trace.AbstractTraceConcern
org.qi4j.logging.trace.TraceAllConcern
- All Implemented Interfaces:
- InvocationHandler
@AppliesTo(value=ExcludeCompositeFilter.class)
public final class TraceAllConcern
- extends AbstractTraceConcern
- implements InvocationHandler
The TraceAllConcern will call the traceEntry(), traceExit() and traceException() methods in the
Tracer instance associated with the CompositeType that the TraceAllConcern is part of.
The Trace paradigm is all about tracking the entry and exit (both normal and exceptional ones)
of methods.
The main difference to the TraceConcern
is that this concern is not associated with
the @Trace
annotation, and all methods in the interfaces will be traced, unless
the LogService has turned off tracing.
- See Also:
TraceConcern
Method Summary |
protected boolean |
doTrace()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceAllConcern
public TraceAllConcern(@This
Composite composite)
doTrace
protected boolean doTrace()
- Overrides:
doTrace
in class AbstractTraceConcern