All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.ECL.trace.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.


Variable Index

 o ERROR
Event type of ERROR message
 o HIDE
Event type of HIDE
 o INFORMATIONAL
Event type of INFORMATIONAL message
 o LEVEL
Event type of LEVEL
 o LOGEXCEPTION
Event type of LOGEXCEPTION
 o LOGMESSAGE
Event type of LOGMESSAGE
 o REGISTER
Event type of REGISTER
 o SHOW
Event type of SHOW
 o TRACEENTRY
Event type of TRACEENTRY
 o TRACEEXIT
Event type of TRACEEXIT
 o TRACEMESSAGE
Event type of TRACEMESSAGE
 o UNREGISTER
Event type of UNREGISTER
 o WARNING
Event type of WARNING message

Constructor Index

 o ECLTraceEvent(int, ECLTraceProducer, String)
Constructor for generating a new ECLTraceEvent.
 o ECLTraceEvent(int, ECLTraceProducer, String, String)
Constructor for generating a new ECLTraceEvent.
 o ECLTraceEvent(int, ECLTraceProducer, String, String, Exception)
Constructor for generating a new ECLTraceEvent.
 o ECLTraceEvent(int, ECLTraceProducer, String, String, int, String)
Constructor for generating a new ECLTraceEvent.
 o ECLTraceEvent(int, ECLTraceProducer, String, String, String, String)
Constructor for generating a new ECLTraceEvent.

Method Index

 o GetClassName()
Returns the name of the class
 o GetCorrelator()
Returns the correlator
 o GetException()
Returns the exception
 o GetMethod()
Returns the method name
 o GetMsgType()
Returns the message type
 o GetProduct()
Returns the product
 o GetThreadID()
Returns the ThreadID
 o GetTraceName()
Returns the trace identifier string for this trace event
 o GetTraceProducer()
Returns the trace producer
 o GetTraceString()
Returns the actual trace message
 o GetType()
Returns the event type

Variables

 o REGISTER
 public static final int REGISTER
Event type of REGISTER

 o UNREGISTER
 public static final int UNREGISTER
Event type of UNREGISTER

 o TRACEENTRY
 public static final int TRACEENTRY
Event type of TRACEENTRY

 o TRACEEXIT
 public static final int TRACEEXIT
Event type of TRACEEXIT

 o TRACEMESSAGE
 public static final int TRACEMESSAGE
Event type of TRACEMESSAGE

 o LOGEXCEPTION
 public static final int LOGEXCEPTION
Event type of LOGEXCEPTION

 o LOGMESSAGE
 public static final int LOGMESSAGE
Event type of LOGMESSAGE

 o SHOW
 public static final int SHOW
Event type of SHOW

 o HIDE
 public static final int HIDE
Event type of HIDE

 o INFORMATIONAL
 public static final int INFORMATIONAL
Event type of INFORMATIONAL message

 o WARNING
 public static final int WARNING
Event type of WARNING message

 o ERROR
 public static final int ERROR
Event type of ERROR message

 o LEVEL
 public static final int LEVEL
Event type of LEVEL

Constructors

 o ECLTraceEvent
 public ECLTraceEvent(int type,
                      ECLTraceProducer producer,
                      String corr)
Constructor for generating a new ECLTraceEvent.

Parameters:
type - The event type
producer - The ECLTraceProducer associated with this event
corr - The session correlator
 o ECLTraceEvent
 public ECLTraceEvent(int type,
                      ECLTraceProducer producer,
                      String corr,
                      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
 o ECLTraceEvent
 public ECLTraceEvent(int type,
                      ECLTraceProducer producer,
                      String corr,
                      String className,
                      String method,
                      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
 o ECLTraceEvent
 public ECLTraceEvent(int type,
                      ECLTraceProducer producer,
                      String corr,
                      String orig,
                      int msgType,
                      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
 o ECLTraceEvent
 public ECLTraceEvent(int type,
                      ECLTraceProducer producer,
                      String corr,
                      String orig,
                      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 classname of the originator
e - The exception to trace

Methods

 o GetTraceName
 public String GetTraceName()
Returns the trace identifier string for this trace event

 o GetTraceString
 public String GetTraceString()
Returns the actual trace message

 o GetProduct
 public String GetProduct()
Returns the product

 o GetThreadID
 public String GetThreadID()
Returns the ThreadID

 o GetException
 public Exception GetException()
Returns the exception

 o GetType
 public int GetType()
Returns the event type

 o GetCorrelator
 public String GetCorrelator()
Returns the correlator

 o GetClassName
 public String GetClassName()
Returns the name of the class

 o GetMethod
 public String GetMethod()
Returns the method name

 o GetMsgType
 public int GetMsgType()
Returns the message type

 o GetTraceProducer
 public ECLTraceProducer GetTraceProducer()
Returns the trace producer


All Packages  Class Hierarchy  This Package  Previous  Next  Index