wt.pom
Class POMLog

java.lang.Object
  extended bywt.pom.POMLog

public class POMLog
extends Object

POMLog.java


Field Summary
private static String CLASSNAME
           
private static Hashtable incTab
           
private static boolean LOG_APPEND
           
private static boolean LOG_ENABLED
           
private static String LOG_FILE
           
private static boolean LOG_SQL_STATEMENTS
           
private static boolean LOG_STRIPPED_SQL_STATEMENTS
           
private static Integer one
           
static PrintWriter pomLog
           
private static String RESOURCE
           
private static String versionID
           
 
Constructor Summary
POMLog()
           
 
Method Summary
static void clearTableHits()
           
static void closeLog()
           
static String getTable(String from)
           
private static void incrementTable(String table)
           
static PrintStream openJDBCFilter()
           
static void openLog()
           
static void showTableHits()
           
static void simpleSort(TableRef[] tr)
           
private static String strippedSQL(String entry)
           
private static void tableHits(String from)
           
static void writeLog(String entry)
           
static void writeLogStackTrace(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

pomLog

public static PrintWriter pomLog

LOG_FILE

private static final String LOG_FILE

LOG_ENABLED

private static final boolean LOG_ENABLED

LOG_APPEND

private static final boolean LOG_APPEND

LOG_SQL_STATEMENTS

private static final boolean LOG_SQL_STATEMENTS

LOG_STRIPPED_SQL_STATEMENTS

private static final boolean LOG_STRIPPED_SQL_STATEMENTS

one

private static Integer one

incTab

private static Hashtable incTab
Constructor Detail

POMLog

public POMLog()
Method Detail

openLog

public static void openLog()
                    throws WTException
Throws:
WTException

openJDBCFilter

public static PrintStream openJDBCFilter()
                                  throws IOException
Throws:
IOException

closeLog

public static void closeLog()
                     throws WTException
Throws:
WTException

writeLogStackTrace

public static void writeLogStackTrace(String message)
Parameters:
message - message to display in stack trace

writeLog

public static void writeLog(String entry)

strippedSQL

private static String strippedSQL(String entry)

getTable

public static String getTable(String from)

simpleSort

public static void simpleSort(TableRef[] tr)

showTableHits

public static void showTableHits()

clearTableHits

public static void clearTableHits()

incrementTable

private static void incrementTable(String table)

tableHits

private static void tableHits(String from)