Tabnine Logo
WorkflowInstanceImpl.destroyScopeInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
destroyScopeInstance
method
in
com.effektif.workflow.impl.workflowinstance.WorkflowInstanceImpl

Best Java code snippets using com.effektif.workflow.impl.workflowinstance.WorkflowInstanceImpl.destroyScopeInstance (Showing top 1 results out of 315)

origin: effektif/effektif

/**
 * Notifies event listeners tha the workflow instance has finished execution.
 */
public void workflowInstanceEnded() {
 workflow.workflowEngine.notifyWorkflowInstanceEnded(workflowInstance);
 
 destroyScopeInstance();
 
 if (callingWorkflowInstanceId != null) {
  WorkflowInstanceImpl callingWorkflowInstance = getLockedWorkflowInstance(callingWorkflowInstanceId);
  final ActivityInstanceImpl callingActivityInstance = callingWorkflowInstance.findActivityInstance(callingActivityInstanceId);
  if (log.isDebugEnabled())
   log.debug("Notifying calling activity instance " + callingActivityInstance);
  ActivityImpl activityDefinition = callingActivityInstance.getActivity();
  final SubProcessImpl callActivity = (SubProcessImpl) activityDefinition.activityType;
  callActivity.calledWorkflowInstanceEnded(callingActivityInstance, this);
 }
}
com.effektif.workflow.impl.workflowinstanceWorkflowInstanceImpldestroyScopeInstance

Popular methods of WorkflowInstanceImpl

  • <init>
  • getId
  • toWorkflowInstance
  • findActivityInstance
  • getUpdates
  • notifyUnlockListeners
  • removeLock
  • setVariableValue
  • addAsyncWork
  • addJob
  • addLockedWorkflowInstance
  • addSyncWork
  • addLockedWorkflowInstance,
  • addSyncWork,
  • addUnlockListener,
  • addWork,
  • cancel,
  • endAndPropagateToParent,
  • execute,
  • executeWork,
  • findActivityInstanceByActivityId

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JCheckBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now