Package org.frankframework.configuration
Class AbstractApplicationWarnings
java.lang.Object
org.frankframework.configuration.AbstractApplicationWarnings
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
ApplicationWarnings,ConfigurationWarnings
public abstract class AbstractApplicationWarnings
extends Object
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a warning with Object Class + Name prefixvoidAdd a warning with Object Class + Name prefix and log the exception stackprotected voidaddWarnings(List<String> warnings) voidvoiddestroy()protected voidprotected voidprotected voidget(int i) protected final AppConstantsprotected final org.springframework.context.ApplicationContextbooleanisEmpty()final voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) intsize()
-
Constructor Details
-
AbstractApplicationWarnings
public AbstractApplicationWarnings()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
addWarnings
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
size
public int size() -
get
-
isEmpty
public boolean isEmpty() -
setApplicationContext
public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getApplicationContext
protected final org.springframework.context.ApplicationContext getApplicationContext() -
getAppConstants
-
getWarnings
-
add
public void add(@Nullable Object source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message) Add a warning with Object Class + Name prefix -
add
public void add(@Nullable Object source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nullable Throwable t) Add a warning with Object Class + Name prefix and log the exception stack -
doAdd
-
doAdd
-
doAdd
-