Class DefaultWorkflowLifecycleStrategy

  • All Implemented Interfaces:
    WorkflowLifecycleStrategy
    Direct Known Subclasses:
    WorkflowRetryAndContinue

    public class DefaultWorkflowLifecycleStrategy
    extends java.lang.Object
    implements WorkflowLifecycleStrategy
    Default strategy for starting workflows.

    This strategy is functionally equivalent to the way in which workflow operations were originally handled. If a workflow fails to start then an exception is thrown back to the parent channel.

    In the adapter configuration file this class is aliased as default-workflow-lifecycle-strategy which is the preferred alternative to the fully qualified classname when building your configuration.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger log  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close​(java.util.List<Workflow> workflowList)
      Close a list of workflows.
      void closeConsumers​(java.util.List<Workflow> workflowList)  
      void init​(java.util.List<Workflow> workflowList)
      Initialise a list of channels.
      void start​(java.util.List<Workflow> workflowList)
      Start a list of workflows.
      void stop​(java.util.List<Workflow> workflowList)
      Stop a list of workflows.
      void stopConsumers​(java.util.List<Workflow> workflowList)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        protected transient org.slf4j.Logger log
    • Constructor Detail

      • DefaultWorkflowLifecycleStrategy

        public DefaultWorkflowLifecycleStrategy()