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,SiftingJoranConfiguratorBase
public abstract class GenericConfigurator extends ContextAwareBase
-
-
Constructor Summary
Constructors Constructor Description GenericConfigurator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoConfigure(File file)voiddoConfigure(InputStream inputStream)voiddoConfigure(InputStream inputStream, String systemId)voiddoConfigure(String filename)voiddoConfigure(URL url)voiddoConfigure(List<SaxEvent> eventList)voiddoConfigure(InputSource inputSource)static voidinformContextOfURLUsedForConfiguration(Context context, URL url)List<SaxEvent>recallSafeConfiguration()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, getStatusManager, setContext
-
-
-
-
Method Detail
-
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
-
doConfigure
public final void doConfigure(InputSource inputSource) throws JoranException
- Throws:
JoranException
-
doConfigure
public void doConfigure(List<SaxEvent> eventList) throws JoranException
- Throws:
JoranException
-
registerSafeConfiguration
public void registerSafeConfiguration(List<SaxEvent> eventList)
Register the current event list in currently in the interpreter as a safe configuration point.- Since:
- 0.9.30
-
-