Top Description Fields Methods
org.jboss.logmanager

public Interface LogContextConfigurator

Known Direct Implementers
org.jboss.logmanager.configuration.PropertyLogContextConfigurator
Imports
java.io.InputStream

A configurator for a log context. A log context configurator should set up all the log categories, handlers, formatters, filters, attachments, and other constructs as specified by the configuration.

Field Summary

Modifier and TypeField and Description
public static final LogContextConfigurator
EMPTY

A constant representing an empty configuration.

Method Summary

Modifier and TypeMethod and Description
public void
configure(LogContext
the log context to configure (not null)
logContext
,
InputStream
the input stream that was requested to be used, or null if none was provided
inputStream
)

Configure the given log context according to this configurator's policy.

Field Detail

EMPTYback to summary
public static final LogContextConfigurator EMPTY

A constant representing an empty configuration. The configurator does nothing.

Method Detail

configureback to summary
public void configure(LogContext logContext, InputStream inputStream)

Configure the given log context according to this configurator's policy. If a configuration stream was provided, that is passed in to this method to be used or ignored. The stream should remain open after this method is called.

Parameters
logContext:LogContext

the log context to configure (not null)

inputStream:InputStream

the input stream that was requested to be used, or null if none was provided