|
Log4j 1.1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A string based interface to configure package components.
Method Summary | |
void |
activateOptions()
Activate the options that were previously set with calls to option setters. |
String[] |
getOptionStrings()
Deprecated. We now use JavaBeans style getters/setters. |
void |
setOption(String option,
String value)
Deprecated. We now use JavaBeans style getters/setters. |
Method Detail |
public void activateOptions()
This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.
For example, the FileAppender has the
File
and
Append
options both of which are
ambigous until the other is also set.
public String[] getOptionStrings()
public void setOption(String option, String value)
option
to value
.
The handling of each option depends on the OptionHandler
instance. Some options may become active immediately whereas
other may be activated only when activateOptions()
is
called.
|
Log4j 1.1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |