Class GenericXMLConfigurator

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.GenericXMLConfigurator
All Implemented Interfaces:
ContextAware
Direct Known Subclasses:
JoranConfiguratorBase

public abstract class GenericXMLConfigurator extends ContextAwareBase
  • Field Details

  • Constructor Details

    • GenericXMLConfigurator

      public GenericXMLConfigurator()
  • Method Details

    • getModelInterpretationContext

      public ModelInterpretationContext getModelInterpretationContext()
    • doConfigure

      public final void doConfigure(URL url) throws JoranException
      Throws:
      JoranException
    • doConfigure

      public final void doConfigure(String filename) throws JoranException
      Throws:
      JoranException
    • doConfigure

      public final void doConfigure(File file) throws JoranException
      Throws:
      JoranException
    • informContextOfURLUsedForConfiguration

      public static void informContextOfURLUsedForConfiguration(Context context, URL url)
    • doConfigure

      public final void doConfigure(InputStream inputStream) throws JoranException
      Throws:
      JoranException
    • doConfigure

      public final void doConfigure(InputStream inputStream, String systemId) throws JoranException
      Throws:
      JoranException
    • addElementSelectorAndActionAssociations

      protected abstract void addElementSelectorAndActionAssociations(RuleStore rs)
    • setImplicitRuleSupplier

      protected abstract void setImplicitRuleSupplier(SaxEventInterpreter interpreter)
    • addDefaultNestedComponentRegistryRules

      protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
    • initialElementPath

      protected ElementPath initialElementPath()
    • buildSaxEventInterpreter

      protected void buildSaxEventInterpreter(List<SaxEvent> saxEvents)
    • buildModelInterpretationContext

      protected void buildModelInterpretationContext()
    • doConfigure

      public final void doConfigure(InputSource inputSource) throws JoranException
      Throws:
      JoranException
    • populateSaxEventRecorder

      public SaxEventRecorder populateSaxEventRecorder(InputSource inputSource) throws JoranException
      Throws:
      JoranException
    • buildModelFromSaxEventList

      public Model buildModelFromSaxEventList(List<SaxEvent> saxEvents) throws JoranException
      Throws:
      JoranException
    • processModel

      public void processModel(Model model)
    • sanityCheck

      protected void sanityCheck(Model topModel)
      Perform sanity check and issue warning if necessary. Default implementation does nothing.
      Parameters:
      topModel -
      Since:
      1.3.2 and 1.4.2
    • addModelHandlerAssociations

      protected void addModelHandlerAssociations(DefaultProcessor defaultProcessor)
    • registerSafeConfiguration

      public void registerSafeConfiguration(Model top)
      Register the current event list in currently in the interpreter as a safe configuration point.
      Since:
      0.9.30
    • recallSafeConfiguration

      public Model recallSafeConfiguration()
      Recall the event list previously registered as a safe point.