Author: thomas.diesler(a)jboss.com
Date: 2008-07-15 06:23:31 -0400 (Tue, 15 Jul 2008)
New Revision: 1635
Removed:
jbpm3/trunk/modules/jpdl/core/src/main/java/org/jbpm/integration/runtime/
Modified:
jbpm3/trunk/modules/jpdl/core/src/main/java/org/jbpm/graph/def/Action.java
Log:
Remove stale API integration
Modified: jbpm3/trunk/modules/jpdl/core/src/main/java/org/jbpm/graph/def/Action.java
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/main/java/org/jbpm/graph/def/Action.java 2008-07-15
09:43:11 UTC (rev 1634)
+++ jbpm3/trunk/modules/jpdl/core/src/main/java/org/jbpm/graph/def/Action.java 2008-07-15
10:23:31 UTC (rev 1635)
@@ -25,10 +25,8 @@
import java.util.Map;
import org.dom4j.Element;
-import org.jboss.bpm.model.Task;
import org.jbpm.graph.exe.ExecutionContext;
import org.jbpm.instantiation.Delegation;
-import org.jbpm.integration.runtime.TaskWrapper;
import org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator;
import org.jbpm.jpdl.xml.JpdlXmlReader;
import org.jbpm.jpdl.xml.Parsable;
@@ -150,16 +148,7 @@
}
else if (actionDelegation != null)
{
- ActionHandler actionHandler;
- Object obj = actionDelegation.getInstance();
- if (obj instanceof Task)
- {
- actionHandler = new TaskWrapper(this);
- }
- else
- {
- actionHandler = (ActionHandler)obj;
- }
+ ActionHandler actionHandler = (ActionHandler)actionDelegation.getInstance();
actionHandler.execute(executionContext);
}
}
Show replies by date