com.ibm.eNetwork.ECL.trace
Class ECLTraceEvent

java.lang.Object
  |
  +--com.ibm.eNetwork.ECL.event.ECLEvent
        |
        +--com.ibm.eNetwork.ECL.trace.ECLTraceEvent

public class ECLTraceEvent
extends ECLEvent

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


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 TRACEMESSAGE
static int UNREGISTER
          Event type of UNREGISTER
static int WARNING
          Event type of WARNING message
 
Constructor Summary
ECLTraceEvent(int type, ECLTraceProducer producer, java.lang.String corr)
          Constructor for generating a new ECLTraceEvent.
ECLTraceEvent(int type, ECLTraceProducer producer, java.lang.String corr, java.lang.String msg)
          Constructor for generating a new ECLTraceEvent.
ECLTraceEvent(int type, ECLTraceProducer producer, java.lang.String corr, java.lang.String orig, java.lang.Exception e)
          Constructor for generating a new ECLTraceEvent.
ECLTraceEvent(int type, ECLTraceProducer producer, java.lang.String corr, java.lang.String orig, int msgType, java.lang.String msg)
          Constructor for generating a new ECLTraceEvent.
ECLTraceEvent(int type, ECLTraceProducer producer, java.lang.String corr, java.lang.String className, java.lang.String method, java.lang.String msg)
          Constructor for generating a new ECLTraceEvent.
 
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
 ECLTraceProducer GetTraceProducer()
          Returns the trace producer
 java.lang.String GetTraceString()
          Returns the actual trace message
 int GetType()
          Returns the event type
 
Methods inherited from class com.ibm.eNetwork.ECL.event.ECLEvent
GetSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 TRACEMESSAGE

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

ECLTraceEvent

public ECLTraceEvent(int type,
                     ECLTraceProducer producer,
                     java.lang.String corr)
Constructor for generating a new ECLTraceEvent.
Parameters:
type - The event type
producer - The ECLTraceProducer associated with this event
corr - The session correlator

ECLTraceEvent

public ECLTraceEvent(int type,
                     ECLTraceProducer producer,
                     java.lang.String corr,
                     java.lang.String msg)
Constructor for generating a new ECLTraceEvent.
Parameters:
type - The event type
producer - The ECLTraceProducer associated with this event
corr - The session correlator
msg - The actual trace message

ECLTraceEvent

public ECLTraceEvent(int type,
                     ECLTraceProducer producer,
                     java.lang.String corr,
                     java.lang.String className,
                     java.lang.String method,
                     java.lang.String msg)
Constructor for generating a new ECLTraceEvent.
Parameters:
type - The event type
producer - The ECLTraceProducer associated with this event
corr - The session correlator
className - The name of the class producing the event
method - The name of the method producing the event
msg - The actual trace message

ECLTraceEvent

public ECLTraceEvent(int type,
                     ECLTraceProducer producer,
                     java.lang.String corr,
                     java.lang.String orig,
                     int msgType,
                     java.lang.String msg)
Constructor for generating a new ECLTraceEvent.
Parameters:
type - The event type
producer - The ECLTraceProducer associated with this event
corr - The session correlator
orig - The component originating the message
msgType - The message type
msg - The actual trace message

ECLTraceEvent

public ECLTraceEvent(int type,
                     ECLTraceProducer producer,
                     java.lang.String corr,
                     java.lang.String orig,
                     java.lang.Exception e)
Constructor for generating a new ECLTraceEvent.
Parameters:
type - The event type
producer - The ECLTraceProducer associated with this event
corr - The session correlator
orig - The class name of the originator
e - The exception to trace
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 ECLTraceProducer GetTraceProducer()
Returns the trace producer