Package com.activeviam.risk.ref.cfg.impl
Class InitialActiveMonitorConfig
- java.lang.Object
-
- com.activeviam.risk.ref.cfg.impl.InitialActiveMonitorConfig
-
@Configuration @Conditional(InitialMonitorLoadingCondition.class) public class InitialActiveMonitorConfig extends Object
Initial ActiveMonitor configurationThis is the base file configuring ActiveMonitor on startup.
This contains both general configuration, required by ActiveMonitor, as well as ready to use elements demonstrating ActiveMonitor capabilities.
Optional elements will be explicitly marked as so.- Author:
- ActiveViam
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.core.env.Environment
env
com.qfs.snl.cfg.impl.ActiveMonitorServiceConfiguration
serviceConfig
-
Constructor Summary
Constructors Constructor Description InitialActiveMonitorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
addMonitors()
[Optional] Registers a list of monitors within the monitor service.List<com.qfs.snl.monitors.IMonitor>
monitors()
[Optional] Generates some monitor objects to start the application with existing monitors.Void
setParameterWorkflows()
[Optional] This step associates workflow schemes to parameters.
-
-
-
Method Detail
-
monitors
@Bean public List<com.qfs.snl.monitors.IMonitor> monitors() throws com.quartetfs.fwk.serialization.SerializerException
[Optional] Generates some monitor objects to start the application with existing monitors.- Returns:
- the list of monitors
- Throws:
com.quartetfs.fwk.serialization.SerializerException
- if serialization exception occurs
-
addMonitors
@Bean @DependsOn("registerWorkflowSchemes") public Void addMonitors() throws com.qfs.fwk.services.ServiceException, com.quartetfs.fwk.serialization.SerializerException
[Optional] Registers a list of monitors within the monitor service.- Returns:
- Void
- Throws:
com.qfs.fwk.services.ServiceException
- if the creation failscom.quartetfs.fwk.serialization.SerializerException
- if the monitor can not be generated
-
setParameterWorkflows
@Bean @DependsOn("registerWorkflows") public Void setParameterWorkflows() throws com.qfs.fwk.services.ServiceException
[Optional] This step associates workflow schemes to parameters.- Returns:
- Void
- Throws:
com.qfs.fwk.services.ServiceException
- if the parameter can not be generated
-
-