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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Object source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey, Adapter adapter) static voidadd(HasApplicationContext source, String message) Add a ConfigurationWarning.static voidadd(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message) Add a ConfigurationWarning.static voidadd(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, Throwable t) Add a ConfigurationWarning (optionally with NameAware prefix) and log the exception stackstatic voidadd(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey) Add a (globally-)suppressible ConfigurationWarning (optionally with NameAware prefix).static voidadd(HasApplicationContext source, org.apache.logging.log4j.Logger log, String message, SuppressKeys suppressionKey, Adapter adapter) Add a suppressible ConfigurationWarning (optionally with NameAware prefix).booleanisSuppressed(SuppressKeys key) static booleanisSuppressed(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
Add a ConfigurationWarning. -
add
public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message) Add a ConfigurationWarning. -
add
public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nullable Throwable t) Add a ConfigurationWarning (optionally with NameAware prefix) and log the exception stack -
add
public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nonnull SuppressKeys suppressionKey) Add a (globally-)suppressible ConfigurationWarning (optionally with NameAware prefix). -
add
public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nonnull SuppressKeys suppressionKey, @Nullable Adapter adapter) Add a suppressible ConfigurationWarning (optionally with NameAware prefix). -
isSuppressed
-
isSuppressed
-
add
public void add(@Nullable Object source, @Nonnull org.apache.logging.log4j.Logger log, String message, @Nonnull SuppressKeys suppressionKey, @Nullable Adapter adapter)
-