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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProcessApplicationReferencegetProcessApplicationForInvocation(DelegateInvocation invocation) voidhandleInvocation(DelegateInvocation invocation) protected voidhandleInvocationInContext(DelegateInvocation invocation) protected booleanisCurrentContextExecution(BaseDelegateExecution execution) protected booleansetExecutionContext(BaseDelegateExecution execution)
-
Constructor Details
-
DefaultDelegateInterceptor
public DefaultDelegateInterceptor()
-
-
Method Details
-
handleInvocation
- Specified by:
handleInvocationin 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)
-