Class DefaultDelegateInterceptor
java.lang.Object
org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor
- All Implemented Interfaces:
DelegateInterceptor
The default implementation of the DelegateInterceptor.
This implementation has the following features:
- it performs context switch into the target process application (if applicable)
- it checks autorizations if
ProcessEngineConfiguration.isAuthorizationEnabledForCustomCode()
is true
- Author:
- Daniel Meyer, Roman Smirnov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ProcessApplicationReference
getProcessApplicationForInvocation
(DelegateInvocation invocation) void
handleInvocation
(DelegateInvocation invocation) protected void
handleInvocationInContext
(DelegateInvocation invocation) protected boolean
isCurrentContextExecution
(BaseDelegateExecution execution) protected boolean
setExecutionContext
(BaseDelegateExecution execution)
-
Constructor Details
-
DefaultDelegateInterceptor
public DefaultDelegateInterceptor()
-
-
Method Details
-
handleInvocation
- Specified by:
handleInvocation
in interfaceDelegateInterceptor
- Throws:
Exception
-
handleInvocationInContext
- Throws:
Exception
-
setExecutionContext
- Returns:
- true if the execution context is modified by this invocation
-
isCurrentContextExecution
-
getProcessApplicationForInvocation
protected ProcessApplicationReference getProcessApplicationForInvocation(DelegateInvocation invocation)
-