com.github.dynamicextensionsalfresco.workflow.activiti.AbstractDelegate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotations-runtime Show documentation
Show all versions of annotations-runtime Show documentation
Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features
package com.github.dynamicextensionsalfresco.workflow.activiti;
import org.activiti.engine.delegate.VariableScope;
import org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.activiti.engine.impl.context.Context;
import org.activiti.engine.impl.el.Expression;
import org.springframework.util.Assert;
import java.util.Map;
/**
* Support class for Workflow delegates: provides access to {@link WorkflowTaskRegistry}.
*
* @author Laurent Van der Linden
*/
public abstract class AbstractDelegate {
private Expression componentId;
protected WorkflowTaskRegistry getWorkflowTaskRegistry() {
ProcessEngineConfigurationImpl config = Context.getProcessEngineConfiguration();
Assert.notNull(config, "No ProcessEngineConfiguration found in active context.");
final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy