Uses of Interface
org.apache.logging.log4j.util.PropertySource
Packages that use PropertySource
-
Uses of PropertySource in org.apache.logging.log4j.util
Classes in org.apache.logging.log4j.util that implement PropertySourceModifier and TypeClassDescriptionclassPropertySource implementation that uses environment variables as a source.classPropertySource backed by aPropertiesinstance.classPropertySource backed by a properties file.classPropertySource backed by the current system properties.Fields in org.apache.logging.log4j.util declared as PropertySourceModifier and TypeFieldDescriptionprivate static final PropertySourceEnvironmentPropertySource.INSTANCEprivate static final PropertySourceSystemPropertiesPropertySource.INSTANCEFields in org.apache.logging.log4j.util with type parameters of type PropertySourceModifier and TypeFieldDescriptionprivate final ThreadLocal<PropertySource> PropertiesUtil.Environment.CURRENT_PROPERTY_SOURCEprivate final Set<PropertySource> PropertiesUtil.Environment.sourcesMethods in org.apache.logging.log4j.util that return PropertySourceModifier and TypeMethodDescriptionstatic PropertySourceEnvironmentPropertySource.provider()Method used by Java 9+ to instantiate providersstatic PropertySourceSystemPropertiesPropertySource.provider()Method used by Java 9+ to instantiate providersMethods in org.apache.logging.log4j.util with parameters of type PropertySourceModifier and TypeMethodDescriptionvoidPropertiesUtil.addPropertySource(PropertySource propertySource) Allows aPropertySourceto be added afterPropertiesUtilhas been created.private voidPropertiesUtil.Environment.addPropertySource(PropertySource propertySource) intPropertySource.Comparator.compare(PropertySource o1, PropertySource o2) private voidPropertiesUtil.Environment.removePropertySource(PropertySource propertySource) voidPropertiesUtil.removePropertySource(PropertySource propertySource) Removes aPropertySource.private booleanPropertiesUtil.Environment.sourceContainsProperty(PropertySource source, String key) private StringPropertiesUtil.Environment.sourceGetProperty(PropertySource source, String key) Constructors in org.apache.logging.log4j.util with parameters of type PropertySourceModifierConstructorDescriptionprivateEnvironment(PropertySource propertySource) (package private)PropertiesUtil(PropertySource source) Constructs a PropertiesUtil for a give property source as source of additional properties.