Class ConfigurationWarnings

java.lang.Object
org.frankframework.configuration.AbstractApplicationWarnings
org.frankframework.configuration.ConfigurationWarnings
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class ConfigurationWarnings extends AbstractApplicationWarnings
If the source implements NameAware it uses that as prefix, else it will use the ClassName. See ClassUtils.nameOf(Object).
  • Constructor Details

    • ConfigurationWarnings

      public ConfigurationWarnings()
  • Method Details

    • add

      public static void add(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message)
      Add a ConfigurationWarning.
    • add

      public static void add(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, Throwable t)
      Add a ConfigurationWarning (optionally with NameAware prefix) and log the exception stack
    • add

      public static void add(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey)
      Add a (globally-)suppressible ConfigurationWarning (optionally with NameAware prefix).
    • add

      public static void add(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey, Adapter adapter)
      Add a suppressible ConfigurationWarning (optionally with NameAware prefix).
    • isSuppressed

      public boolean isSuppressed(SuppressKeys key)
    • isSuppressed

      public static boolean isSuppressed(SuppressKeys key, Adapter adapter)
    • add

      public void add(Object source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey, Adapter adapter)