Class ConfigurationFactory.Factory
java.lang.Object
org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
org.apache.logging.log4j.core.config.ConfigurationFactory
org.apache.logging.log4j.core.config.ConfigurationFactory.Factory
- Enclosing class:
- ConfigurationFactory
Default Factory.
-
Field Summary
FieldsFields inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
AUTHORIZATION_PROVIDER, CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOG4J1_CONFIGURATION_FILE_PROPERTY, LOG4J1_EXPERIMENTAL, LOG4J1_VERSION, LOG4J2_VERSION, LOGGER, substitutor, TEST_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Configuration
getConfiguration
(String requiredVersion, LoggerContext loggerContext, String configLocationStr) private Configuration
getConfiguration
(LoggerContext loggerContext, boolean isTest, String name) private Configuration
getConfiguration
(LoggerContext loggerContext, String configLocationStr) getConfiguration
(LoggerContext loggerContext, String name, URI configLocation) Default Factory Constructor.getConfiguration
(LoggerContext loggerContext, ConfigurationSource source) String[]
private String[]
parseConfigLocations
(String configLocations) private String[]
parseConfigLocations
(URI configLocations) Methods inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
authorizationProvider, extractClassLoaderUriPath, getAuthorizationProvider, getConfiguration, getDefaultPrefix, getFactories, getInputFromString, getInstance, getTestPrefix, getVersion, isActive, isClassLoaderUri, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
Methods inherited from class org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
newConfigurationBuilder, newConfigurationBuilder
-
Field Details
-
ALL_TYPES
- See Also:
-
-
Constructor Details
-
Factory
private Factory()
-
-
Method Details
-
getConfiguration
Default Factory Constructor.- Overrides:
getConfiguration
in classConfigurationFactory
- Parameters:
name
- The configuration name.configLocation
- The configuration location.loggerContext
- The logger context- Returns:
- The Configuration.
-
getConfiguration
-
getConfiguration
private Configuration getConfiguration(String requiredVersion, LoggerContext loggerContext, String configLocationStr) -
getConfiguration
-
getSupportedTypes
- Specified by:
getSupportedTypes
in classConfigurationFactory
-
getConfiguration
- Specified by:
getConfiguration
in classConfigurationFactory
-
parseConfigLocations
-
parseConfigLocations
-