|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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.
Inner Class Summary | |
static class |
LogConfiguration.Parameters
Defines the parameters used for WCS Logging Service configuration |
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
protected |
LogConfiguration()
LogConfiguration constructor comment. |
Method Summary | |
void |
disableLoadingXMLNode()
Disable loading the XML node |
protected void |
enableLoadingXMLNode()
Enable loading the XML node |
org.w3c.dom.Node |
getConfigNode()
Returns the configuration node |
java.util.Vector |
getProperties(java.lang.String propertyKey)
Returns Vector of properties based on the specified key |
static LogConfiguration |
getUniqueInstance()
This method returns an unqiue instance of LogConfiguration. |
void |
initialize(java.lang.String xmlConfigFileName)
Initialize the log configuration |
void |
initialize(java.lang.String xmlConfigFileName,
java.lang.String instanceName)
Initialize the log configuration by parsing the xml |
static void |
main(java.lang.String[] args)
This method runs a testing. |
void |
messageEnable(boolean enable)
Load the status of Message Log |
void |
setCompactFormat(boolean enableCompact)
This method set the compact format of message log. |
void |
setConfigNode(org.w3c.dom.Node newConfigNode)
This method sets the configuration node |
void |
setInstanceName(java.lang.String instanceName)
This method sets the instance name |
void |
setLogFileName(java.lang.String logFileName)
This method sets the file name of the Log file |
void |
setLogFileSize(long MBsize)
This method sets the file size of the Log file |
void |
setLogSeverity(java.util.Vector severities)
This method sets the log severities |
void |
setNotificationEnable(boolean enableNotification)
This method sets the status of error notification |
void |
setTraceComponents(java.util.Vector components)
This method sets the status of tracing components |
void |
setTraceFileName(java.lang.String logFileName)
This method sets the file name of the Trace file |
void |
setTraceFileSize(long MBsize)
This method sets the file size of the Trace file |
void |
traceEnable(boolean enable)
This method sets the status of Tracing |
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)
propertyKey
- Stringpublic static LogConfiguration getUniqueInstance()
public void initialize(java.lang.String xmlConfigFileName)
xmlConfigFileName
- Stringpublic void initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName)
xmlConfigFileName
- StringinstanceName
- Stringpublic static void main(java.lang.String[] args)
public void messageEnable(boolean enable)
enable
- booleanpublic void setCompactFormat(boolean enableCompact)
enableCompact
- booleanpublic void setConfigNode(org.w3c.dom.Node newConfigNode)
newConfigNode
- Nodepublic void setInstanceName(java.lang.String instanceName)
instanceName
- Stringpublic void setLogFileName(java.lang.String logFileName)
logFileName
- Stringpublic void setLogFileSize(long MBsize)
size
- longpublic void setLogSeverity(java.util.Vector severities)
severities
- Vectorpublic void setNotificationEnable(boolean enableNotification)
enableNotification
- booleanpublic void setTraceComponents(java.util.Vector components)
components
- Vectorpublic void setTraceFileName(java.lang.String logFileName)
fileName
- Stringpublic void setTraceFileSize(long MBsize)
size
- longpublic void traceEnable(boolean enable)
enable
- boolean
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |