-
Notifications
You must be signed in to change notification settings - Fork 9
How delegator works
bespaltovyj edited this page Sep 27, 2021
·
4 revisions
Before creating the engine, the BpmnParseFactory
and ExpressionManager
are configured in the plugin.
Аfter the application is fully launched, all delegates are registered in the registry.
Delegate executing based on chain of interceptors. Interceptors used for resolving delegate arguments, process return value and exception processing.
Default interceptors:
- ResolveArgumentsInterceptor - this interceptor builds the delegate arguments.
- SingleResultExecutionWriter and MultipleResultExecutionWriter this interceptor write result to delegate execution.
You can write custom delegate interceptors with your logic.