public class SpringBootPropertySource
extends java.lang.Object
implements org.apache.logging.log4j.util.PropertySource
PropertySource
that disables Log4j2's shutdown hook.Constructor and Description |
---|
SpringBootPropertySource() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperty(java.lang.String key) |
void |
forEach(org.apache.logging.log4j.util.BiConsumer<java.lang.String,java.lang.String> action) |
java.lang.CharSequence |
getNormalForm(java.lang.Iterable<? extends java.lang.CharSequence> tokens) |
int |
getPriority() |
java.lang.String |
getProperty(java.lang.String key) |
public void forEach(org.apache.logging.log4j.util.BiConsumer<java.lang.String,java.lang.String> action)
forEach
in interface org.apache.logging.log4j.util.PropertySource
public java.lang.CharSequence getNormalForm(java.lang.Iterable<? extends java.lang.CharSequence> tokens)
getNormalForm
in interface org.apache.logging.log4j.util.PropertySource
public int getPriority()
getPriority
in interface org.apache.logging.log4j.util.PropertySource
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface org.apache.logging.log4j.util.PropertySource
public boolean containsProperty(java.lang.String key)
containsProperty
in interface org.apache.logging.log4j.util.PropertySource