Package ch.qos.logback.core.joran
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ModelInterpretationContextprotected SaxEventInterpreterFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract voidaddImplicitRules(SaxEventInterpreter interpreter) protected abstract voidprotected DefaultProcessorbuildDefaultProcessor(Context context, ModelInterpretationContext mic) buildModelFromSaxEventList(List<SaxEvent> saxEvents) protected voidprotected voidfinal voiddoConfigure(File file) final voiddoConfigure(InputStream inputStream) final voiddoConfigure(InputStream inputStream, String systemId) final voiddoConfigure(String filename) final voiddoConfigure(URL url) final voiddoConfigure(InputSource inputSource) static voidinformContextOfURLUsedForConfiguration(Context context, URL url) protected ElementPathpopulateSaxEventRecorder(InputSource inputSource) voidprocessModel(Model model) Recall the event list previously registered as a safe point.voidRegister the current event list in currently in the interpreter as a safe configuration point.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
saxEventInterpreter
-
modelInterpretationContext
-
-
Constructor Details
-
GenericXMLConfigurator
public GenericXMLConfigurator()
-
-
Method Details
-
getModelInterpretationContext
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
informContextOfURLUsedForConfiguration
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
addInstanceRules
-
addImplicitRules
-
addDefaultNestedComponentRegistryRules
-
initialElementPath
-
buildSaxEventInterpreter
protected void buildSaxEventInterpreter() -
buildModelInterprtationContext
protected void buildModelInterprtationContext() -
doConfigure
- Throws:
JoranException
-
populateSaxEventRecorder
- Throws:
JoranException
-
buildModelFromSaxEventList
- Throws:
JoranException
-
processModel
-
buildDefaultProcessor
-
registerSafeConfiguration
Register the current event list in currently in the interpreter as a safe configuration point.- Since:
- 0.9.30
-
recallSafeConfiguration
Recall the event list previously registered as a safe point.
-