|
JBoss Log Manager 1.4.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logmanager.PropertyConfigurator
public final class PropertyConfigurator
A configurator which uses a simple property file format.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.logmanager.Configurator |
|---|
ATTACHMENT_KEY |
| Constructor Summary | |
|---|---|
PropertyConfigurator()
Construct an instance. |
|
PropertyConfigurator(LogContext context)
Construct a new instance. |
|
| Method Summary | |
|---|---|
void |
configure(InputStream inputStream)
Configure the logmanager. |
void |
configure(Properties properties)
Configure the log manager from the given properties. |
LogContextConfiguration |
getLogContextConfiguration()
Get the log context configuration. |
void |
writeConfiguration(OutputStream outputStream)
Writes the current configuration to the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyConfigurator()
public PropertyConfigurator(LogContext context)
context - the log context to be configured| Method Detail |
|---|
public LogContextConfiguration getLogContextConfiguration()
writeConfiguration(java.io.OutputStream)
method also accesses this object directly.
public void configure(InputStream inputStream)
throws IOException
configure in interface ConfiguratorinputStream - the input stream to read
IOException - if an error occurs
public void writeConfiguration(OutputStream outputStream)
throws IOException
outputStream - the output stream to write to.
IOException - if an error occurs while writing the configuration.
public void configure(Properties properties)
throws IOException
properties - the properties
IOException - if an error occurs
|
JBoss Log Manager 1.4.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||