Package org.frankframework.configuration
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
If the source implements
NameAware
it uses that as prefix, else it will use the ClassName.
See ClassUtils.nameOf(Object)
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Object source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey, Adapter adapter) static void
add
(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message) Add a ConfigurationWarning.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 stackstatic void
add
(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey) Add a (globally-)suppressible ConfigurationWarning (optionally with NameAware prefix).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).boolean
isSuppressed
(SuppressKeys key) static boolean
isSuppressed
(SuppressKeys key, Adapter adapter) Methods inherited from class org.frankframework.configuration.AbstractApplicationWarnings
add, add, addWarnings, afterPropertiesSet, destroy, doAdd, doAdd, doAdd, get, getAppConstants, getApplicationContext, getWarnings, isEmpty, setApplicationContext, size
-
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
-
isSuppressed
-
add
public void add(Object source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey, Adapter adapter)
-