FileDocCategorySizeDatePackage
OptionHandler.javaAPI DocApache log4j 1.2.152146Sat Aug 25 00:09:40 BST 2007org.apache.log4j.spi

OptionHandler

public interface OptionHandler
A string based interface to configure package components.
author
Ceki Gülcü
author
Anders Kristensen
since
0.8.1

Fields Summary
Constructors Summary
Methods Summary
public voidactivateOptions()
Activate the options that were previously set with calls to option setters.

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 {@link org.apache.log4j.FileAppender#setFile File} and {@link org.apache.log4j.FileAppender#setAppend Append} options both of which are ambigous until the other is also set.