com.ibm.di.server
Class Trace

java.lang.Object
  extended by com.ibm.di.server.Trace
All Implemented Interfaces:
Serializable

public class Trace
extends Object
implements Serializable

This class uses a PDLogger to log messages when AssemblyLines and their elements pass through different stages (thus creating a trace of their work).

See Also:
Serialized Form

Field Summary
static String propFileName
          The name of the properties file.
 
Constructor Summary
Trace()
          Constructor for the Trace object.
 
Method Summary
static void entrymax(Object This, String loggingMethod)
          Logs a debug message with maximum level.
static void entrymax(Object This, String loggingMethod, Object param1)
          Logs a debug message with maximum level.
static void entrymax(Object This, String loggingMethod, Object[] params)
          Logs a debug message with maximum level.
static void entrymax(Object This, String loggingMethod, Object param1, Object param2)
          Logs a debug message with maximum level.
static void entrymid(Object This, String loggingMethod)
          Logs a debug message with medium level.
static void entrymid(Object This, String loggingMethod, Object param1)
          Logs a debug message with medium level.
static void entrymid(Object This, String loggingMethod, Object[] params)
          Logs a debug message with medium level.
static void entrymid(Object This, String loggingMethod, Object param1, Object param2)
          Logs a debug message with medium level.
static void entrymid(String loggingClass, String loggingMethod)
          Logs a debug message with medium level.
static void entrymin(Object This, String loggingMethod)
          Logs a debug message with minimum level.
static void entrymin(Object This, String loggingMethod, Object param1)
          Logs a debug message with minimum level.
static void entrymin(Object This, String loggingMethod, Object[] params)
          Logs a debug message with minimum level.
static void entrymin(Object This, String loggingMethod, Object param1, Object param2)
          Logs a debug message with minimum level.
static void exception(Object This, String loggingMethod, Throwable throwable)
          Logs an exception with medium debug level.
static void exception(Object This, String loggingMethod, Throwable throwable, String text)
          Logs an exception with medium debug level.
static void exitmax(Object This, String loggingMethod)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, boolean retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, byte retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, char retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, double retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, float retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, int retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, long retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, Object retValue)
          Logs a exit debug message with maximum level.
static void exitmax(Object This, String loggingMethod, short retValue)
          Logs a exit debug message with maximum level.
static void exitmid(Object This, String loggingMethod)
          Logs a exit debug message with medium level.
static void exitmid(Object This, String loggingMethod, Object retValue)
          Logs a exit debug message with medium level.
static void exitmin(Object This, String loggingMethod)
          Logs a exit debug message with minimum level.
static void exitmin(Object This, String loggingMethod, Object retValue)
          Logs a exit debug message with minimum level.
static void text(Object This, String loggingMethod, String text)
          Logs an text message with medium debug level.
static void text(Object This, String loggingMethod, String text, Object insert1)
          Logs an text message with medium debug level.
static void text(Object This, String loggingMethod, String text, Object[] inserts)
          Logs an text message with medium debug level.
static void text(Object This, String loggingMethod, String text, Object insert1, Object insert2)
          Logs an text message with medium debug level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propFileName

public static final String propFileName
The name of the properties file.

Constructor Detail

Trace

public Trace()
Constructor for the Trace object.

Method Detail

entrymid

public static void entrymid(String loggingClass,
                            String loggingMethod)
Logs a debug message with medium level.

Parameters:
loggingClass - a String representing the class that logs the message.
loggingMethod - the logging method.

entrymid

public static void entrymid(Object This,
                            String loggingMethod)
Logs a debug message with medium level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.

entrymid

public static void entrymid(Object This,
                            String loggingMethod,
                            Object param1)
Logs a debug message with medium level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
param1 - an additional parameter that will be logged.

entrymid

public static void entrymid(Object This,
                            String loggingMethod,
                            Object param1,
                            Object param2)
Logs a debug message with medium level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
param1 - an additional parameter that will be logged.
param2 - an additional parameter that will be logged.

entrymid

public static void entrymid(Object This,
                            String loggingMethod,
                            Object[] params)
Logs a debug message with medium level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
params - an array of additional parameters.

entrymin

public static void entrymin(Object This,
                            String loggingMethod)
Logs a debug message with minimum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.

entrymin

public static void entrymin(Object This,
                            String loggingMethod,
                            Object param1)
Logs a debug message with minimum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
param1 - an additional parameter that will be logged.

entrymin

public static void entrymin(Object This,
                            String loggingMethod,
                            Object param1,
                            Object param2)
Logs a debug message with minimum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
param1 - an additional parameter that will be logged.
param2 - an additional parameter that will be logged.

entrymin

public static void entrymin(Object This,
                            String loggingMethod,
                            Object[] params)
Logs a debug message with minimum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
params - an array of additional parameters.

entrymax

public static void entrymax(Object This,
                            String loggingMethod)
Logs a debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.

entrymax

public static void entrymax(Object This,
                            String loggingMethod,
                            Object param1)
Logs a debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
param1 - an additional parameter that will be logged.

entrymax

public static void entrymax(Object This,
                            String loggingMethod,
                            Object param1,
                            Object param2)
Logs a debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
param1 - an additional parameter that will be logged.
param2 - an additional parameter that will be logged.

entrymax

public static void entrymax(Object This,
                            String loggingMethod,
                            Object[] params)
Logs a debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
params - an array of additional parameters.

exitmin

public static void exitmin(Object This,
                           String loggingMethod)
Logs a exit debug message with minimum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.

exitmin

public static void exitmin(Object This,
                           String loggingMethod,
                           Object retValue)
Logs a exit debug message with minimum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned value.

exitmid

public static void exitmid(Object This,
                           String loggingMethod)
Logs a exit debug message with medium level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.

exitmid

public static void exitmid(Object This,
                           String loggingMethod,
                           Object retValue)
Logs a exit debug message with medium level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           Object retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           int retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned int value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           boolean retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned boolean value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           float retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned float value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           double retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned double value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           char retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned char value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           long retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned long value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           byte retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned byte value.

exitmax

public static void exitmax(Object This,
                           String loggingMethod,
                           short retValue)
Logs a exit debug message with maximum level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
retValue - the returned short value.

exception

public static void exception(Object This,
                             String loggingMethod,
                             Throwable throwable,
                             String text)
Logs an exception with medium debug level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
throwable - a reference to the occurd exception.
text - additional information, leave it a "" if not needed.

exception

public static void exception(Object This,
                             String loggingMethod,
                             Throwable throwable)
Logs an exception with medium debug level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
throwable - a reference to the occurd exception.

text

public static void text(Object This,
                        String loggingMethod,
                        String text)
Logs an text message with medium debug level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
text - additional information, leave it a "" if not needed.

text

public static void text(Object This,
                        String loggingMethod,
                        String text,
                        Object insert1)
Logs an text message with medium debug level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
text - additional information, leave it a "" if not needed.
insert1 - an object that will be added to the message.

text

public static void text(Object This,
                        String loggingMethod,
                        String text,
                        Object insert1,
                        Object insert2)
Logs an text message with medium debug level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
text - additional information, leave it a "" if not needed.
insert1 - an object that will be added to the message.
insert2 - an object that will be added to the message.

text

public static void text(Object This,
                        String loggingMethod,
                        String text,
                        Object[] inserts)
Logs an text message with medium debug level.

Parameters:
This - a reference to the logging class.
loggingMethod - the logging method.
text - additional information, leave it a "" if not needed.
inserts - an array of objects that will be added to the message.