com.ibm.eNetwork.beans.HOD.trace
Class TraceEvent

com.ibm.eNetwork.beans.HOD.trace.TraceEvent

public class TraceEvent

Event fired to notify listeners that a trace event has occurred.

PComm-unique For Personal Communications, members of the com.ibm.eNetwork.beans.HOD.trace package are non-operative because trace information is produced by a mechanism not compatible with JAVA.


Field Summary
static int ERROR
          Event type of ERROR message
static int HIDE
          Event type of HIDE
static int INFORMATIONAL
          Event type of INFORMATIONAL message
static int LEVEL
          Event type of LEVEL
static int LOGEXCEPTION
          Event type of LOGEXCEPTION
static int LOGMESSAGE
          Event type of LOGMESSAGE
static int REGISTER
          Event type of REGISTER
static int SHOW
          Event type of SHOW
static int TRACEENTRY
          Event type of TRACEENTRY
static int TRACEEXIT
          Event type of TRACEEXIT
static int TRACEMESSAGE
          Event type of TRACEMESSAEG
static int UNREGISTER
          Event type of UNREGISTER
static int WARNING
          Event type of WARNING message
 
Constructor Summary
TraceEvent(java.lang.Object src, com.ibm.eNetwork.ECL.trace.ECLTraceEvent e)
          Constructor for generating a new TraceEvent.
TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr)
          Constructor for generating a new TraceEvent.
TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String msg)
          Constructor for generating a new TraceEvent.
TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String orig, java.lang.Exception e)
          Constructor for generating a new TraceEvent.
TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String orig, int msgType, java.lang.String msg)
          Constructor for generating a new TraceEvent.
TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String className, java.lang.String method, java.lang.String msg)
          Constructor for generating a new TraceEvent.
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class
 java.lang.String getCorrelator()
          Returns the correlator
 java.lang.Exception getException()
          Returns the exception
 java.lang.String getMethod()
          Returns the method name
 int getMsgType()
          Returns the message type
 java.lang.String getProduct()
          Returns the product
 java.lang.String getThreadID()
          Returns the ThreadID
 java.lang.String getTraceName()
          Returns the trace identifier string for this trace event
 TraceProducer getTraceProducer()
          Returns the Producer of the event
 java.lang.String getTraceString()
          Returns the actual trace message
 int getType()
          Returns the event type
 

Field Detail

REGISTER

public static final int REGISTER
Event type of REGISTER

UNREGISTER

public static final int UNREGISTER
Event type of UNREGISTER

TRACEENTRY

public static final int TRACEENTRY
Event type of TRACEENTRY

TRACEEXIT

public static final int TRACEEXIT
Event type of TRACEEXIT

TRACEMESSAGE

public static final int TRACEMESSAGE
Event type of TRACEMESSAEG

LOGEXCEPTION

public static final int LOGEXCEPTION
Event type of LOGEXCEPTION

LOGMESSAGE

public static final int LOGMESSAGE
Event type of LOGMESSAGE

SHOW

public static final int SHOW
Event type of SHOW

HIDE

public static final int HIDE
Event type of HIDE

INFORMATIONAL

public static final int INFORMATIONAL
Event type of INFORMATIONAL message

WARNING

public static final int WARNING
Event type of WARNING message

ERROR

public static final int ERROR
Event type of ERROR message

LEVEL

public static final int LEVEL
Event type of LEVEL
Constructor Detail

TraceEvent

public TraceEvent(java.lang.Object src,
                  com.ibm.eNetwork.ECL.trace.ECLTraceEvent e)
Constructor for generating a new TraceEvent.
Parameters:
source - The source of the event.
e - An ECLTraceEvent to encapsulate

TraceEvent

public TraceEvent(java.lang.Object src,
                  TraceProducer tp,
                  int Type,
                  java.lang.String corr)
Constructor for generating a new TraceEvent.
Parameters:
source - The source of the event.
tp - The TraceProducer of this event.
Type - The event type
corr - The session correlator

TraceEvent

public TraceEvent(java.lang.Object src,
                  TraceProducer tp,
                  int Type,
                  java.lang.String corr,
                  java.lang.String className,
                  java.lang.String method,
                  java.lang.String msg)
Constructor for generating a new TraceEvent.
Parameters:
source - The source of the event.
tp - The TraceProducer of this event.
Type - The event type
corr - The session correlator
className - The className of the object that originated the event
method - The method of the object that originated the event
msg - The trace message

TraceEvent

public TraceEvent(java.lang.Object src,
                  TraceProducer tp,
                  int Type,
                  java.lang.String corr,
                  java.lang.String msg)
Constructor for generating a new TraceEvent.
Parameters:
source - The source of the event.
tp - The TraceProducer of this event.
Type - The event type
corr - The session correlator
msg - The trace message

TraceEvent

public TraceEvent(java.lang.Object src,
                  TraceProducer tp,
                  int Type,
                  java.lang.String corr,
                  java.lang.String orig,
                  java.lang.Exception e)
Constructor for generating a new TraceEvent.
Parameters:
source - The source of the event.
tp - The TraceProducer of this event.
Type - The event type
corr - The session correlator
orig - The className of the object that originated the event
e - The exception

TraceEvent

public TraceEvent(java.lang.Object src,
                  TraceProducer tp,
                  int Type,
                  java.lang.String corr,
                  java.lang.String orig,
                  int msgType,
                  java.lang.String msg)
Constructor for generating a new TraceEvent.
Parameters:
source - The source of the event.
tp - The TraceProducer of this event.
Type - The event type
corr - The session correlator
orig - The className of the object that originated the event
msgType - The message type
msg - The trace message
Method Detail

getTraceName

public java.lang.String getTraceName()
Returns the trace identifier string for this trace event

getTraceString

public java.lang.String getTraceString()
Returns the actual trace message

getProduct

public java.lang.String getProduct()
Returns the product

getThreadID

public java.lang.String getThreadID()
Returns the ThreadID

getException

public java.lang.Exception getException()
Returns the exception

getType

public int getType()
Returns the event type

getCorrelator

public java.lang.String getCorrelator()
Returns the correlator

getClassName

public java.lang.String getClassName()
Returns the name of the class

getMethod

public java.lang.String getMethod()
Returns the method name

getMsgType

public int getMsgType()
Returns the message type

getTraceProducer

public TraceProducer getTraceProducer()
Returns the Producer of the event