mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Activiti's BPMNParseListener now contains method that is called when all definitions have been parsed in a single deployment, allowing to change ProcessDefinition key for multi-tenancy, after process-diagrams have been generated.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
*/
|
||||
package org.alfresco.repo.workflow.activiti;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.activiti.engine.delegate.ExecutionListener;
|
||||
import org.activiti.engine.delegate.TaskListener;
|
||||
import org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior;
|
||||
@@ -181,6 +183,12 @@ public class AlfrescoBpmnParseListener implements BpmnParseListener
|
||||
{
|
||||
// Nothing to do here
|
||||
}
|
||||
|
||||
@Override
|
||||
public void parseRootElement(Element arg0, List<ProcessDefinitionEntity> arg1)
|
||||
{
|
||||
// Nothing to do here
|
||||
}
|
||||
|
||||
@Override
|
||||
public void parseMultiInstanceLoopCharacteristics(Element activityElement,
|
||||
@@ -212,4 +220,5 @@ public class AlfrescoBpmnParseListener implements BpmnParseListener
|
||||
{
|
||||
this.tenantService = tenantService;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user