Interface WorkflowInterceptor


public interface WorkflowInterceptor
Provides interception capabilities for workflow engine components. Interceptors allow for cross-cutting concerns such as logging, monitoring, security, and performance measurement to be applied to workflow operations.
Since:
1.0
See Also:
  • Method Details

    • intercept

      WorkflowEngine intercept(WorkflowEngine delegate)
      Intercepts the WorkflowEngine component, allowing for cross-cutting concerns to be applied to engine-level operations.
      Parameters:
      delegate - the original WorkflowEngine instance
      Returns:
      a wrapped WorkflowEngine instance with additional behavior
    • intercept

      Intercepts the WorkflowDefinitions component, allowing for cross-cutting concerns to be applied to workflow definition operations.
      Parameters:
      delegate - the original WorkflowDefinitions instance
      Returns:
      a wrapped WorkflowDefinitions instance with additional behavior
    • intercept

      WorkflowInstance intercept(WorkflowInstance delegate)
      Intercepts the WorkflowInstance component, allowing for cross-cutting concerns to be applied to workflow instance operations.
      Parameters:
      delegate - the original WorkflowInstance instance
      Returns:
      a wrapped WorkflowInstance instance with additional behavior
    • intercept

      WorkflowInstances intercept(WorkflowInstances delegate)
      Intercepts the WorkflowInstances component, allowing for cross-cutting concerns to be applied to workflow instance management operations.
      Parameters:
      delegate - the original WorkflowInstances instance
      Returns:
      a wrapped WorkflowInstances instance with additional behavior
    • intercept

      MutableAttributes intercept(MutableAttributes delegate)
      Intercepts the MutableAttributes component, allowing for cross-cutting concerns to be applied to attribute operations.
      Parameters:
      delegate - the original MutableAttributes instance
      Returns:
      a wrapped MutableAttributes instance with additional behavior
    • intercept

      Intercepts the WorkflowTransaction component, allowing for cross-cutting concerns to be applied to transactional operations.
      Parameters:
      delegate - the original WorkflowTransaction instance
      Returns:
      a wrapped WorkflowTransaction instance with additional behavior