org.springframework.boot.logging.log4j2

Class SpringBootPropertySource

  • java.lang.Object
    • org.springframework.boot.logging.log4j2.SpringBootPropertySource
  • All Implemented Interfaces:
    org.apache.logging.log4j.util.PropertySource


    public class SpringBootPropertySource
    extends java.lang.Object
    implements org.apache.logging.log4j.util.PropertySource
    Spring Boot PropertySource that disables Log4j2's shutdown hook.
    Since:
    2.5.2
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.logging.log4j.util.PropertySource

        org.apache.logging.log4j.util.PropertySource.Comparator, org.apache.logging.log4j.util.PropertySource.Util
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringBootPropertySource

        public SpringBootPropertySource()
    • Method Detail

      • forEach

        public void forEach(org.apache.logging.log4j.util.BiConsumer<java.lang.String,java.lang.String> action)
        Specified by:
        forEach in interface org.apache.logging.log4j.util.PropertySource
      • getNormalForm

        public java.lang.CharSequence getNormalForm(java.lang.Iterable<? extends java.lang.CharSequence> tokens)
        Specified by:
        getNormalForm in interface org.apache.logging.log4j.util.PropertySource
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface org.apache.logging.log4j.util.PropertySource
      • getProperty

        public java.lang.String getProperty(java.lang.String key)
        Specified by:
        getProperty in interface org.apache.logging.log4j.util.PropertySource
      • containsProperty

        public boolean containsProperty(java.lang.String key)
        Specified by:
        containsProperty in interface org.apache.logging.log4j.util.PropertySource