Class RiskWorkflowConfig


  • @Configuration
    public class RiskWorkflowConfig
    extends Object
    Author:
    QuartetFS
    • Field Detail

      • serviceConfig

        @Autowired
        public com.qfs.snl.cfg.impl.ActiveMonitorServiceConfiguration serviceConfig
      • env

        @Autowired
        protected org.springframework.core.env.Environment env
    • Constructor Detail

      • RiskWorkflowConfig

        public RiskWorkflowConfig()
    • Method Detail

      • registerWorkflows

        @Bean
        public Void registerWorkflows()
        Registers a list of workflows with the workflow service

        Workflow configurations are not persisted since it is easy to recreate it programmatically on each start of the server and that is not meant to evolve while the application runs.
        This bean maps names to a given configuration of Activiti process id and a workflow unit key. Those names will then be used inside schemes, that groups a set of configurations.

        Returns:
        Void
      • registerWorkflowSchemes

        @DependsOn("registerWorkflows")
        @Bean
        public Void registerWorkflowSchemes()
        Register workflow schemes with the workflow service.

        Workflow schemes regroup a set of workflow configurations within a single name.
        This is useful to create meaningful groups instead of letting the user select manually one by one each workflows.

        Returns:
        Void
      • registerDefaultWorkflows

        @Bean
        @DependsOn("registerWorkflowSchemes")
        @Conditional(InitialMonitorLoadingCondition.class)
        protected Void registerDefaultWorkflows()
        [Optional] [Bean] Registers default workflows to use for entities.
        Returns:
        null
      • injectServices

        @Bean
        public Void injectServices()
        [Optional] Injects objects into plugin values.
        Returns:
        null