Websphere MQ Everyplace

examples.trace
Class MQeTraceToFile

java.lang.Object
  |
  +--examples.trace.MQeTrace
        |
        +--examples.trace.MQeTraceToFile
All Implemented Interfaces:
MQeTraceHandler

public class MQeTraceToFile
extends MQeTrace

To trace a collection of trace messages to a file on disk.

Both the stdout and stderr streams are captured in the same file.

The file in which trace information is placed is dynamically named, starting with the prefix mqe_trace_ followed by the current time expressed in milliseconds, followed by the .txt file extension.


Field Summary
static java.lang.String outputFileNameEnd
           
static java.lang.String outputFileNameStart
           
static short[] version
           
 
Fields inherited from class examples.trace.MQeTrace
baseHandler, filter, title
 
Constructor Summary
MQeTraceToFile()
           
 
Method Summary
 void activate(java.lang.String title)
          Common activation code
 boolean display(long groups)
          decide if the template is viewable or not
 void finalize()
           
 
Methods inherited from class examples.trace.MQeTrace
close, setFilter, traceMessage, traceMessage, traceMessage, traceMessage, traceMessage
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static short[] version

outputFileNameStart

public static final java.lang.String outputFileNameStart
See Also:
Constant Field Values

outputFileNameEnd

public static final java.lang.String outputFileNameEnd
See Also:
Constant Field Values
Constructor Detail

MQeTraceToFile

public MQeTraceToFile()
Method Detail

activate

public void activate(java.lang.String title)
Description copied from class: MQeTrace
Common activation code

Overrides:
activate in class MQeTrace

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

display

public boolean display(long groups)
Description copied from class: MQeTrace
decide if the template is viewable or not

Overrides:
display in class MQeTrace

Websphere MQ Everyplace