[jbpm-commits] JBoss JBPM SVN: r1673 - in jbpm3/trunk: modules/jpdl/core and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jul 17 15:36:19 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-07-17 15:36:19 -0400 (Thu, 17 Jul 2008)
New Revision: 1673

Modified:
   jbpm3/trunk/modules/jpdl/core/pom.xml
   jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml
   jbpm3/trunk/pom.xml
Log:
More work on stp bpmn dialect

Modified: jbpm3/trunk/modules/jpdl/core/pom.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/pom.xml	2008-07-17 19:25:24 UTC (rev 1672)
+++ jbpm3/trunk/modules/jpdl/core/pom.xml	2008-07-17 19:36:19 UTC (rev 1673)
@@ -119,9 +119,24 @@
     </dependency>
     <dependency>
       <groupId>org.jboss.jbpm</groupId>
+      <artifactId>jbpm-api-dialect-api10</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.jbpm</groupId>
       <artifactId>jbpm-api-dialect-jpdl32</artifactId>
       <scope>runtime</scope>
     </dependency>
+    <dependency>
+      <groupId>org.jboss.jbpm</groupId>
+      <artifactId>jbpm-api-dialect-stp</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.jbpm</groupId>
+      <artifactId>jbpm-api-dialect-xpdl21</artifactId>
+      <scope>runtime</scope>
+    </dependency>
   </dependencies>
   
   <!-- Plugins -->

Modified: jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml	2008-07-17 19:25:24 UTC (rev 1672)
+++ jbpm3/trunk/modules/jpdl/core/src/main/resources/jbpm-beans.xml	2008-07-17 19:36:19 UTC (rev 1673)
@@ -16,14 +16,33 @@
   <!-- The ProcessManager -->
   <bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
     <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+    <property name="dialectRegistry"><inject bean="jBPMDialectRegistry"/></property>
     <property name="dialectHandlers">
       <map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
+        <entry><key>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
         <entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
+        <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
+        <entry><key>xpdl21</key><value><inject bean="jBPMDialectHandlerXPDL21"/></value></entry>
       </map>
     </property>
   </bean>
+  <bean name="jBPMDialectHandlerAPI10" class="org.jboss.bpm.dialect.api10.DialectHandlerImpl"/>
   <bean name="jBPMDialectHandlerJPDL32" class="org.jboss.bpm.dialect.jpdl32.DialectHandlerImpl"/>
+  <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+  <bean name="jBPMDialectHandlerXPDL21" class="org.jboss.bpm.dialect.xpdl21.DialectHandlerImpl"/>
 
+  <!-- The DialectRegistry -->
+  <bean name="jBPMDialectRegistry" class="org.jboss.bpm.client.DialectRegistry">
+    <property name="registry">
+      <map keyClass="java.lang.String" valueClass="java.lang.String">
+        <entry><key>urn:api.bpm.jboss:jpdl-0.1</key><value>api10</value></entry>
+        <entry><key>urn:jbpm.org:jpdl-3.2</key><value>jpdl32</value></entry>
+        <entry><key>http://stp.eclipse.org/bpmn</key><value>stp</value></entry>
+        <entry><key>http://www.wfmc.org/2008/XPDL2.1</key><value>xpdl21</value></entry>
+      </map>
+    </property>
+  </bean>
+  
   <!-- The ExecutionManager -->
   <bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
     <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>

Modified: jbpm3/trunk/pom.xml
===================================================================
--- jbpm3/trunk/pom.xml	2008-07-17 19:25:24 UTC (rev 1672)
+++ jbpm3/trunk/pom.xml	2008-07-17 19:36:19 UTC (rev 1673)
@@ -95,11 +95,26 @@
       </dependency>
       <dependency>
         <groupId>org.jboss.jbpm</groupId>
+        <artifactId>jbpm-api-dialect-api10</artifactId>
+        <version>${jboss.jbpm.api.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbpm</groupId>
         <artifactId>jbpm-api-dialect-jpdl32</artifactId>
         <version>${jboss.jbpm.api.version}</version>
       </dependency>
       <dependency>
         <groupId>org.jboss.jbpm</groupId>
+        <artifactId>jbpm-api-dialect-stp</artifactId>
+        <version>${jboss.jbpm.api.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbpm</groupId>
+        <artifactId>jbpm-api-dialect-xpdl21</artifactId>
+        <version>${jboss.jbpm.api.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbpm</groupId>
         <artifactId>jbpm-api-testsuite</artifactId>
         <version>${jboss.jbpm.api.version}</version>
         <type>zip</type>




More information about the jbpm-commits mailing list