public abstract class MonitorAdapterBase extends Object implements IMonitorAdapter, org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.apache.logging.log4j.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
MonitorAdapterBase() |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
String |
getName() |
protected Class<?> |
getUserClass(Object clazz) |
String |
makeXml(String eventSource,
EventTypeEnum eventType,
SeverityEnum severity,
String message,
Throwable t) |
void |
setName(String string) |
XmlBuilder |
toXml() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fireEvent
protected org.apache.logging.log4j.Logger log
protected org.springframework.context.ApplicationContext applicationContext
public void configure() throws ConfigurationException
configure
in interface IMonitorAdapter
ConfigurationException
public String makeXml(String eventSource, EventTypeEnum eventType, SeverityEnum severity, String message, Throwable t)
public XmlBuilder toXml()
toXml
in interface IMonitorAdapter
public void setName(String string)
setName
in interface IMonitorAdapter
public String getName()
getName
in interface IMonitorAdapter
Copyright © 2023 Frank!Framework. All rights reserved.