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(@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 stackprotected voidaddWarnings(List<String> warnings) voidvoiddestroy()protected voiddoAdd(@Nullable Object source, @NonNull org.apache.logging.log4j.Logger log, @NonNull String message, @Nullable String hint) protected voidprotected voidget(int i) protected final AppConstantsprotected final org.springframework.context.ApplicationContextbooleanisEmpty()final voidsetApplicationContext(@NonNull 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(@NonNull org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getApplicationContext
protected final org.springframework.context.ApplicationContext getApplicationContext() -
getAppConstants
-
getWarnings
-
add
-
add
-
doAdd
-
doAdd
-
doAdd
-