use of org.jbpm.workflow.instance.node.EventBasedNodeInstanceInterface in project jbpm by kiegroup.
the class WorkflowProcessInstanceImpl method disconnect.
public void disconnect() {
removeEventListeners();
unregisterExternalEventNodeListeners();
for (NodeInstance nodeInstance : nodeInstances) {
if (nodeInstance instanceof EventBasedNodeInstanceInterface) {
((EventBasedNodeInstanceInterface) nodeInstance).removeEventListeners();
}
}
super.disconnect();
}
use of org.jbpm.workflow.instance.node.EventBasedNodeInstanceInterface in project jbpm by kiegroup.
the class WorkflowProcessInstanceImpl method reconnect.
public void reconnect() {
validate();
super.reconnect();
for (NodeInstance nodeInstance : nodeInstances) {
if (nodeInstance instanceof EventBasedNodeInstanceInterface) {
((EventBasedNodeInstanceInterface) nodeInstance).addEventListeners();
}
}
registerExternalEventNodeListeners();
}
Aggregations