|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.logging.log4j.LoggingPropertyDetail
Hold properties related to the configuration of Log4j. If you happen to be
using the default configuration support, a system property of
com.objectwave.logging.log4j.LoggingPropertyDetail.useDefault=false will
result in properties being used for the configuration of log4j.
com.objectwave.logging.log4j.LoggingPropertyDetail.logFileName=fileName will
load the log4j configuration from the specified property file.
Nested Class Summary | |
static class |
LoggingPropertyDetail.Test
|
Constructor Summary | |
LoggingPropertyDetail()
Constructor for the LoggingPropertyDetail object |
Method Summary | |
java.lang.String |
getFileName()
Get the value of the FileName property |
java.util.Properties |
getProperties()
There is no 'set' method for the properties object since the configuration service can't set this value. |
java.lang.String |
getThresholdList()
Get the Logging threshold configuration |
void |
initialize()
|
boolean |
isInitializingLog4j()
Gets the InitializingLog4j attribute of the LoggingPropertyDetail object |
boolean |
isUsingDefault()
Gets the UsingDefault attribute of the LoggingPropertyDetail object |
void |
setFileName(java.lang.String file)
|
void |
setInitializingLog4j(boolean b)
Log4j may be initialized by a process other than our MessageLog implementation. |
void |
setThresholdList(java.lang.String list)
Set the priority thresholds for the specified categories. |
void |
setUseDefault(boolean b)
Must implement this method so that the configuration service will set value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoggingPropertyDetail()
Method Detail |
public void setUseDefault(boolean b)
b
- The new UseDefault valuepublic void setInitializingLog4j(boolean b)
b
- The new InitializingLog4j valuepublic void setThresholdList(java.lang.String list)
list
- A common seperated list of category priority thresholds.public void setFileName(java.lang.String file) throws java.io.IOException
file
- The new FileName value
java.io.IOException
public java.lang.String getFileName()
public java.lang.String getThresholdList()
public boolean isUsingDefault()
public boolean isInitializingLog4j()
public java.util.Properties getProperties()
public void initialize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |