wt.replication.unit
Class RepLogServiceHelper
java.lang.Object
wt.replication.unit.RepLogServiceHelper
- public class RepLogServiceHelper
- extends Object
Helper class implements static methods to log messages in log service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
logExtention
private static final String logExtention
- See Also:
- Constant Field Values
unitOpRecords
private static Hashtable unitOpRecords
unitLogs
private static Hashtable unitLogs
logLocales
private static Hashtable logLocales
RepLogServiceHelper
public RepLogServiceHelper()
registerUnitOperationLog
public static void registerUnitOperationLog(UnitOperationRecord opRec)
throws WTException
- Throws:
WTException
registerUnitOperationLog
public static void registerUnitOperationLog(UnitOperationRecord opRec,
Locale locale)
throws WTException
- Throws:
WTException
registerUnitOperationLog
public static void registerUnitOperationLog(UnitOperationRecord opRec,
boolean append,
Locale locale)
throws WTException
- Throws:
WTException
addLogToUnitOperationRecord
public static void addLogToUnitOperationRecord(UnitOperationRecord opRec)
throws WTException
- Throws:
WTException
unregisterUnitOperationLog
public static void unregisterUnitOperationLog()
throws WTException
- Throws:
WTException
writeLogMessage
public static void writeLogMessage(String resourceBundle,
String messageKey,
Object[] textInserts)
throws WTException
- Throws:
WTException
getlogFilePath
private static String getlogFilePath(UnitOperationRecord opRec)
throws WTException
- Throws:
WTException
getLogFileName
private static String getLogFileName(UnitOperationRecord opRec)
throws WTException
- Throws:
WTException