Author: shane.bryzak(a)jboss.com
Date: 2009-05-07 06:03:57 -0400 (Thu, 07 May 2009)
New Revision: 10834
Modified:
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsActionHandler.java
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsAssignmentHandler.java
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsDecisionHandler.java
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsHandler.java
Log:
disabled jbpm support in drools
Modified:
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsActionHandler.java
===================================================================
---
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsActionHandler.java 2009-05-07
09:38:50 UTC (rev 10833)
+++
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsActionHandler.java 2009-05-07
10:03:57 UTC (rev 10834)
@@ -2,8 +2,8 @@
import java.util.List;
-import org.jbpm.graph.def.ActionHandler;
-import org.jbpm.graph.exe.ExecutionContext;
+//import org.jbpm.graph.def.ActionHandler;
+//import org.jbpm.graph.exe.ExecutionContext;
/**
* A jBPM ActionHandler that delegates to a Drools WorkingMemory
@@ -13,18 +13,18 @@
* @author Gavin King
*
*/
-public class DroolsActionHandler extends DroolsHandler implements ActionHandler
+public class DroolsActionHandler extends DroolsHandler //implements ActionHandler
{
private static final long serialVersionUID = 7752070876220597913L;
public List<String> assertObjects;
public String workingMemoryName;
- public void execute(ExecutionContext executionContext) throws Exception
- {
+ //public void execute(ExecutionContext executionContext) throws Exception
+ //{
// Disabled BPM support for now
//getWorkingMemory(workingMemoryName, assertObjects,
executionContext).fireAllRules();
- }
+ //}
}
\ No newline at end of file
Modified:
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsAssignmentHandler.java
===================================================================
---
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsAssignmentHandler.java 2009-05-07
09:38:50 UTC (rev 10833)
+++
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsAssignmentHandler.java 2009-05-07
10:03:57 UTC (rev 10834)
@@ -3,9 +3,9 @@
import java.util.List;
import org.drools.WorkingMemory;
-import org.jbpm.graph.exe.ExecutionContext;
-import org.jbpm.taskmgmt.def.AssignmentHandler;
-import org.jbpm.taskmgmt.exe.Assignable;
+//import org.jbpm.graph.exe.ExecutionContext;
+//import org.jbpm.taskmgmt.def.AssignmentHandler;
+//import org.jbpm.taskmgmt.exe.Assignable;
/**
* A jBPM AssignmentHandler that delegates to a Drools WorkingMemory
@@ -15,21 +15,21 @@
* @author Gavin King
*
*/
-public class DroolsAssignmentHandler extends DroolsHandler implements AssignmentHandler
+public class DroolsAssignmentHandler extends DroolsHandler //implements
AssignmentHandler
{
private static final long serialVersionUID = -7114640047036854546L;
public String workingMemoryName;
public List<String> assertObjects;
- public void assign(Assignable assignable, ExecutionContext executionContext) throws
Exception
- {
+ //public void assign(Assignable assignable, ExecutionContext executionContext) throws
Exception
+ //{
// Disabled BPM support for now
/*
WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects,
executionContext);
workingMemory.setGlobal( "assignable", assignable );
workingMemory.fireAllRules();
*/
- }
+ //}
}
\ No newline at end of file
Modified:
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsDecisionHandler.java
===================================================================
---
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsDecisionHandler.java 2009-05-07
09:38:50 UTC (rev 10833)
+++
modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsDecisionHandler.java 2009-05-07
10:03:57 UTC (rev 10834)
@@ -3,8 +3,8 @@
import java.util.List;
import org.drools.WorkingMemory;
-import org.jbpm.graph.exe.ExecutionContext;
-import org.jbpm.graph.node.DecisionHandler;
+//import org.jbpm.graph.exe.ExecutionContext;
+//import org.jbpm.graph.node.DecisionHandler;
/**
* A jBPM DecisionHandler that delegates to a Drools WorkingMemory
@@ -14,15 +14,15 @@
* @author Gavin King
*
*/
-public class DroolsDecisionHandler extends DroolsHandler implements DecisionHandler
+public class DroolsDecisionHandler extends DroolsHandler //implements DecisionHandler
{
private static final long serialVersionUID = -8900810376838166513L;
public List<String> assertObjects;
public String workingMemoryName;
- public String decide(ExecutionContext executionContext) throws Exception
- {
+ //public String decide(ExecutionContext executionContext) throws Exception
+ //{
// Disabled BPM support for now
/*
WorkingMemory workingMemory = getWorkingMemory(workingMemoryName, assertObjects,
executionContext);
@@ -31,7 +31,7 @@
return ( (Decision) workingMemory.getGlobal("decision") ).getOutcome();
*/
- return null;
- }
+ // return null;
+ //}
}
\ No newline at end of file
Modified: modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsHandler.java
===================================================================
--- modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsHandler.java 2009-05-07
09:38:50 UTC (rev 10833)
+++ modules/trunk/drools/src/main/java/org/jboss/seam/drools/DroolsHandler.java 2009-05-07
10:03:57 UTC (rev 10834)
@@ -4,8 +4,8 @@
import org.drools.FactHandle;
import org.drools.WorkingMemory;
-import org.jbpm.graph.exe.ExecutionContext;
-import org.jbpm.jpdl.el.ELException;
+//import org.jbpm.graph.exe.ExecutionContext;
+//import org.jbpm.jpdl.el.ELException;
/**
* Common functionality for jBPM handlers for Drools.
Show replies by date