@Plugin(name="Log4j1PropertiesConfigurationFactory", category="ConfigurationFactory") public class PropertiesConfigurationFactory extends ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_PREFIX
File name prefix for standard configurations.
|
protected static java.lang.String |
TEST_PREFIX
File name prefix for test configurations.
|
AUTHORIZATION_PROVIDER, CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, LOG4J1_CONFIGURATION_FILE_PROPERTY, LOG4J1_EXPERIMENTAL, LOG4J1_VERSION, LOG4J2_VERSION, LOGGER, substitutor
Constructor and Description |
---|
PropertiesConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration(LoggerContext loggerContext,
ConfigurationSource source) |
protected java.lang.String |
getDefaultPrefix() |
protected java.lang.String[] |
getSupportedTypes() |
protected java.lang.String |
getTestPrefix() |
protected java.lang.String |
getVersion() |
authorizationProvider, getAuthorizationProvider, getConfiguration, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
newConfigurationBuilder, newConfigurationBuilder
protected static final java.lang.String TEST_PREFIX
protected static final java.lang.String DEFAULT_PREFIX
protected java.lang.String[] getSupportedTypes()
getSupportedTypes
in class ConfigurationFactory
public Configuration getConfiguration(LoggerContext loggerContext, ConfigurationSource source)
getConfiguration
in class ConfigurationFactory
protected java.lang.String getTestPrefix()
getTestPrefix
in class ConfigurationFactory
protected java.lang.String getDefaultPrefix()
getDefaultPrefix
in class ConfigurationFactory
protected java.lang.String getVersion()
getVersion
in class ConfigurationFactory