Package ch.qos.logback.core.joran
Class GenericConfigurator
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.GenericConfigurator
- 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 voidbuildAndProcessModel(List<SaxEvent> saxEventList) protected DefaultProcessorbuildDefaultProcessor(Context context, ModelInterpretationContext mic) buildModelFromSaxEventList(List<SaxEvent> saxEvents) protected 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 ElementPathvoidprocessModel(Model model) Recall the event list previously registered as a safe point.voidregisterSafeConfiguration(List<SaxEvent> eventList) Register 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
-
GenericConfigurator
public GenericConfigurator()
-
-
Method Details
-
getModelInterpretationContext
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
informContextOfURLUsedForConfiguration
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
addInstanceRules
-
addImplicitRules
-
addDefaultNestedComponentRegistryRules
-
initialElementPath
-
buildTwoInterpreters
protected void buildTwoInterpreters() -
doConfigure
- Throws:
JoranException
-
buildAndProcessModel
- 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.
-