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
FieldsFields 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, InterpretationContext interpretationContext) 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 ElementPathvoidplayEventsAndProcessModel(List<SaxEvent> saxEvents) protected voidprocessModel(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
-
interpreter
-
-
Constructor Details
-
GenericConfigurator
public GenericConfigurator()
-
-
Method Details
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
informContextOfURLUsedForConfiguration
-
doConfigure
- Throws:
JoranException
-
doConfigure
- Throws:
JoranException
-
addInstanceRules
-
addImplicitRules
-
addDefaultNestedComponentRegistryRules
-
initialElementPath
-
buildInterpreter
protected void buildInterpreter() -
doConfigure
- Throws:
JoranException
-
playEventsAndProcessModel
- Throws:
JoranException
-
processModel
-
buildDefaultProcessor
protected DefaultProcessor buildDefaultProcessor(Context context, InterpretationContext interpretationContext) -
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.
-