wt.replication.receiver
Class EMBReceiverLog

java.lang.Object
  extended bywt.replication.receiver.EMBReceiverLog

public class EMBReceiverLog
extends Object

Helper class implements static methods to log messages in wt.replication.receiver Package.


Field Summary
private static String CLASSNAME
           
static PrintWriter embReceiverLog
           
private static String logName
           
private static String RESOURCE
           
private static String rootPath
           
 
Constructor Summary
EMBReceiverLog(String path, String logFileName)
           
 
Method Summary
 void closeLog()
           
 void onException(Throwable e, String msg)
           
 void openLog()
           
 void writeLog(String entry)
           
 
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

rootPath

private static String rootPath

logName

private static String logName

embReceiverLog

public static PrintWriter embReceiverLog
Constructor Detail

EMBReceiverLog

public EMBReceiverLog(String path,
                      String logFileName)
Method Detail

onException

public void onException(Throwable e,
                        String msg)

openLog

public void openLog()
             throws WTException
Throws:
WTException

closeLog

public void closeLog()

writeLog

public void writeLog(String entry)