Interface WorkflowLauncher

All Superinterfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
All Known Implementing Classes:
DefaultWorkflowLauncher

public interface WorkflowLauncher extends org.springframework.context.SmartLifecycle
Management component that spawns SimpleWorkflow instances on a limited thread pool (configurable). Also, responsible for failure and success lifecycle completion activities.
  • Field Summary

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    spawn(Informational workFlow)
    Launch a new workflow into an async thread pool for execution

    Methods inherited from interface org.springframework.context.Lifecycle

    isRunning, start, stop

    Methods inherited from interface org.springframework.context.SmartLifecycle

    getPhase, isAutoStartup, stop
  • Method Details

    • spawn

      boolean spawn(Informational workFlow)
      Launch a new workflow into an async thread pool for execution
      Parameters:
      workFlow - Information about the workflow to execute
      Returns:
      Whether a thread was able to handle the request before a timeout occurred