You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/10/02 17:28:33 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/task WorkflowInvoker.java
andreas 2003/10/02 08:28:33
Modified: src/java/org/apache/lenya/cms/task WorkflowInvoker.java
Log:
using workflow synchronization
Revision Changes Path
1.3 +3 -2 cocoon-lenya/src/java/org/apache/lenya/cms/task/WorkflowInvoker.java
Index: WorkflowInvoker.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/task/WorkflowInvoker.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WorkflowInvoker.java 19 Sep 2003 19:21:48 -0000 1.2
+++ WorkflowInvoker.java 2 Oct 2003 15:28:33 -0000 1.3
@@ -70,6 +70,7 @@
import org.apache.lenya.workflow.Event;
import org.apache.lenya.workflow.Situation;
import org.apache.lenya.workflow.WorkflowInstance;
+import org.apache.lenya.workflow.impl.SynchronizedWorkflowInstances;
import org.apache.log4j.Category;
/**
@@ -226,7 +227,7 @@
try {
WorkflowFactory factory = WorkflowFactory.newInstance();
- WorkflowInstance instance = factory.buildInstance(document);
+ SynchronizedWorkflowInstances instance = factory.buildSynchronizedInstance(document);
Situation situation =
factory.buildSituation(getRoleIDs(), getUserId(), getMachineIp());
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org