Top Fields Constructors Methods
org.aspectj.weaver.tools

public Class DefaultTrace

extends AbstractTrace
Class Inheritance
Imports
java.io.PrintStream

Field Summary

Modifier and TypeField and Description
private PrintStream
private boolean
Inherited from org.aspectj.weaver.tools.AbstractTrace:
tracedClass

Constructor Summary

AccessConstructor and Description
public
DefaultTrace(Class<T> clazz)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
public void
event(String methodName, Object thiz, Object[] args)

Implements org.aspectj.weaver.tools.Trace.event.

public void
public void
public void
public void
public void
public void
public boolean
protected void
println(String
message to be traced
s
)

Template method that allows choice of destination for output

public void
public void
public void
Inherited from org.aspectj.weaver.tools.AbstractTrace:
enterenterentererroreventexitexitfatalformatArgsformatArrayformatCollectionformatMessageformatMessageformatObjformatObjectswarn

Field Detail

printback to summary
private PrintStream print
traceEnabledback to summary
private boolean traceEnabled

Constructor Detail

DefaultTraceback to summary
public DefaultTrace(Class<T> clazz)

Method Detail

debugback to summary
public void debug(String message)

Implements org.aspectj.weaver.tools.Trace.debug.

enterback to summary
public void enter(String methodName, Object thiz, Object[] args)

Implements abstract org.aspectj.weaver.tools.AbstractTrace.enter.

Implements org.aspectj.weaver.tools.Trace.enter.

enterback to summary
public void enter(String methodName, Object thiz)

Implements abstract org.aspectj.weaver.tools.AbstractTrace.enter.

Implements org.aspectj.weaver.tools.Trace.enter.

errorback to summary
public void error(String message, Throwable th)

Implements org.aspectj.weaver.tools.Trace.error.

eventback to summary
public void event(String methodName, Object thiz, Object[] args)

Implements org.aspectj.weaver.tools.Trace.event.

eventback to summary
public void event(String methodName)

Implements org.aspectj.weaver.tools.Trace.event.

exitback to summary
public void exit(String methodName, Object ret)

Implements abstract org.aspectj.weaver.tools.AbstractTrace.exit.

Implements org.aspectj.weaver.tools.Trace.exit.

exitback to summary
public void exit(String methodName)

Implements org.aspectj.weaver.tools.Trace.exit.

exitback to summary
public void exit(String methodName, Throwable th)

Implements abstract org.aspectj.weaver.tools.AbstractTrace.exit.

Implements org.aspectj.weaver.tools.Trace.exit.

fatalback to summary
public void fatal(String message, Throwable th)

Implements org.aspectj.weaver.tools.Trace.fatal.

infoback to summary
public void info(String message)

Implements org.aspectj.weaver.tools.Trace.info.

isTraceEnabledback to summary
public boolean isTraceEnabled()

Implements org.aspectj.weaver.tools.Trace.isTraceEnabled.

printlnback to summary
protected void println(String s)

Template method that allows choice of destination for output

Parameters
s:String

message to be traced

setPrintStreamback to summary
public void setPrintStream(PrintStream printStream)
setTraceEnabledback to summary
public void setTraceEnabled(boolean b)

Implements org.aspectj.weaver.tools.Trace.setTraceEnabled.

warnback to summary
public void warn(String message, Throwable th)

Implements org.aspectj.weaver.tools.Trace.warn.