[jboss-svn-commits] JBL Code SVN: r34387 - labs/jbossrules/trunk/drools-grid/drools-grid-core/src/test/java/org/drools/grid.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jul 29 22:54:15 EDT 2010
Author: mark.proctor at jboss.com
Date: 2010-07-29 22:54:15 -0400 (Thu, 29 Jul 2010)
New Revision: 34387
Modified:
labs/jbossrules/trunk/drools-grid/drools-grid-core/src/test/java/org/drools/grid/ExecutionNodeBaseTest.java
Log:
JBRULES-2347 Camel
-More command Tweaks
Modified: labs/jbossrules/trunk/drools-grid/drools-grid-core/src/test/java/org/drools/grid/ExecutionNodeBaseTest.java
===================================================================
--- labs/jbossrules/trunk/drools-grid/drools-grid-core/src/test/java/org/drools/grid/ExecutionNodeBaseTest.java 2010-07-30 02:34:19 UTC (rev 34386)
+++ labs/jbossrules/trunk/drools-grid/drools-grid-core/src/test/java/org/drools/grid/ExecutionNodeBaseTest.java 2010-07-30 02:54:15 UTC (rev 34387)
@@ -27,7 +27,7 @@
import org.drools.builder.ResourceType;
import org.drools.command.Command;
import org.drools.command.impl.GenericCommand;
-import org.drools.command.runtime.BatchExecutionCommand;
+import org.drools.command.runtime.BatchExecutionCommandImpl;
import org.drools.command.runtime.rule.FireAllRulesCommand;
import org.drools.io.ResourceFactory;
import org.drools.runtime.ExecutionResults;
@@ -131,7 +131,7 @@
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
- BatchExecutionCommand script = new BatchExecutionCommand( Arrays.asList( new GenericCommand<?>[] { new FireAllRulesCommand( "fired" ) } ) );
+ BatchExecutionCommandImpl script = new BatchExecutionCommandImpl( Arrays.asList( new GenericCommand<?>[] { new FireAllRulesCommand( "fired" ) } ) );
ExecutionResults results = ksession.execute( script );
@@ -176,7 +176,7 @@
node.get(DirectoryLookupFactoryService.class).register( "ksession1",
ksession );
- BatchExecutionCommand script = new BatchExecutionCommand( Arrays.asList( new GenericCommand<?>[] { new FireAllRulesCommand( "fired" ) } ) );
+ BatchExecutionCommandImpl script = new BatchExecutionCommandImpl( Arrays.asList( new GenericCommand<?>[] { new FireAllRulesCommand( "fired" ) } ) );
ExecutionResults results = node.get(DirectoryLookupFactoryService.class).lookup( "ksession1" ).execute( script );
@@ -220,7 +220,7 @@
node.get(DirectoryLookupFactoryService.class).register( "ksession1",
ksession );
- BatchExecutionCommand script = new BatchExecutionCommand( Arrays.asList( new GenericCommand<?>[] { new FireAllRulesCommand( "fired" ) } ) );
+ BatchExecutionCommandImpl script = new BatchExecutionCommandImpl( Arrays.asList( new GenericCommand<?>[] { new FireAllRulesCommand( "fired" ) } ) );
ExecutionResults results = node.get(DirectoryLookupFactoryService.class).lookup( "ksession1" ).execute( script );
More information about the jboss-svn-commits
mailing list