|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.eNetwork.beans.HOD.trace.TraceEvent
Event fired to notify listeners that a trace event has occurred.
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 |
public static final int REGISTER
public static final int UNREGISTER
public static final int TRACEENTRY
public static final int TRACEEXIT
public static final int TRACEMESSAGE
public static final int LOGEXCEPTION
public static final int LOGMESSAGE
public static final int SHOW
public static final int HIDE
public static final int INFORMATIONAL
public static final int WARNING
public static final int ERROR
public static final int LEVEL
Constructor Detail |
public TraceEvent(java.lang.Object src, com.ibm.eNetwork.ECL.trace.ECLTraceEvent e)
source
- The source of the event.e
- An ECLTraceEvent to encapsulatepublic TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr)
source
- The source of the event.tp
- The TraceProducer of this event.Type
- The event typecorr
- The session correlatorpublic 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)
source
- The source of the event.tp
- The TraceProducer of this event.Type
- The event typecorr
- The session correlatorclassName
- The className of the object that originated the eventmethod
- The method of the object that originated the eventmsg
- The trace messagepublic TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String msg)
source
- The source of the event.tp
- The TraceProducer of this event.Type
- The event typecorr
- The session correlatormsg
- The trace messagepublic TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String orig, java.lang.Exception e)
source
- The source of the event.tp
- The TraceProducer of this event.Type
- The event typecorr
- The session correlatororig
- The className of the object that originated the evente
- The exceptionpublic TraceEvent(java.lang.Object src, TraceProducer tp, int Type, java.lang.String corr, java.lang.String orig, int msgType, java.lang.String msg)
source
- The source of the event.tp
- The TraceProducer of this event.Type
- The event typecorr
- The session correlatororig
- The className of the object that originated the eventmsgType
- The message typemsg
- The trace messageMethod Detail |
public java.lang.String getTraceName()
public java.lang.String getTraceString()
public java.lang.String getProduct()
public java.lang.String getThreadID()
public java.lang.Exception getException()
public int getType()
public java.lang.String getCorrelator()
public java.lang.String getClassName()
public java.lang.String getMethod()
public int getMsgType()
public TraceProducer getTraceProducer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |