Package org.frankframework.monitoring
Class AbstractMonitorDestination
java.lang.Object
org.frankframework.monitoring.AbstractMonitorDestination
- All Implemented Interfaces:
INamedObject
,IMonitorDestination
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
MonitorDestination
public abstract class AbstractMonitorDestination
extends Object
implements IMonitorDestination, org.springframework.context.ApplicationContextAware
Base class for Monitor Destination implementations.
- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.springframework.context.ApplicationContext
getName()
protected Class<?>
getUserClass
(Object clazz) protected String
makeXml
(String monitorName, EventType eventType, Severity severity, String eventCode, MonitorEvent event) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
toXml()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.monitoring.IMonitorDestination
fireEvent
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
AbstractMonitorDestination
protected AbstractMonitorDestination()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceIMonitorDestination
- Throws:
ConfigurationException
-
makeXml
-
toXml
- Specified by:
toXml
in interfaceIMonitorDestination
-
getUserClass
-
setName
- Specified by:
setName
in interfaceINamedObject
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
getName
- Specified by:
getName
in interfaceINamedObject
-