Package org.camunda.bpm.engine.delegate

Examples of org.camunda.bpm.engine.delegate.BaseDelegateExecution


* @author Roman Smirnov
*/
public class DefaultDelegateInterceptor implements DelegateInterceptor {

  public void handleInvocation(final DelegateInvocation invocation) throws Exception {
    BaseDelegateExecution contextExecution = invocation.getContextExecution();

    ProcessApplicationReference processApplication = ProcessApplicationContextUtil.getTargetProcessApplication((CoreExecution) contextExecution);

    if (processApplication != null && ProcessApplicationContextUtil.requiresContextSwitch(processApplication)) {
      Context.executeWithinProcessApplication(new Callable<Void>() {
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.delegate.BaseDelegateExecution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.