blob: 3607931f9a4db11ce4bd4dc70cb0236284c78df5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_144) on Wed Dec 11 21:08:51 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ConfigurationFactory (Apache Log4j Core 2.13.0 API)</title>
<meta name="date" content="2019-12-11">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ConfigurationFactory (Apache Log4j Core 2.13.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":6,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":6,"i9":10,"i10":10,"i11":10,"i12":9,"i13":9,"i14":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ConfigurationFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationException.html" title="class in org.apache.logging.log4j.core.config"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFileWatcher.html" title="class in org.apache.logging.log4j.core.config"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/logging/log4j/core/config/ConfigurationFactory.html" target="_top">Frames</a></li>
<li><a href="ConfigurationFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.logging.log4j.core.config</div>
<h2 title="Class ConfigurationFactory" class="title">Class ConfigurationFactory</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilderFactory.html" title="class in org.apache.logging.log4j.core.config.builder.api">org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory</a></li>
<li>
<ul class="inheritance">
<li>org.apache.logging.log4j.core.config.ConfigurationFactory</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/logging/log4j/core/config/json/JsonConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config.json">JsonConfigurationFactory</a>, <a href="../../../../../../org/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config.properties">PropertiesConfigurationFactory</a>, <a href="../../../../../../org/apache/logging/log4j/core/config/xml/XmlConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config.xml">XmlConfigurationFactory</a>, <a href="../../../../../../org/apache/logging/log4j/core/config/yaml/YamlConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config.yaml">YamlConfigurationFactory</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.77">ConfigurationFactory</a>
extends <a href="../../../../../../org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilderFactory.html" title="class in org.apache.logging.log4j.core.config.builder.api">ConfigurationBuilderFactory</a></pre>
<div class="block">Factory class for parsed <a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config"><code>Configuration</code></a> objects from a configuration file.
ConfigurationFactory allows the configuration implementation to be
dynamically chosen in 1 of 3 ways:
<ol>
<li>A system property named "log4j.configurationFactory" can be set with the
name of the ConfigurationFactory to be used.</li>
<li>
<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#setConfigurationFactory-org.apache.logging.log4j.core.config.ConfigurationFactory-">setConfigurationFactory(ConfigurationFactory)</a> can be called
with the instance of the ConfigurationFactory to be used. This must be called
before any other calls to Log4j.</li>
<li>
A ConfigurationFactory implementation can be added to the classpath and configured as a plugin in the
<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#CATEGORY"><code>ConfigurationFactory</code></a> category. The <a href="../../../../../../org/apache/logging/log4j/core/config/Order.html" title="annotation in org.apache.logging.log4j.core.config"><code>Order</code></a> annotation should be used to configure the
factory to be the first one inspected. See
<a href="../../../../../../org/apache/logging/log4j/core/config/xml/XmlConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config.xml">XmlConfigurationFactory</a> for an example.</li>
</ol>
If the ConfigurationFactory that was added returns null on a call to
getConfiguration then any other ConfigurationFactories found as plugins will
be called in their respective order. DefaultConfiguration is always called
last if no configuration has been returned.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#AUTHORIZATION_PROVIDER">AUTHORIZATION_PROVIDER</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#CATEGORY">CATEGORY</a></span></code>
<div class="block">Plugin category used to inject a ConfigurationFactory <a href="../../../../../../org/apache/logging/log4j/core/config/plugins/Plugin.html" title="annotation in org.apache.logging.log4j.core.config.plugins"><code>Plugin</code></a>
class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#CONFIGURATION_FACTORY_PROPERTY">CONFIGURATION_FACTORY_PROPERTY</a></span></code>
<div class="block">Allows the ConfigurationFactory class to be specified as a system property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#CONFIGURATION_FILE_PROPERTY">CONFIGURATION_FILE_PROPERTY</a></span></code>
<div class="block">Allows the location of the configuration file to be specified as a system property.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#DEFAULT_PREFIX">DEFAULT_PREFIX</a></span></code>
<div class="block">File name prefix for standard configurations.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#LOG4J1_CONFIGURATION_FILE_PROPERTY">LOG4J1_CONFIGURATION_FILE_PROPERTY</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#LOG4J1_EXPERIMENTAL">LOG4J1_EXPERIMENTAL</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#LOG4J1_VERSION">LOG4J1_VERSION</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#LOG4J2_VERSION">LOG4J2_VERSION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static org.apache.logging.log4j.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#LOGGER">LOGGER</a></span></code>
<div class="block">Allows subclasses access to the status logger without creating another instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/logging/log4j/core/lookup/StrSubstitutor.html" title="class in org.apache.logging.log4j.core.lookup">StrSubstitutor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#substitutor">substitutor</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#TEST_PREFIX">TEST_PREFIX</a></span></code>
<div class="block">File name prefix for test configurations.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#ConfigurationFactory--">ConfigurationFactory</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/util/AuthorizationProvider.html" title="interface in org.apache.logging.log4j.core.util">AuthorizationProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#authorizationProvider-org.apache.logging.log4j.util.PropertiesUtil-">authorizationProvider</a></span>(org.apache.logging.log4j.util.PropertiesUtil&nbsp;props)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/util/AuthorizationProvider.html" title="interface in org.apache.logging.log4j.core.util">AuthorizationProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getAuthorizationProvider--">getAuthorizationProvider</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config">Configuration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getConfiguration-org.apache.logging.log4j.core.LoggerContext-org.apache.logging.log4j.core.config.ConfigurationSource-">getConfiguration</a></span>(<a href="../../../../../../org/apache/logging/log4j/core/LoggerContext.html" title="class in org.apache.logging.log4j.core">LoggerContext</a>&nbsp;loggerContext,
<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationSource.html" title="class in org.apache.logging.log4j.core.config">ConfigurationSource</a>&nbsp;source)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config">Configuration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getConfiguration-org.apache.logging.log4j.core.LoggerContext-java.lang.String-java.net.URI-">getConfiguration</a></span>(<a href="../../../../../../org/apache/logging/log4j/core/LoggerContext.html" title="class in org.apache.logging.log4j.core">LoggerContext</a>&nbsp;loggerContext,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation)</code>
<div class="block">Returns the Configuration.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config">Configuration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getConfiguration-org.apache.logging.log4j.core.LoggerContext-java.lang.String-java.net.URI-java.lang.ClassLoader-">getConfiguration</a></span>(<a href="../../../../../../org/apache/logging/log4j/core/LoggerContext.html" title="class in org.apache.logging.log4j.core">LoggerContext</a>&nbsp;loggerContext,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader)</code>
<div class="block">Returns the Configuration obtained using a given ClassLoader.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getDefaultPrefix--">getDefaultPrefix</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationSource.html" title="class in org.apache.logging.log4j.core.config">ConfigurationSource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getInputFromString-java.lang.String-java.lang.ClassLoader-">getInputFromString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader)</code>
<div class="block">Loads the configuration from the location represented by the String.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config">ConfigurationFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getInstance--">getInstance</a></span>()</code>
<div class="block">Returns the ConfigurationFactory.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getSupportedTypes--">getSupportedTypes</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getTestPrefix--">getTestPrefix</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#getVersion--">getVersion</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#isActive--">isActive</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#removeConfigurationFactory-org.apache.logging.log4j.core.config.ConfigurationFactory-">removeConfigurationFactory</a></span>(<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config">ConfigurationFactory</a>&nbsp;factory)</code>
<div class="block">Removes the ConfigurationFactory.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#resetConfigurationFactory--">resetConfigurationFactory</a></span>()</code>
<div class="block">Resets the ConfigurationFactory to the default.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html#setConfigurationFactory-org.apache.logging.log4j.core.config.ConfigurationFactory-">setConfigurationFactory</a></span>(<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config">ConfigurationFactory</a>&nbsp;factory)</code>
<div class="block">Sets the configuration factory.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.logging.log4j.core.config.builder.api.<a href="../../../../../../org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilderFactory.html" title="class in org.apache.logging.log4j.core.config.builder.api">ConfigurationBuilderFactory</a></h3>
<code><a href="../../../../../../org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilderFactory.html#newConfigurationBuilder--">newConfigurationBuilder</a>, <a href="../../../../../../org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilderFactory.html#newConfigurationBuilder-java.lang.Class-">newConfigurationBuilder</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CONFIGURATION_FACTORY_PROPERTY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONFIGURATION_FACTORY_PROPERTY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.87">CONFIGURATION_FACTORY_PROPERTY</a></pre>
<div class="block">Allows the ConfigurationFactory class to be specified as a system property.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.CONFIGURATION_FACTORY_PROPERTY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CONFIGURATION_FILE_PROPERTY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONFIGURATION_FILE_PROPERTY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.92">CONFIGURATION_FILE_PROPERTY</a></pre>
<div class="block">Allows the location of the configuration file to be specified as a system property.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.CONFIGURATION_FILE_PROPERTY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LOG4J1_CONFIGURATION_FILE_PROPERTY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG4J1_CONFIGURATION_FILE_PROPERTY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.94">LOG4J1_CONFIGURATION_FILE_PROPERTY</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.LOG4J1_CONFIGURATION_FILE_PROPERTY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LOG4J1_EXPERIMENTAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG4J1_EXPERIMENTAL</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.96">LOG4J1_EXPERIMENTAL</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.LOG4J1_EXPERIMENTAL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="AUTHORIZATION_PROVIDER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AUTHORIZATION_PROVIDER</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.98">AUTHORIZATION_PROVIDER</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.AUTHORIZATION_PROVIDER">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CATEGORY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CATEGORY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.106">CATEGORY</a></pre>
<div class="block">Plugin category used to inject a ConfigurationFactory <a href="../../../../../../org/apache/logging/log4j/core/config/plugins/Plugin.html" title="annotation in org.apache.logging.log4j.core.config.plugins"><code>Plugin</code></a>
class.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.CATEGORY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LOGGER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOGGER</h4>
<pre>protected static final&nbsp;org.apache.logging.log4j.Logger <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.111">LOGGER</a></pre>
<div class="block">Allows subclasses access to the status logger without creating another instance.</div>
</li>
</ul>
<a name="TEST_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TEST_PREFIX</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.116">TEST_PREFIX</a></pre>
<div class="block">File name prefix for test configurations.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.TEST_PREFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_PREFIX</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.121">DEFAULT_PREFIX</a></pre>
<div class="block">File name prefix for standard configurations.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.DEFAULT_PREFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LOG4J1_VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG4J1_VERSION</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.123">LOG4J1_VERSION</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.LOG4J1_VERSION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LOG4J2_VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG4J2_VERSION</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.124">LOG4J2_VERSION</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.logging.log4j.core.config.ConfigurationFactory.LOG4J2_VERSION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="substitutor">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>substitutor</h4>
<pre>protected final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/lookup/StrSubstitutor.html" title="class in org.apache.logging.log4j.core.lookup">StrSubstitutor</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.140">substitutor</a></pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ConfigurationFactory--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ConfigurationFactory</h4>
<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.79">ConfigurationFactory</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getInstance--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstance</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config">ConfigurationFactory</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.153">getInstance</a>()</pre>
<div class="block">Returns the ConfigurationFactory.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ConfigurationFactory.</dd>
</dl>
</li>
</ul>
<a name="authorizationProvider-org.apache.logging.log4j.util.PropertiesUtil-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>authorizationProvider</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/util/AuthorizationProvider.html" title="interface in org.apache.logging.log4j.core.util">AuthorizationProvider</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.195">authorizationProvider</a>(org.apache.logging.log4j.util.PropertiesUtil&nbsp;props)</pre>
</li>
</ul>
<a name="getAuthorizationProvider--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthorizationProvider</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/util/AuthorizationProvider.html" title="interface in org.apache.logging.log4j.core.util">AuthorizationProvider</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.216">getAuthorizationProvider</a>()</pre>
</li>
</ul>
<a name="setConfigurationFactory-org.apache.logging.log4j.core.config.ConfigurationFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConfigurationFactory</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.241">setConfigurationFactory</a>(<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config">ConfigurationFactory</a>&nbsp;factory)</pre>
<div class="block">Sets the configuration factory. This method is not intended for general use and may not be thread safe.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>factory</code> - the ConfigurationFactory.</dd>
</dl>
</li>
</ul>
<a name="resetConfigurationFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetConfigurationFactory</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.249">resetConfigurationFactory</a>()</pre>
<div class="block">Resets the ConfigurationFactory to the default. This method is not intended for general use and may
not be thread safe.</div>
</li>
</ul>
<a name="removeConfigurationFactory-org.apache.logging.log4j.core.config.ConfigurationFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeConfigurationFactory</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.257">removeConfigurationFactory</a>(<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFactory.html" title="class in org.apache.logging.log4j.core.config">ConfigurationFactory</a>&nbsp;factory)</pre>
<div class="block">Removes the ConfigurationFactory. This method is not intended for general use and may not be thread safe.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>factory</code> - The factory to remove.</dd>
</dl>
</li>
</ul>
<a name="getSupportedTypes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSupportedTypes</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.263">getSupportedTypes</a>()</pre>
</li>
</ul>
<a name="getTestPrefix--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTestPrefix</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.265">getTestPrefix</a>()</pre>
</li>
</ul>
<a name="getDefaultPrefix--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultPrefix</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.269">getDefaultPrefix</a>()</pre>
</li>
</ul>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.273">getVersion</a>()</pre>
</li>
</ul>
<a name="isActive--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isActive</h4>
<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.277">isActive</a>()</pre>
</li>
</ul>
<a name="getConfiguration-org.apache.logging.log4j.core.LoggerContext-org.apache.logging.log4j.core.config.ConfigurationSource-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre>public abstract&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config">Configuration</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.281">getConfiguration</a>(<a href="../../../../../../org/apache/logging/log4j/core/LoggerContext.html" title="class in org.apache.logging.log4j.core">LoggerContext</a>&nbsp;loggerContext,
<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationSource.html" title="class in org.apache.logging.log4j.core.config">ConfigurationSource</a>&nbsp;source)</pre>
</li>
</ul>
<a name="getConfiguration-org.apache.logging.log4j.core.LoggerContext-java.lang.String-java.net.URI-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config">Configuration</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.290">getConfiguration</a>(<a href="../../../../../../org/apache/logging/log4j/core/LoggerContext.html" title="class in org.apache.logging.log4j.core">LoggerContext</a>&nbsp;loggerContext,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation)</pre>
<div class="block">Returns the Configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loggerContext</code> - The logger context</dd>
<dd><code>name</code> - The configuration name.</dd>
<dd><code>configLocation</code> - The configuration location.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Configuration.</dd>
</dl>
</li>
</ul>
<a name="getConfiguration-org.apache.logging.log4j.core.LoggerContext-java.lang.String-java.net.URI-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/config/Configuration.html" title="interface in org.apache.logging.log4j.core.config">Configuration</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.313">getConfiguration</a>(<a href="../../../../../../org/apache/logging/log4j/core/LoggerContext.html" title="class in org.apache.logging.log4j.core">LoggerContext</a>&nbsp;loggerContext,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;configLocation,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader)</pre>
<div class="block">Returns the Configuration obtained using a given ClassLoader.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loggerContext</code> - The logger context</dd>
<dd><code>name</code> - The configuration name.</dd>
<dd><code>configLocation</code> - A URI representing the location of the configuration.</dd>
<dd><code>loader</code> - The default ClassLoader to use. If this is <code>null</code>, then the
default ClassLoader will be used.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Configuration.</dd>
</dl>
</li>
</ul>
<a name="getInputFromString-java.lang.String-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getInputFromString</h4>
<pre>protected&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationSource.html" title="class in org.apache.logging.log4j.core.config">ConfigurationSource</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/config/ConfigurationFactory.html#line.351">getInputFromString</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader)</pre>
<div class="block">Loads the configuration from the location represented by the String.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>config</code> - The configuration location.</dd>
<dd><code>loader</code> - The default ClassLoader to use.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The InputSource to use to read the configuration.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ConfigurationFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationException.html" title="class in org.apache.logging.log4j.core.config"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/logging/log4j/core/config/ConfigurationFileWatcher.html" title="class in org.apache.logging.log4j.core.config"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/logging/log4j/core/config/ConfigurationFactory.html" target="_top">Frames</a></li>
<li><a href="ConfigurationFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><p align="center">Copyright &#169; 1999-2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.<br /> Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></small></p>
</body>
</html>