ch.qos.logback.core.joran
Class JoranConfiguratorBase

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.joran.GenericConfigurator
          extended by ch.qos.logback.core.joran.JoranConfiguratorBase
All Implemented Interfaces:
ContextAware
Direct Known Subclasses:
JoranConfigurator, JoranConfigurator

public abstract class JoranConfiguratorBase
extends GenericConfigurator

A JoranConfiguratorBase lays most of the groundwork for concrete configurators derived from it. Concrete configurators only need to implement the addInstanceRules(ch.qos.logback.core.joran.spi.RuleStore) method.

A JoranConfiguratorBase instance should not be used more than once to configure a Context.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class ch.qos.logback.core.joran.GenericConfigurator
interpreter
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
JoranConfiguratorBase()
           
 
Method Summary
protected  void addImplicitRules(Interpreter interpreter)
           
protected  void addInstanceRules(RuleStore rs)
           
protected  void buildInterpreter()
           
 java.util.List getErrorList()
           
 InterpretationContext getExecutionContext()
           
 
Methods inherited from class ch.qos.logback.core.joran.GenericConfigurator
addDefaultNestedComponentRegistryRules, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, informContextOfURLUsedForConfiguration, initialPattern
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoranConfiguratorBase

public JoranConfiguratorBase()
Method Detail

getErrorList

public java.util.List getErrorList()

addInstanceRules

protected void addInstanceRules(RuleStore rs)
Specified by:
addInstanceRules in class GenericConfigurator

addImplicitRules

protected void addImplicitRules(Interpreter interpreter)
Specified by:
addImplicitRules in class GenericConfigurator

buildInterpreter

protected void buildInterpreter()
Overrides:
buildInterpreter in class GenericConfigurator

getExecutionContext

public InterpretationContext getExecutionContext()


Copyright © 2005-2010 QOS.ch. All Rights Reserved.