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,SimpleConfigurator
public abstract class GenericConfigurator extends ContextAwareBase
-
-
Field Summary
Fields Modifier and Type Field Description private BeanDescriptionCachebeanDescriptionCacheprotected Interpreterinterpreter-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description GenericConfigurator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)protected abstract voidaddImplicitRules(Interpreter interpreter)protected abstract voidaddInstanceRules(RuleStore rs)protected voidbuildInterpreter()voiddoConfigure(java.io.File file)voiddoConfigure(java.io.InputStream inputStream)voiddoConfigure(java.io.InputStream inputStream, java.lang.String systemId)voiddoConfigure(java.lang.String filename)voiddoConfigure(java.net.URL url)voiddoConfigure(java.util.List<SaxEvent> eventList)voiddoConfigure(org.xml.sax.InputSource inputSource)protected BeanDescriptionCachegetBeanDescriptionCache()static voidinformContextOfURLUsedForConfiguration(Context context, java.net.URL url)protected ElementPathinitialElementPath()java.util.List<SaxEvent>recallSafeConfiguration()Recall the event list previously registered as a safe point.voidregisterSafeConfiguration(java.util.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 Detail
-
beanDescriptionCache
private BeanDescriptionCache beanDescriptionCache
-
interpreter
protected Interpreter interpreter
-
-
Method Detail
-
doConfigure
public final void doConfigure(java.net.URL url) throws JoranException- Throws:
JoranException
-
doConfigure
public final void doConfigure(java.lang.String filename) throws JoranException- Throws:
JoranException
-
doConfigure
public final void doConfigure(java.io.File file) throws JoranException- Throws:
JoranException
-
informContextOfURLUsedForConfiguration
public static void informContextOfURLUsedForConfiguration(Context context, java.net.URL url)
-
doConfigure
public final void doConfigure(java.io.InputStream inputStream) throws JoranException- Throws:
JoranException
-
doConfigure
public final void doConfigure(java.io.InputStream inputStream, java.lang.String systemId) throws JoranException- Throws:
JoranException
-
getBeanDescriptionCache
protected BeanDescriptionCache getBeanDescriptionCache()
-
addInstanceRules
protected abstract void addInstanceRules(RuleStore rs)
-
addImplicitRules
protected abstract void addImplicitRules(Interpreter interpreter)
-
addDefaultNestedComponentRegistryRules
protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
-
initialElementPath
protected ElementPath initialElementPath()
-
buildInterpreter
protected void buildInterpreter()
-
doConfigure
public final void doConfigure(org.xml.sax.InputSource inputSource) throws JoranException- Throws:
JoranException
-
doConfigure
public void doConfigure(java.util.List<SaxEvent> eventList) throws JoranException
- Throws:
JoranException
-
registerSafeConfiguration
public void registerSafeConfiguration(java.util.List<SaxEvent> eventList)
Register the current event list in currently in the interpreter as a safe configuration point.- Since:
- 0.9.30
-
recallSafeConfiguration
public java.util.List<SaxEvent> recallSafeConfiguration()
Recall the event list previously registered as a safe point.
-
-