public abstract class ApplicationWarningsBase extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
ApplicationWarningsBase() |
Modifier and Type | Method and Description |
---|---|
void |
add(Object source,
org.apache.logging.log4j.Logger log,
String message)
Add a warning with Object Class + Name prefix
|
void |
add(Object source,
org.apache.logging.log4j.Logger log,
String message,
Throwable t)
Add a warning with Object Class + Name prefix and log the exception stack
|
protected void |
addWarnings(List<String> warnings) |
void |
afterPropertiesSet() |
void |
destroy() |
protected void |
doAdd(org.apache.logging.log4j.Logger log,
String message,
Throwable t) |
protected void |
doAdd(Object source,
org.apache.logging.log4j.Logger log,
String message,
String hint) |
protected void |
doAdd(Object source,
org.apache.logging.log4j.Logger log,
String message,
Throwable t) |
String |
get(int i) |
protected AppConstants |
getAppConstants() |
protected org.springframework.context.ApplicationContext |
getApplicationContext() |
List<String> |
getWarnings() |
boolean |
isEmpty() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
int |
size() |
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public int size()
public String get(int i)
public boolean isEmpty()
public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
protected final org.springframework.context.ApplicationContext getApplicationContext()
protected final AppConstants getAppConstants()
public void add(Object source, org.apache.logging.log4j.Logger log, String message)
public void add(Object source, org.apache.logging.log4j.Logger log, String message, Throwable t)
protected void doAdd(Object source, org.apache.logging.log4j.Logger log, String message, Throwable t)
protected void doAdd(Object source, org.apache.logging.log4j.Logger log, String message, String hint)
Copyright © 2023 Frank!Framework. All rights reserved.