com.ibm.jtopenlite
Class Trace
java.lang.Object
com.ibm.jtopenlite.Trace
public class Trace
- extends Object
Class representing the Tracing provided by JTOpenLite.
Trace can be enabled by setting the JVM property com.ibm.jtopenlite.Trace.category to ALL or TRUE.
The trace output can be directed to a file by setting com.ibm.jtopenlite.Trace.file.
The trace currently consists only of the datastream information.
|
Constructor Summary |
Trace()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CATEGORY_NONE
public static final int CATEGORY_NONE
- See Also:
- Constant Field Values
CATEGORY_DATASTREAM
public static final int CATEGORY_DATASTREAM
- See Also:
- Constant Field Values
CATEGORY_ALL
public static final int CATEGORY_ALL
- See Also:
- Constant Field Values
Trace
public Trace()
setTraceCategory
public static void setTraceCategory(int traceCategory)
getTraceCategory
public static int getTraceCategory()
setPrintFile
public static void setPrintFile(File file)
getPrintStream
public static PrintStream getPrintStream()
isStreamTracingEnabled
public static boolean isStreamTracingEnabled()
dumpException
public static void dumpException(Exception e)