Package org.frankframework.monitoring
Class MonitorDestination
java.lang.Object
org.frankframework.monitoring.AbstractMonitorDestination
org.frankframework.monitoring.MonitorDestination
- All Implemented Interfaces:
HasName
,IConfigurable
,NameAware
,ConfigurableLifecycle
,IMonitorDestination
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
- Direct Known Subclasses:
SenderMonitorAdapter
IMonitorAdapter that uses a
sender
to send its message.- Since:
- 4.9
- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.monitoring.AbstractMonitorDestination
log
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.frankframework.monitoring.AbstractMonitorDestination
getUserClass, isRunning, makeXml, setName, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
getPhase, isAutoStartup
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
MonitorDestination
public MonitorDestination()
-
-
Method Details
-
configure
Description copied from interface:IConfigurable
Configure this component.configure()
is called once at startup of the framework in the configure method of the owner of thisIConfigurable
. Purpose of this method is to check whether the static configuration of the object is correct. As much as possible class-instantiating should take place in theconfigure()
, to improve performance.In the case of a container, this will propagate the configure signal to all components that apply.
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classAbstractMonitorDestination
- Throws:
ConfigurationException
- in case it was not able to configure the component.
-
fireEvent
public void fireEvent(String monitorName, EventType eventType, Severity severity, String eventCode, MonitorEvent event) -
toXml
- Specified by:
toXml
in interfaceIMonitorDestination
- Overrides:
toXml
in classAbstractMonitorDestination
-