org.qi4j.logging.trace
Class TraceAllConcern

java.lang.Object
  extended by org.qi4j.api.concern.ConcernOf<InvocationHandler>
      extended by org.qi4j.logging.trace.AbstractTraceConcern
          extended by 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

Field Summary
 
Fields inherited from class org.qi4j.logging.trace.AbstractTraceConcern
traceService
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
TraceAllConcern(Composite composite)
           
 
Method Summary
protected  boolean doTrace()
           
 
Methods inherited from class org.qi4j.logging.trace.AbstractTraceConcern
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Constructor Detail

TraceAllConcern

public TraceAllConcern(@This
                       Composite composite)
Method Detail

doTrace

protected boolean doTrace()
Overrides:
doTrace in class AbstractTraceConcern