Author: thomas.diesler(a)jboss.com
Date: 2008-07-16 12:19:56 -0400 (Wed, 16 Jul 2008)
New Revision: 1653
Modified:
api/branches/tdiesler/.classpath
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilderFactory.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/test/AbstractAPITestCase.java
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java
api/branches/tdiesler/modules/testsuite/pom.xml
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/model/ProcessIntegrityTest.java
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/parallelsplit/ParallelSplitTest.java
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/sequence/BasicSequenceTest.java
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/task/BasicTaskTest.java
api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-beans.xml
api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-mock-beans.xml
Log:
Modified: api/branches/tdiesler/.classpath
===================================================================
--- api/branches/tdiesler/.classpath 2008-07-16 14:32:05 UTC (rev 1652)
+++ api/branches/tdiesler/.classpath 2008-07-16 16:19:56 UTC (rev 1653)
@@ -2,7 +2,6 @@
<classpath>
<classpathentry kind="src" output="modules/api/target/classes"
path="modules/api/src/main/java"/>
<classpathentry kind="src"
path="modules/dialects/jaxb/src/main/java"/>
- <classpathentry kind="src"
output="modules/api/target/test-classes"
path="modules/api/src/test/java"/>
<classpathentry kind="src"
output="modules/testsuite/target/test-classes"
path="modules/testsuite/src/test/java"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
Modified:
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java
===================================================================
---
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -21,14 +21,12 @@
*/
package org.jboss.bpm.model;
-import org.jboss.bpm.client.ProcessManager;
import org.jboss.bpm.runtime.ExecutionHandler;
import org.jboss.bpm.runtime.FlowHandler;
import org.jboss.bpm.runtime.SignalHandler;
//$Id$
-
/**
* The ProcessBuilder can be used to build a {@link Process} dynamically.
*
@@ -38,17 +36,16 @@
public interface ProcessBuilder
{
/**
- * Create the {@link Process}.
+ * Get the {@link Process}.
* <p/>
* This is the final call to the ProcessBuilder after all elements have been added.
- * Internally it registers the {@link Process} with the {@link ProcessManager}.
*/
- Process createProcess();
-
+ Process getProcess();
+
/**
- * Add a {@link StartEvent}
+ * Add a {@link SubProcess} with a given name
*/
- ProcessBuilder addStartEvent();
+ ProcessBuilder addSubProcess(String name);
/**
* Add a {@link SequenceFlow} with a given name
@@ -61,6 +58,21 @@
ProcessBuilder addMessageFlow(String name);
/**
+ * Add a {@link StartEvent}
+ */
+ ProcessBuilder addStartEvent();
+
+ /**
+ * Add an {@link IntermediateEvent} with a given name
+ */
+ ProcessBuilder addItermediateEvent(String name);
+
+ /**
+ * Add an {@link EndEvent} with a given name
+ */
+ ProcessBuilder addEndEvent(String name);
+
+ /**
* Add a {@link Task} with a given name
*/
ProcessBuilder addTask(String name);
@@ -86,32 +98,76 @@
ProcessBuilder addParallelGateway(String name);
/**
- * Add a {@link SubProcess} with a given name
+ * Add an {@link ExecutionHandler} with a given Class
*/
- ProcessBuilder addSubProcess(String name);
+ ProcessBuilder addExecutionHandler(Class<?> clazz);
/**
- * Add an {@link IntermediateEvent} with a given name
+ * Add an {@link FlowHandler} with a given Class
*/
- ProcessBuilder addItermediateEvent(String name);
+ ProcessBuilder addFlowHandler(Class<?> clazz);
/**
- * Add an {@link EndEvent} with a given name
+ * Add an {@link SignalHandler} with a given Class
*/
- ProcessBuilder addEndEvent(String name);
+ ProcessBuilder addSignalHandler(Class<?> clazz);
+ // ==============
+
/**
- * Add an {@link ExecutionHandler} with a given Class
+ * Create a {@link Process}.
*/
- ProcessBuilder addExecutionHandler(Class<?> clazz);
+ Process createProcess(String name);
/**
- * Add an {@link FlowHandler} with a given Class
+ * Create a {@link SubProcess} with a given name
*/
- ProcessBuilder addFlowHandler(Class<?> clazz);
+ SubProcess createSubProcess(String name);
+
+ /**
+ * Create a {@link StartEvent}
+ */
+ StartEvent createStartEvent();
/**
- * Add an {@link SignalHandler} with a given Class
+ * Create an {@link IntermediateEvent} with a given name
*/
- ProcessBuilder addSignalHandler(Class<?> clazz);
+ IntermediateEvent createIntermediateEvent(String name);
+
+ /**
+ * Create an {@link EndEvent} with a given name
+ */
+ EndEvent createEndEvent(String name);
+
+ /**
+ * Create a {@link Task} with a given name
+ */
+ Task createTask(String name);
+
+ /**
+ * Create an {@link ExclusiveGateway} with a given name
+ */
+ ExclusiveGateway createExclusiveGateway(String name);
+
+ /**
+ * Create an {@link InclusiveGateway} with a given name
+ */
+ InclusiveGateway createInclusiveGateway(String name);
+
+ /**
+ * Create a {@link ComplexGateway} with a given name
+ */
+ ComplexGateway createComplexGateway(String name);
+
+ /**
+ * Create a {@link ParallelGateway} with a given name
+ */
+ ParallelGateway createParallelGateway(String name);
+
+ /**
+ * Add a {@link FlowObject} create by one of the create methods.
+ * @param fo
+ * @return
+ */
+ FlowObject addFlowObject(FlowObject fo);
}
\ No newline at end of file
Modified:
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilderFactory.java
===================================================================
---
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilderFactory.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilderFactory.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -41,9 +41,9 @@
/**
* Get a {@link ProcessBuilder} for a given process name.
*/
- public static ProcessBuilder newInstance(String processName)
+ public static ProcessBuilder newInstance(String procName)
{
- return new ProcessBuilderImpl(processName);
+ return new ProcessBuilderImpl(procName);
}
}
\ No newline at end of file
Modified:
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java
===================================================================
---
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -23,9 +23,18 @@
//$Id$
-import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.ComplexGateway;
+import org.jboss.bpm.model.EndEvent;
+import org.jboss.bpm.model.ExclusiveGateway;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.InclusiveGateway;
+import org.jboss.bpm.model.IntermediateEvent;
+import org.jboss.bpm.model.ParallelGateway;
import org.jboss.bpm.model.Process;
import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.StartEvent;
+import org.jboss.bpm.model.SubProcess;
+import org.jboss.bpm.model.Task;
import org.jboss.bpm.runtime.ExecutionHandler;
import org.jboss.bpm.runtime.FlowHandler;
import org.jboss.bpm.runtime.SignalHandler;
@@ -46,16 +55,15 @@
proc = new ProcessImpl(procName);
}
- public Process createProcess()
+ public Process getProcess()
{
- ProcessManager pm = ProcessManager.locateProcessManager();
- pm.registerProcess(proc);
+ proc.initialize();
return proc;
}
- public ProcessBuilder addStartEvent()
+ public ProcessBuilder addSubProcess(String name)
{
- flowObject = new StartEventImpl();
+ flowObject = new SubProcessImpl(name);
proc.addFlowObject(flowObject);
return this;
}
@@ -98,58 +106,58 @@
return this;
}
- public ProcessBuilder addTask(String name)
+ public ProcessBuilder addStartEvent()
{
- flowObject = new TaskImpl(name);
+ flowObject = new StartEventImpl();
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addExclusiveGateway(String name)
+ public ProcessBuilder addItermediateEvent(String name)
{
- flowObject = new ExclusiveGatewayImpl(name);
+ flowObject = new IntermediateEventImpl(name);
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addInclusiveGateway(String name)
+ public ProcessBuilder addEndEvent(String name)
{
- flowObject = new InclusiveGatewayImpl(name);
+ flowObject = new EndEventImpl(name);
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addComplexGateway(String name)
+ public ProcessBuilder addTask(String name)
{
- flowObject = new ComplexGatewayImpl(name);
+ flowObject = new TaskImpl(name);
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addParallelGateway(String name)
+ public ProcessBuilder addExclusiveGateway(String name)
{
- flowObject = new ParallelGatewayImpl(name);
+ flowObject = new ExclusiveGatewayImpl(name);
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addSubProcess(String name)
+ public ProcessBuilder addInclusiveGateway(String name)
{
- flowObject = new SubProcessImpl(name);
+ flowObject = new InclusiveGatewayImpl(name);
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addItermediateEvent(String name)
+ public ProcessBuilder addComplexGateway(String name)
{
- flowObject = new IntermediateEventImpl(name);
+ flowObject = new ComplexGatewayImpl(name);
proc.addFlowObject(flowObject);
return this;
}
- public ProcessBuilder addEndEvent(String name)
+ public ProcessBuilder addParallelGateway(String name)
{
- flowObject = new EndEventImpl(name);
+ flowObject = new ParallelGatewayImpl(name);
proc.addFlowObject(flowObject);
return this;
}
@@ -193,4 +201,72 @@
}
return this;
}
+
+ // ============================
+
+ public Process createProcess(String name)
+ {
+ proc = new ProcessImpl(name);
+ return proc;
+ }
+
+ public SubProcess createSubProcess(String name)
+ {
+ flowObject = new SubProcessImpl(name);
+ return (SubProcess)flowObject;
+ }
+
+ public StartEvent createStartEvent()
+ {
+ flowObject = new StartEventImpl();
+ return (StartEvent)flowObject;
+ }
+
+ public IntermediateEvent createIntermediateEvent(String name)
+ {
+ flowObject = new IntermediateEventImpl(name);
+ return (IntermediateEvent)flowObject;
+ }
+
+ public EndEvent createEndEvent(String name)
+ {
+ flowObject = new EndEventImpl(name);
+ return (EndEvent)flowObject;
+ }
+
+ public ExclusiveGateway createExclusiveGateway(String name)
+ {
+ flowObject = new ExclusiveGatewayImpl(name);
+ return (ExclusiveGateway)flowObject;
+ }
+
+ public InclusiveGateway createInclusiveGateway(String name)
+ {
+ flowObject = new InclusiveGatewayImpl(name);
+ return (InclusiveGateway)flowObject;
+ }
+
+ public ComplexGateway createComplexGateway(String name)
+ {
+ flowObject = new ComplexGatewayImpl(name);
+ return (ComplexGateway)flowObject;
+ }
+
+ public ParallelGateway createParallelGateway(String name)
+ {
+ flowObject = new ParallelGatewayImpl(name);
+ return (ParallelGateway)flowObject;
+ }
+
+ public Task createTask(String name)
+ {
+ flowObject = new TaskImpl(name);
+ return (Task)flowObject;
+ }
+
+ public FlowObject addFlowObject(FlowObject fo)
+ {
+ proc.addFlowObject(fo);
+ return fo;
+ }
}
\ No newline at end of file
Modified:
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/test/AbstractAPITestCase.java
===================================================================
---
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/test/AbstractAPITestCase.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/test/AbstractAPITestCase.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -90,10 +90,10 @@
URL url = ctxLoader.getResource(resource);
if (url == null)
throw new IllegalStateException("Cannot find resource: " + resource);
-
+
return url;
}
-
+
private URL getBeansConfigURL(String resourceName)
{
URL url = Thread.currentThread().getContextClassLoader().getResource(resourceName);
@@ -101,13 +101,13 @@
throw new JBPMException("Cannot find resource: " + resourceName);
return url;
}
-
+
public void catchSignal(Signal signal)
{
signals.add(signal);
log.debug("catchSignal: " + signal);
}
-
+
public List<Signal> getSignals()
{
return Collections.unmodifiableList(signals);
Modified:
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java
===================================================================
---
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -24,9 +24,13 @@
// $Id$
import java.io.IOException;
+import java.io.InputStreamReader;
import java.io.StringReader;
import java.net.URL;
+import javax.xml.bind.JAXBException;
+
+import org.jboss.bpm.InvalidProcessException;
import org.jboss.bpm.client.ProcessEngine;
import org.jboss.bpm.client.ProcessManager;
import org.jboss.bpm.dialect.jaxb.model.JAXBProcess;
@@ -50,9 +54,17 @@
*/
public Process createProcessOverride(String pXML)
{
+ try
+ {
ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
- JAXBProcess proc = unmarschaller.unmarshallProcess(new StringReader(pXML));
- return null;
+ JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new StringReader(pXML));
+ Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
+ }
}
/**
@@ -60,8 +72,17 @@
*/
public Process createProcessOverride(URL pURL) throws IOException
{
-// ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
-// Process proc = unmarschaller.unmarshallProcess(new
InputStreamReader(pURL.openStream()));
- return null;
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new
InputStreamReader(pURL.openStream()));
+ Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pURL, ex);
+ }
}
+
}
\ No newline at end of file
Modified: api/branches/tdiesler/modules/testsuite/pom.xml
===================================================================
--- api/branches/tdiesler/modules/testsuite/pom.xml 2008-07-16 14:32:05 UTC (rev 1652)
+++ api/branches/tdiesler/modules/testsuite/pom.xml 2008-07-16 16:19:56 UTC (rev 1653)
@@ -31,7 +31,7 @@
<!-- Compile Dependencies -->
<dependency>
<groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api</artifactId>
+ <artifactId>jbpm-api-dialect-jaxb</artifactId>
<version>${version}</version>
</dependency>
Modified:
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/model/ProcessIntegrityTest.java
===================================================================
---
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/model/ProcessIntegrityTest.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/model/ProcessIntegrityTest.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -40,7 +40,7 @@
{
// Create a Process through the ProcessBuilder
ProcessBuilder builder = ProcessBuilderFactory.newInstance(null);
- Process proc =
builder.addStartEvent().addSequenceFlow("taskA").addTask("taskA").addSequenceFlow("end").addEndEvent("end").createProcess();
+ Process proc =
builder.addStartEvent().addSequenceFlow("taskA").addTask("taskA").addSequenceFlow("end").addEndEvent("end").getProcess();
assertEquals("AnonymousProcess#0", proc.getName());
StartEvent start = proc.getStartEvent();
@@ -60,7 +60,7 @@
{
// Create a Process through the ProcessBuilder
ProcessBuilder builder = ProcessBuilderFactory.newInstance(null);
-
builder.addTask("taskA").addSequenceFlow("end").addEndEvent("end").createProcess();
+
builder.addTask("taskA").addSequenceFlow("end").addEndEvent("end").getProcess();
fail("InvalidProcessException expected");
}
catch (InvalidProcessException ex)
@@ -75,7 +75,7 @@
{
// Create a Process through the ProcessBuilder
ProcessBuilder builder = ProcessBuilderFactory.newInstance(null);
-
builder.addStartEvent().addSequenceFlow("taskA").addTask("taskA").addSequenceFlow("end").addTask("end").createProcess();
+
builder.addStartEvent().addSequenceFlow("taskA").addTask("taskA").addSequenceFlow("end").addTask("end").getProcess();
fail("InvalidProcessException expected");
}
catch (InvalidProcessException ex)
@@ -90,7 +90,7 @@
{
// Create a Process through the ProcessBuilder
ProcessBuilder builder = ProcessBuilderFactory.newInstance(null);
-
builder.addStartEvent().addSequenceFlow("taskA").addTask("taskA").addSequenceFlow("end").addTask("taskA").addSequenceFlow("end").addEndEvent("end").createProcess();
+
builder.addStartEvent().addSequenceFlow("taskA").addTask("taskA").addSequenceFlow("end").addTask("taskA").addSequenceFlow("end").addEndEvent("end").getProcess();
fail("InvalidProcessException expected");
}
catch (InvalidProcessException ex)
Modified:
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/parallelsplit/ParallelSplitTest.java
===================================================================
---
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/parallelsplit/ParallelSplitTest.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/parallelsplit/ParallelSplitTest.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -74,7 +74,7 @@
// Create a Process through the ProcessBuilder
ProcessBuilder procBuilder = ProcessBuilderFactory.newInstance(getName());
Process proc =
procBuilder.addStartEvent().addSequenceFlow("gateway").addParallelGateway("gateway").
-
addSequenceFlow("endA").addSequenceFlow("endB").addEndEvent("endA").addEndEvent("endB").createProcess();
+
addSequenceFlow("endA").addSequenceFlow("endB").addEndEvent("endA").addEndEvent("endB").getProcess();
runProcess(proc);
}
Modified:
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/sequence/BasicSequenceTest.java
===================================================================
---
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/sequence/BasicSequenceTest.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/sequence/BasicSequenceTest.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -75,7 +75,7 @@
// Create a Process through the ProcessBuilder
ProcessBuilder procBuilder = ProcessBuilderFactory.newInstance(getName());
Process proc =
procBuilder.addStartEvent().addSequenceFlow("stateA").addTask("stateA").
- addSequenceFlow("end").addEndEvent("end").createProcess();
+ addSequenceFlow("end").addEndEvent("end").getProcess();
runProcess(proc);
}
Modified:
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/task/BasicTaskTest.java
===================================================================
---
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/task/BasicTaskTest.java 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/testsuite/src/test/java/org/jboss/bpm/samples/task/BasicTaskTest.java 2008-07-16
16:19:56 UTC (rev 1653)
@@ -76,7 +76,7 @@
// Create a Process through the ProcessBuilder
ProcessBuilder procBuilder = ProcessBuilderFactory.newInstance(getName());
Process proc =
procBuilder.addStartEvent().addSequenceFlow("stateA").addTask("stateA").addExecutionHandler(TaskA.class).
- addSequenceFlow("end").addEndEvent("end").createProcess();
+ addSequenceFlow("end").addEndEvent("end").getProcess();
runProcess(proc);
}
Modified: api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-beans.xml
===================================================================
--- api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-16
14:32:05 UTC (rev 1652)
+++ api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-16
16:19:56 UTC (rev 1653)
@@ -11,7 +11,7 @@
</bean>
<!-- The process manager -->
- <bean name="jBPMProcessManager"
class="org.jboss.bpm.client.internal.ProcessManagerImpl">
+ <bean name="jBPMProcessManager"
class="org.jboss.bpm.dialect.jaxb.ProcessManagerImpl">
<property name="processEngine"><inject
bean="jBPMProcessEngine" state="Instantiated"/></property>
</bean>
Modified: api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-mock-beans.xml
===================================================================
---
api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-mock-beans.xml 2008-07-16
14:32:05 UTC (rev 1652)
+++
api/branches/tdiesler/modules/testsuite/src/test/resources/jbpm-mock-beans.xml 2008-07-16
16:19:56 UTC (rev 1653)
@@ -11,7 +11,7 @@
</bean>
<!-- The process manager -->
- <bean name="jBPMProcessManager"
class="org.jboss.bpm.client.internal.ProcessManagerImpl">
+ <bean name="jBPMProcessManager"
class="org.jboss.bpm.dialect.jaxb.ProcessManagerImpl">
<property name="processEngine"><inject
bean="jBPMProcessEngine" state="Instantiated"/></property>
</bean>