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
logFields 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, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
getPhase, isAutoStartup, isConfiguredMethods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
MonitorDestination
public MonitorDestination()
-
-
Method Details
-
configure
Description copied from interface:IConfigurableConfigure 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:
configurein interfaceIConfigurable- Overrides:
configurein 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:
toXmlin interfaceIMonitorDestination- Overrides:
toXmlin classAbstractMonitorDestination
-