Top Fields Constructors Methods
ch.qos.logback.classic.util

public Class DefaultJoranConfigurator

extends ContextAwareBase
implements Configurator
Class Inheritance
All Implemented Interfaces
ch.qos.logback.classic.spi.Configurator, ch.qos.logback.core.spi.ContextAware
Annotations
@ConfiguratorRank:0
Imports
ch.qos.logback.classic.ClassicConstants, .LoggerContext, ch.qos.logback.classic.joran.JoranConfigurator, ch.qos.logback.classic.spi.ConfiguratorRank, .Configurator, ch.qos.logback.core.Context, .LogbackException, ch.qos.logback.core.joran.spi.JoranException, ch.qos.logback.core.spi.ContextAwareBase, ch.qos.logback.core.status.InfoStatus, .StatusManager, ch.qos.logback.core.util.Loader, .OptionHelper, java.io.File, .IOException, java.net.MalformedURLException, .URL, java.util.Set

Since
1.3.0-beta1

Field Summary

Inherited from ch.qos.logback.core.spi.ContextAwareBase:
context

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Configurator.ExecutionStatus
configure(LoggerContext context)

Implements ch.qos.logback.classic.spi.Configurator.configure.

Implementations of this method may expect that the LoggerContext is set with ContextAware#setContext before this method is invoked.
public void
private URL
findConfigFileURLFromSystemProperties(ClassLoader classLoader, boolean updateStatus)

public URL
findURLOfDefaultConfigurationFile(boolean updateStatus)

Deprecated with no replacement
Perform multi-search for configuration file
private URL
getResource(String filename, ClassLoader myClassLoader, boolean updateStatus)

private void
multiplicityWarning(String resourceName, ClassLoader classLoader)

private URL
private void
statusOnResourceSearch(String resourceName, ClassLoader classLoader, URL url)

Inherited from ch.qos.logback.core.spi.ContextAwareBase:
addErroraddErroraddInfoaddInfoaddStatusaddWarnaddWarngetContextgetDeclaredOrigingetStatusManagersetContext

Constructor Detail

DefaultJoranConfiguratorback to summary
public DefaultJoranConfigurator()

Method Detail

configureback to summary
public Configurator.ExecutionStatus configure(LoggerContext context)

Implements ch.qos.logback.classic.spi.Configurator.configure.

Doc from ch.qos.logback.classic.spi.Configurator.configure.

Implementations of this method may expect that the LoggerContext is set with ContextAware#setContext before this method is invoked.

Annotations
@Override
configureByResourceback to summary
public void configureByResource(URL url) throws JoranException
findConfigFileURLFromSystemPropertiesback to summary
private URL findConfigFileURLFromSystemProperties(ClassLoader classLoader, boolean updateStatus)
findURLOfDefaultConfigurationFileback to summary
public URL findURLOfDefaultConfigurationFile(boolean updateStatus)

Deprecated

with no replacement

Perform multi-search for configuration file

getResourceback to summary
private URL getResource(String filename, ClassLoader myClassLoader, boolean updateStatus)
multiplicityWarningback to summary
private void multiplicityWarning(String resourceName, ClassLoader classLoader)
performMultiStepConfigurationFileSearchback to summary
private URL performMultiStepConfigurationFileSearch(boolean updateStatus)
statusOnResourceSearchback to summary
private void statusOnResourceSearch(String resourceName, ClassLoader classLoader, URL url)