[jbpm-commits] JBoss JBPM SVN: r4688 - jbpm3/trunk/modules/simulation/src/main/java/org/jbpm/sim/def.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri May 1 05:04:23 EDT 2009


Author: alex.guizar at jboss.com
Date: 2009-05-01 05:04:22 -0400 (Fri, 01 May 2009)
New Revision: 4688

Modified:
   jbpm3/trunk/modules/simulation/src/main/java/org/jbpm/sim/def/JbpmSimulationModel.java
Log:
[JBPM-2194] Allow clients to set the UserCodeInterceptor in the configuration file - simulation module

Modified: jbpm3/trunk/modules/simulation/src/main/java/org/jbpm/sim/def/JbpmSimulationModel.java
===================================================================
--- jbpm3/trunk/modules/simulation/src/main/java/org/jbpm/sim/def/JbpmSimulationModel.java	2009-05-01 08:50:05 UTC (rev 4687)
+++ jbpm3/trunk/modules/simulation/src/main/java/org/jbpm/sim/def/JbpmSimulationModel.java	2009-05-01 09:04:22 UTC (rev 4688)
@@ -148,7 +148,7 @@
     super(owner, name, true, true);
         
     // "install" the UserCode Intercepter (TODO: may not needed, delete then)
-    UserCodeInterceptorConfig.userCodeInterceptor = new SimulationUserCodeInterceptor();
+    UserCodeInterceptorConfig.setUserCodeInterceptor(new SimulationUserCodeInterceptor());
     
     // load special configuration for simulation run
 //    JbpmConfiguration.getInstance("org/jbpm/sim/simulation.cfg.xml");    




More information about the jbpm-commits mailing list