Top Fields Constructors Methods
ch.qos.logback.core.joran

public abstract Class GenericXMLConfigurator

extends ContextAwareBase
Class Inheritance
Known Direct Subclasses
ch.qos.logback.core.joran.JoranConfiguratorBase
Static Imports
ch.qos.logback.core.CoreConstants.SAFE_JORAN_CONFIGURATION, ch.qos.logback.core.spi.ConfigurationEvent.newConfigurationEndedEvent, .ConfigurationEvent.newConfigurationStartedEvent

Field Summary

Modifier and TypeField and Description
protected ModelInterpretationContext
protected SaxEventInterpreter
Inherited from ch.qos.logback.core.spi.ContextAwareBase:
context

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected abstract void
protected void
public Model
protected void
protected void
public final void
public final void
doConfigure(String filename)

public final void
public final void
doConfigure(InputStream inputStream)

public final void
doConfigure(InputStream inputStream, String systemId)

public final void
doConfigure(final InputSource inputSource)

public ModelInterpretationContext
public static void
protected ElementPath
private void
public SaxEventRecorder
public void
public Model
recallSafeConfiguration()

Recall the event list previously registered as a safe point.

public void
registerSafeConfiguration(Model top)

Register the current event list in currently in the interpreter as a safe configuration point.

protected void
sanityCheck(Model topModel)

Perform sanity check and issue warning if necessary.

protected abstract void
Inherited from ch.qos.logback.core.spi.ContextAwareBase:
addErroraddErroraddInfoaddInfoaddStatusaddWarnaddWarngetContextgetDeclaredOrigingetStatusManagersetContext

Field Detail

modelInterpretationContextback to summary
protected ModelInterpretationContext modelInterpretationContext
saxEventInterpreterback to summary
protected SaxEventInterpreter saxEventInterpreter

Constructor Detail

GenericXMLConfiguratorback to summary
public GenericXMLConfigurator()

Method Detail

addDefaultNestedComponentRegistryRulesback to summary
protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
addElementSelectorAndActionAssociationsback to summary
protected abstract void addElementSelectorAndActionAssociations(RuleStore rs)
addModelHandlerAssociationsback to summary
protected void addModelHandlerAssociations(DefaultProcessor defaultProcessor)
buildModelFromSaxEventListback to summary
public Model buildModelFromSaxEventList(List<SaxEvent> saxEvents) throws JoranException
buildModelInterpretationContextback to summary
protected void buildModelInterpretationContext()
buildSaxEventInterpreterback to summary
protected void buildSaxEventInterpreter(List<SaxEvent> saxEvents)
doConfigureback to summary
public final void doConfigure(URL url) throws JoranException
doConfigureback to summary
public final void doConfigure(String filename) throws JoranException
doConfigureback to summary
public final void doConfigure(File file) throws JoranException
doConfigureback to summary
public final void doConfigure(InputStream inputStream) throws JoranException
doConfigureback to summary
public final void doConfigure(InputStream inputStream, String systemId) throws JoranException
doConfigureback to summary
public final void doConfigure(final InputSource inputSource) throws JoranException
getModelInterpretationContextback to summary
public ModelInterpretationContext getModelInterpretationContext()
informContextOfURLUsedForConfigurationback to summary
public static void informContextOfURLUsedForConfiguration(Context context, URL url)
initialElementPathback to summary
protected ElementPath initialElementPath()
playSaxEventsback to summary
private void playSaxEvents() throws JoranException
populateSaxEventRecorderback to summary
public SaxEventRecorder populateSaxEventRecorder(final InputSource inputSource) throws JoranException
processModelback to summary
public void processModel(Model model)
recallSafeConfigurationback to summary
public Model recallSafeConfiguration()

Recall the event list previously registered as a safe point.

registerSafeConfigurationback to summary
public void registerSafeConfiguration(Model top)

Register the current event list in currently in the interpreter as a safe configuration point.

Since
0.9.30
sanityCheckback to summary
protected void sanityCheck(Model topModel)

Perform sanity check and issue warning if necessary. Default implementation does nothing.

Since
1.3.2 and 1.4.2
setImplicitRuleSupplierback to summary
protected abstract void setImplicitRuleSupplier(SaxEventInterpreter interpreter)