java.lang.Objectcom.ibm.commerce.ras.LogConfiguration
Stores the configuration data for WCS Logging Service. The WCS Logging Service retrieve all the configuration data from an unique instance of LogConfiguration class.
Nested Class Summary | |
static class | LogConfiguration.Parameters Defines the parameters used for WCS Logging Service configuration |
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
protected | LogConfiguration() Constructor for LogConfiguration . |
Method Summary | |
void | disableLoadingXMLNode() Disables loading the XML node |
protected void | enableLoadingXMLNode() Enables loading the XML node |
AS400 | getAs400() Returns the as400 object. |
org.w3c.dom.Node | getConfigNode() Returns the configuration node return configuration node |
boolean | getJrasEnabled() Gets the jrasEnabled. |
java.util.Vector | getProperties(java.lang.String propertyKey) Returns Vector of properties based on the specified key |
static LogConfiguration | getUniqueInstance() Gets an unqiue instance of LogConfiguration. |
void | initialize(java.lang.String xmlConfigFileName) Initializes the log configuration. |
void | initialize(java.lang.String xmlConfigFileName, AS400 as400) Initializes the log configuration. |
void | initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName, boolean jras) Initializes the log configuration by parsing the xml |
static void | main(java.lang.String[] args) Runs a testing. |
void | messageEnable(boolean enable) Loads the status of message logging. |
void | setAs400(AS400 as400) Sets the as400 object. |
void | setCompactFormat(boolean enableCompact) Sets the compact format of message log. |
void | setConfigNode(org.w3c.dom.Node newConfigNode) Sets the configuration node. |
void | setInstanceName(java.lang.String instanceName) Sets the instance name. |
void | setJrasEnabled(boolean jrasEnabled) Sets the jras enabled status. |
void | setLogFileName(java.lang.String logFileName) Sets the file name of the log file. |
void | setLogFileSize(long MBsize) Sets the file size of the Log file |
void | setLogSeverity(java.util.Vector severities) Sets the message logging severities. |
void | setNotificationEnable(boolean enableNotification) Sets the status of error notification. |
void | setTraceComponents(java.util.Vector components) Sets the status of tracing components. |
void | setTraceFileName(java.lang.String logFileName) Sets the file name of the Trace file. |
void | setTraceFileSize(long MBsize) Sets the file size of the Trace file. |
void | traceEnable(boolean enable) Sets the status of tracing subsystem. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
protected LogConfiguration()
Method Detail |
public void disableLoadingXMLNode()
protected void enableLoadingXMLNode()
public org.w3c.dom.Node getConfigNode()
public java.util.Vector getProperties(java.lang.String propertyKey)
public static LogConfiguration getUniqueInstance()
public void initialize(java.lang.String xmlConfigFileName)
public void initialize(java.lang.String xmlConfigFileName, AS400 as400)
public void initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName, boolean jras)
public static void main(java.lang.String[] args)
public void messageEnable(boolean enable)
public void setCompactFormat(boolean enableCompact)
public void setConfigNode(org.w3c.dom.Node newConfigNode)
public void setInstanceName(java.lang.String instanceName)
public void setLogFileName(java.lang.String logFileName)
public void setLogFileSize(long MBsize)
public void setLogSeverity(java.util.Vector severities)
public void setNotificationEnable(boolean enableNotification)
public void setTraceComponents(java.util.Vector components)
public void setTraceFileName(java.lang.String logFileName)
public void setTraceFileSize(long MBsize)
public void traceEnable(boolean enable)
public boolean getJrasEnabled()
public void setJrasEnabled(boolean jrasEnabled)
public AS400 getAs400()
public void setAs400(AS400 as400)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.