Package com.yworkflow.builder
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 Summary
Modifier and TypeMethodDescriptionintercept(MutableAttributes delegate) Intercepts the MutableAttributes component, allowing for cross-cutting concerns to be applied to attribute operations.intercept(WorkflowDefinitions delegate) Intercepts the WorkflowDefinitions component, allowing for cross-cutting concerns to be applied to workflow definition operations.intercept(WorkflowInstance delegate) Intercepts the WorkflowInstance component, allowing for cross-cutting concerns to be applied to workflow instance operations.intercept(WorkflowInstances delegate) Intercepts the WorkflowInstances component, allowing for cross-cutting concerns to be applied to workflow instance management operations.intercept(WorkflowTransaction delegate) Intercepts the WorkflowTransaction component, allowing for cross-cutting concerns to be applied to transactional operations.intercept(WorkflowEngine delegate) Intercepts the WorkflowEngine component, allowing for cross-cutting concerns to be applied to engine-level operations.
-
Method Details
-
intercept
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
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
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
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
-