[jboss-svn-commits] JBL Code SVN: r9608 - in labs/jbossrules/branches/3.0.x/drools-jsr94: src/main/java/org/drools/jsr94/rules and 7 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Feb 19 11:57:55 EST 2007


Author: mark.proctor at jboss.com
Date: 2007-02-19 11:57:55 -0500 (Mon, 19 Feb 2007)
New Revision: 9608

Added:
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_1.xml
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_2.xml
Removed:
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf
Modified:
   labs/jbossrules/branches/3.0.x/drools-jsr94/.classpath
   labs/jbossrules/branches/3.0.x/drools-jsr94/.project
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/AbstractRuleSessionImpl.java
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatefulRuleSessionImpl.java
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatelessRuleSessionImpl.java
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/admin/RuleExecutionSetImpl.java
   labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java
Log:
JBRULES-607 Working memory is not disposed when releasing the RuleSession
-WorkingMemories now dispose() correctly, and stateless sessions no longer request to keep references
-Minor refactor for more code reuse
-copied across refactored unit testing, so it works from eclipse, maven and ant.

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/.classpath
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/.classpath	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/.classpath	2007-02-19 16:57:55 UTC (rev 9608)
@@ -1,33 +1,29 @@
 <classpath>
   <classpathentry kind="src" path="src/main/java"/>
-  <classpathentry kind="src" path="src/main/resources"/>
+  <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
   <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
-  <classpathentry kind="src" path="src/test/resources" output="target/test-classes"/>
+  <classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
   <classpathentry kind="output" path="target/classes"/>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/commons-jci-janino/2.4.3/commons-jci-janino-2.4.3.jar"/>
   <classpathentry kind="var" path="M2_REPO/jsr94/jsr94/1.1/jsr94-1.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/commons-jci-eclipse/3.2.0.666/commons-jci-eclipse-3.2.0.666.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/antlr/3.0ea8/antlr-3.0ea8.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.1/commons-io-1.1.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/apache/commons/commons-jci-core/1.0-406301/commons-jci-core-1.0-406301.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
+  <classpathentry kind="src" path="/drools-compiler"/>
   <classpathentry kind="var" path="M2_REPO/jsr94/jsr94-tck/1.0.3/jsr94-tck-1.0.3.jar"/>
-  <classpathentry kind="var" path="M2_REPO/colt/colt/1.2.0/colt-1.2.0.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.1/commons-io-1.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/antlr/stringtemplate/2.3b6/stringtemplate-2.3b6.jar"/>
-  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/antlr/antlr/3.0ea8/antlr-3.0ea8.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/eclipse/jdt/core/3.2.0.666/core-3.2.0.666.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/commons/commons-jci-eclipse/3.2.0.666/commons-jci-eclipse-3.2.0.666.jar"/>
+  <classpathentry kind="var" path="M2_REPO/janino/janino/2.4.3/janino-2.4.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar"/>
   <classpathentry kind="src" path="/drools-core"/>
   <classpathentry kind="var" path="M2_REPO/xstream/xstream/1.1.3/xstream-1.1.3.jar"/>
   <classpathentry kind="var" path="M2_REPO/xpp3/xpp3/1.1.3.4.O/xpp3-1.1.3.4.O.jar"/>
-  <classpathentry kind="var" path="M2_REPO/jsr94/jsr94-sigtest/1.1/jsr94-sigtest-1.1.jar"/>
   <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar"/>
-  <classpathentry kind="var" path="M2_REPO/janino/janino/2.4.3/janino-2.4.3.jar"/>
-  <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar"/>
-  <classpathentry kind="var" path="M2_REPO/jung/jung/1.7.2/jung-1.7.2.jar"/>
-  <classpathentry kind="src" path="/drools-compiler"/>
-  <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/commons/commons-jci-janino/2.4.3/commons-jci-janino-2.4.3.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar"/>
-  <classpathentry kind="var" path="M2_REPO/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/jsr94/jsr94-sigtest/1.1/jsr94-sigtest-1.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/antlr/stringtemplate/2.3b6/stringtemplate-2.3b6.jar"/>
 </classpath>
\ No newline at end of file

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/.project
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/.project	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/.project	2007-02-19 16:57:55 UTC (rev 9608)
@@ -2,30 +2,15 @@
   <name>drools-jsr94</name>
   <comment/>
   <projects>
-    <project>drools-core</project>
     <project>drools-compiler</project>
+    <project>drools-core</project>
   </projects>
   <buildSpec>
     <buildCommand>
       <name>org.eclipse.jdt.core.javabuilder</name>
-      <arguments/>
     </buildCommand>
-    <buildCommand>
-      <name>org.eclipse.wst.common.modulecore.ComponentStructuralBuilder</name>
-      <arguments/>
-    </buildCommand>
-    <buildCommand>
-      <name>org.eclipse.wst.validation.validationbuilder</name>
-      <arguments/>
-    </buildCommand>
-    <buildCommand>
-      <name>org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver</name>
-      <arguments/>
-    </buildCommand>
   </buildSpec>
   <natures>
     <nature>org.eclipse.jdt.core.javanature</nature>
-    <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
-    <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
   </natures>
 </projectDescription>
\ No newline at end of file

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/AbstractRuleSessionImpl.java
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/AbstractRuleSessionImpl.java	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/AbstractRuleSessionImpl.java	2007-02-19 16:57:55 UTC (rev 9608)
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
@@ -65,7 +66,7 @@
      * The Drools <code>WorkingMemory</code> associated
      * with this <code>RuleSession</code>.
      */
-    private WorkingMemory        workingMemory;
+    protected WorkingMemory        workingMemory;
 
     /**
      * The Drools <code>RuleExecutionSet</code> associated
@@ -82,28 +83,10 @@
     /**
      * Initialize this <code>RuleSession</code>
      * with a new <code>WorkingMemory</code>.
-     *
-     * @see #newWorkingMemory()
      */
-    protected void initWorkingMemory() {
-        this.setWorkingMemory( this.newWorkingMemory() );
-    }
+    protected void initWorkingMemory(boolean keepReference) {        
+        final WorkingMemory newWorkingMemory = this.getRuleExecutionSet().newWorkingMemory(keepReference);
 
-    /**
-     * Creates a new <code>WorkingMemory</code> for this
-     * <code>RuleSession</code>. All properties set prior to calling this method
-     * are added as application data to the new <code>WorkingMemory</code>.
-     * The created <code>WorkingMemory</code> uses the default conflict
-     * resolution strategy.
-     *
-     * @return the new <code>WorkingMemory</code>.
-     *
-     * @see #setProperties(Map)
-     * @see WorkingMemory#setApplicationData(String, Object)
-     */
-    protected WorkingMemory newWorkingMemory() {
-        final WorkingMemory newWorkingMemory = this.getRuleExecutionSet().newWorkingMemory();
-
         final Map props = this.getProperties();
         if ( props != null ) {
             for ( final Iterator iterator = props.entrySet().iterator(); iterator.hasNext(); ) {
@@ -112,8 +95,8 @@
                                             entry.getValue() );
             }
         }
-
-        return newWorkingMemory;
+        
+        this.setWorkingMemory( newWorkingMemory );
     }
 
     /**
@@ -145,6 +128,10 @@
      *        with this <code>RuleSession</code>.
      */
     protected void setWorkingMemory(final WorkingMemory workingMemory) {
+        // first dispose any existing working memories
+        if ( this.workingMemory != null ) {
+            this.workingMemory.dispose();
+        }        
         this.workingMemory = workingMemory;
     }
 
@@ -192,27 +179,71 @@
             throw new InvalidRuleSessionException( "invalid rule session" );
         }
     }
+    
+    /**
+     * Returns a List of all objects in the rule session state of this rule
+     * session. The objects should pass the default filter test of the default
+     * <code>RuleExecutionSet</code> filter (if present). <p/> This may not
+     * neccessarily include all objects added by calls to <code>addObject</code>,
+     * and may include <code>Object</code>s created by side-effects. The
+     * execution of a <code>RuleExecutionSet</code> can add, remove and update
+     * objects as part of the rule session state. Therefore the rule session
+     * state is dependent on the rules that are part of the executed
+     * <code>RuleExecutionSet</code> as well as the rule vendor's specific
+     * rule engine behavior.
+     * 
+     * @return a <code>List</code> of all objects part of the rule session
+     *         state.
+     * 
+     * @throws InvalidRuleSessionException
+     *             on illegal rule session state.
+     */
+    public List getObjects() throws InvalidRuleSessionException {
+        checkRuleSessionValidity();
 
+        return getObjects( getRuleExecutionSet().getObjectFilter() );
+    }    
+    
     /**
-     * Applies the given <code>ObjectFilter</code> to the <code>List</code> of
-     * <code>Object</code>s, removing all <code>Object</code>s from the given
-     * <code>List</code> that do not pass the filter.
-     *
-     * @param objects <code>List</code> of <code>Object</code>s to be filtered
-     * @param objectFilter the <code>ObjectFilter</code> to be applied
+     * Returns a <code>List</code> over the objects in rule session state of
+     * this rule session. The objects should pass the filter test on the
+     * specified <code>ObjectFilter</code>. <p/> This may not neccessarily
+     * include all objects added by calls to <code>addObject</code>, and may
+     * include <code>Object</code>s created by side-effects. The execution of
+     * a <code>RuleExecutionSet</code> can add, remove and update objects as
+     * part of the rule session state. Therefore the rule session state is
+     * dependent on the rules that are part of the executed
+     * <code>RuleExecutionSet</code> as well as the rule vendor's specific
+     * rule engine behavior.
+     * 
+     * @param filter
+     *            the object filter.
+     * 
+     * @return a <code>List</code> of all the objects in the rule session
+     *         state of this rule session based upon the given object filter.
+     * 
+     * @throws InvalidRuleSessionException
+     *             on illegal rule session state.
      */
-    protected void applyFilter(final List objects,
-                               final ObjectFilter objectFilter) {
-        if ( objectFilter != null ) {
+    public List getObjects(final ObjectFilter filter) throws InvalidRuleSessionException {
+        checkRuleSessionValidity();
+
+        final List objects = new ArrayList();
+
+        objects.addAll( getWorkingMemory().getObjects() );
+
+        if ( filter != null ) {
             for ( final Iterator objectIter = objects.iterator(); objectIter.hasNext(); ) {
                 final Object object = objectIter.next();
-                if ( objectFilter.filter( object ) == null ) {
+                if ( filter.filter( object ) == null ) {
                     objectIter.remove();
                 }
             }
         }
-    }
 
+        return objects;
+    }    
+
     // JSR94 interface methods start here -------------------------------------
 
     /**
@@ -238,48 +269,16 @@
     }
 
     /**
-     * Returns the type identifier for this <code>RuleSession</code>. The
-     * type identifiers are defined in the <code>RuleRuntime</code> interface.
-     *
-     * @return the type identifier for this <code>RuleSession</code>
-     *
-     * @throws InvalidRuleSessionException on illegal rule session state.
-     *
-     * @see RuleRuntime#STATEFUL_SESSION_TYPE
-     * @see RuleRuntime#STATELESS_SESSION_TYPE
-     */
-    public int getType() throws InvalidRuleSessionException {
-        if ( this instanceof StatelessRuleSession ) {
-            return RuleRuntime.STATELESS_SESSION_TYPE;
-        }
-
-        if ( this instanceof StatefulRuleSession ) {
-            return RuleRuntime.STATEFUL_SESSION_TYPE;
-        }
-
-        throw new InvalidRuleSessionException( "unknown type" );
-    }
-
-    /**
      * Releases all resources used by this rule session.
      * This method renders this rule session unusable until
      * it is reacquired through the <code>RuleRuntime</code>.
      */
     public void release() {
-        this.setProperties( null );
-        this.setWorkingMemory( null );
-        this.setRuleExecutionSet( null );
+        if ( this.workingMemory != null ) {
+            this.workingMemory.dispose();
+        }
+        setProperties( null );
+        setWorkingMemory( null );
+        setRuleExecutionSet( null );
     }
-
-    /**
-     * Resets this rule session. Calling this method will bring the rule session
-     * state to its initial state for this rule session and will reset any other
-     * state associated with this rule session.
-     * <p/>
-     * A reset will not reset the state on the default object filter for a
-     * <code>RuleExecutionSet</code>.
-     */
-    public void reset() {
-        this.initWorkingMemory();
-    }
 }

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatefulRuleSessionImpl.java
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatefulRuleSessionImpl.java	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatefulRuleSessionImpl.java	2007-02-19 16:57:55 UTC (rev 9608)
@@ -27,6 +27,7 @@
 import javax.rules.InvalidRuleSessionException;
 import javax.rules.ObjectFilter;
 import javax.rules.RuleExecutionSetNotFoundException;
+import javax.rules.RuleRuntime;
 import javax.rules.StatefulRuleSession;
 
 import org.drools.FactException;
@@ -85,7 +86,7 @@
                             final Map properties,
                             final RuleExecutionSetRepository repository) throws RuleExecutionSetNotFoundException {
         super( repository );
-        this.setProperties( properties );
+        setProperties( properties );
 
         final RuleExecutionSetImpl ruleSet = (RuleExecutionSetImpl) repository.getRuleExecutionSet( bindUri );
 
@@ -95,7 +96,7 @@
 
         this.setRuleExecutionSet( ruleSet );
 
-        this.initWorkingMemory();
+        initWorkingMemory( true );
     }
 
     // ----------------------------------------------------------------------
@@ -114,7 +115,7 @@
      */
     public boolean containsObject(final Handle objectHandle) {
         if ( objectHandle instanceof FactHandle ) {
-            return this.getWorkingMemory().getObject( (FactHandle) objectHandle ) != null;
+            return getWorkingMemory().getObject( (FactHandle) objectHandle ) != null;
         }
 
         return false;
@@ -136,14 +137,8 @@
      *             on illegal rule session state.
      */
     public Handle addObject(final Object object) throws InvalidRuleSessionException {
-        this.checkRuleSessionValidity();
-
-        try {
-            return (Handle) this.getWorkingMemory().assertObject( object );
-        } catch ( final FactException e ) {
-            throw new InvalidRuleSessionException( "cannot assert object",
-                                                   e );
-        }
+        checkRuleSessionValidity();
+        return (Handle) getWorkingMemory().assertObject( object );
     }
 
     /**
@@ -161,12 +156,12 @@
      *             on illegal rule session state.
      */
     public List addObjects(final List objList) throws InvalidRuleSessionException {
-        this.checkRuleSessionValidity();
+        checkRuleSessionValidity();
 
         final List handles = new ArrayList();
 
         for ( final Iterator objectIter = objList.iterator(); objectIter.hasNext(); ) {
-            handles.add( this.addObject( objectIter.next() ) );
+            handles.add( addObject( objectIter.next() ) );
         }
         return handles;
     }
@@ -191,16 +186,11 @@
     public void updateObject(final Handle objectHandle,
                              final Object newObject) throws InvalidRuleSessionException,
                                                     InvalidHandleException {
-        this.checkRuleSessionValidity();
+        checkRuleSessionValidity();
 
         if ( objectHandle instanceof FactHandle ) {
-            try {
-                this.getWorkingMemory().modifyObject( (FactHandle) objectHandle,
-                                                      newObject );
-            } catch ( final FactException e ) {
-                throw new InvalidRuleSessionException( "cannot update object",
-                                                       e );
-            }
+            getWorkingMemory().modifyObject( (FactHandle) objectHandle,
+                                             newObject );
         } else {
             throw new InvalidHandleException( "invalid handle" );
 
@@ -221,79 +211,16 @@
      */
     public void removeObject(final Handle handleObject) throws InvalidRuleSessionException,
                                                        InvalidHandleException {
-        this.checkRuleSessionValidity();
+        checkRuleSessionValidity();
 
         if ( handleObject instanceof FactHandle ) {
-            try {
-                this.getWorkingMemory().retractObject( (FactHandle) handleObject );
-            } catch ( final FactException e ) {
-                throw new InvalidRuleSessionException( "cannot remove object",
-                                                       e );
-            }
+            getWorkingMemory().retractObject( (FactHandle) handleObject );
         } else {
             throw new InvalidHandleException( "invalid handle" );
         }
     }
 
     /**
-     * Returns a List of all objects in the rule session state of this rule
-     * session. The objects should pass the default filter test of the default
-     * <code>RuleExecutionSet</code> filter (if present). <p/> This may not
-     * neccessarily include all objects added by calls to <code>addObject</code>,
-     * and may include <code>Object</code>s created by side-effects. The
-     * execution of a <code>RuleExecutionSet</code> can add, remove and update
-     * objects as part of the rule session state. Therefore the rule session
-     * state is dependent on the rules that are part of the executed
-     * <code>RuleExecutionSet</code> as well as the rule vendor's specific
-     * rule engine behavior.
-     * 
-     * @return a <code>List</code> of all objects part of the rule session
-     *         state.
-     * 
-     * @throws InvalidRuleSessionException
-     *             on illegal rule session state.
-     */
-    public List getObjects() throws InvalidRuleSessionException {
-        this.checkRuleSessionValidity();
-
-        return this.getObjects( this.getRuleExecutionSet().getObjectFilter() );
-    }
-
-    /**
-     * Returns a <code>List</code> over the objects in rule session state of
-     * this rule session. The objects should pass the filter test on the
-     * specified <code>ObjectFilter</code>. <p/> This may not neccessarily
-     * include all objects added by calls to <code>addObject</code>, and may
-     * include <code>Object</code>s created by side-effects. The execution of
-     * a <code>RuleExecutionSet</code> can add, remove and update objects as
-     * part of the rule session state. Therefore the rule session state is
-     * dependent on the rules that are part of the executed
-     * <code>RuleExecutionSet</code> as well as the rule vendor's specific
-     * rule engine behavior.
-     * 
-     * @param filter
-     *            the object filter.
-     * 
-     * @return a <code>List</code> of all the objects in the rule session
-     *         state of this rule session based upon the given object filter.
-     * 
-     * @throws InvalidRuleSessionException
-     *             on illegal rule session state.
-     */
-    public List getObjects(final ObjectFilter filter) throws InvalidRuleSessionException {
-        this.checkRuleSessionValidity();
-
-        final List objects = new ArrayList();
-
-        objects.addAll( this.getWorkingMemory().getObjects() );
-
-        this.applyFilter( objects,
-                          filter );
-
-        return objects;
-    }
-
-    /**
      * Executes the rules in the bound rule execution set using the objects
      * present in the rule session state. This will typically modify the rule
      * session state - and may add, remove or update <code>Object</code>s
@@ -303,13 +230,8 @@
      *             on illegal rule session state.
      */
     public void executeRules() throws InvalidRuleSessionException {
-        this.checkRuleSessionValidity();
-
-        //		try {
-        this.getWorkingMemory().fireAllRules();
-        //		} catch (DroolsException e) {
-        //			throw new InvalidRuleSessionException("cannot execute rules", e);
-        //		}
+        checkRuleSessionValidity();
+        getWorkingMemory().fireAllRules();
     }
 
     /**
@@ -317,15 +239,10 @@
      */
     public Object getObject(final Handle handle) throws InvalidRuleSessionException,
                                                 InvalidHandleException {
-        this.checkRuleSessionValidity();
+       checkRuleSessionValidity();
 
         if ( handle instanceof FactHandle ) {
-            try {
-                return this.getWorkingMemory().getObject( (FactHandle) handle );
-            } catch ( final NoSuchFactObjectException e ) {
-                throw new InvalidHandleException( "invalid handle",
-                                                  e );
-            }
+            return getWorkingMemory().getObject( (FactHandle) handle );
         } else {
             throw new InvalidHandleException( "invalid handle" );
         }
@@ -340,7 +257,7 @@
      */
     public List getHandles() {
         final List handles = new LinkedList();
-        for ( final Iterator i = this.getWorkingMemory().getFactHandles().iterator(); i.hasNext(); ) {
+        for ( final Iterator i = getWorkingMemory().getFactHandles().iterator(); i.hasNext(); ) {
             final Object object = i.next();
             if ( object instanceof Handle ) {
                 handles.add( object );
@@ -348,4 +265,21 @@
         }
         return handles;
     }
+
+    /**
+     * Resets this rule session. Calling this method will bring the rule session
+     * state to its initial state for this rule session and will reset any other
+     * state associated with this rule session.
+     * <p/>
+     * A reset will not reset the state on the default object filter for a
+     * <code>RuleExecutionSet</code>.
+     */
+    public void reset() {
+        // stateful rule sessions should not be high load, thus safe to keep references
+        initWorkingMemory( true );
+    }
+
+    public int getType() throws InvalidRuleSessionException {
+        return RuleRuntime.STATEFUL_SESSION_TYPE;
+    }
 }

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatelessRuleSessionImpl.java
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatelessRuleSessionImpl.java	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/StatelessRuleSessionImpl.java	2007-02-19 16:57:55 UTC (rev 9608)
@@ -22,6 +22,7 @@
 import javax.rules.InvalidRuleSessionException;
 import javax.rules.ObjectFilter;
 import javax.rules.RuleExecutionSetNotFoundException;
+import javax.rules.RuleRuntime;
 import javax.rules.StatelessRuleSession;
 
 import org.drools.FactException;
@@ -59,7 +60,7 @@
                              final Map properties,
                              final RuleExecutionSetRepository repository) throws RuleExecutionSetNotFoundException {
         super( repository );
-        this.setProperties( properties );
+        setProperties( properties );
 
         final RuleExecutionSetImpl ruleSet = (RuleExecutionSetImpl) repository.getRuleExecutionSet( bindUri );
 
@@ -67,7 +68,7 @@
             throw new RuleExecutionSetNotFoundException( "RuleExecutionSet unbound: " + bindUri );
         }
 
-        this.setRuleExecutionSet( ruleSet );
+        setRuleExecutionSet( ruleSet );
     }
 
     /**
@@ -94,8 +95,8 @@
      *             on illegal rule session state.
      */
     public List executeRules(final List objects) throws InvalidRuleSessionException {
-        return this.executeRules( objects,
-                                  this.getRuleExecutionSet().getObjectFilter() );
+        return executeRules( objects,
+                             this.getRuleExecutionSet().getObjectFilter() );
     }
 
     /**
@@ -124,24 +125,21 @@
      */
     public List executeRules(final List objects,
                              final ObjectFilter filter) throws InvalidRuleSessionException {
-        final WorkingMemory workingMemory = this.newWorkingMemory();
+        // get a new working memory with no references kept (i.e. it doesn't need to be disposed)
+        initWorkingMemory( false );
 
-        try {
-            for ( final Iterator objectIter = objects.iterator(); objectIter.hasNext(); ) {
-                workingMemory.assertObject( objectIter.next() );
-            }
-
-            workingMemory.fireAllRules();
-        } catch ( final FactException e ) {
-            throw new InvalidRuleSessionException( e.getMessage(),
-                                                   e );
+        WorkingMemory workingMemory = getWorkingMemory();
+        for ( final Iterator objectIter = objects.iterator(); objectIter.hasNext(); ) {
+            workingMemory.assertObject( objectIter.next() );
         }
+        workingMemory.fireAllRules();            
 
-        final List results = workingMemory.getObjects();
+        final List results = getObjects(filter);
 
-        this.applyFilter( results,
-                          filter );
-
         return results;
     }
+    
+    public int getType() throws InvalidRuleSessionException {
+        return RuleRuntime.STATELESS_SESSION_TYPE;
+    }
 }

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/admin/RuleExecutionSetImpl.java
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/admin/RuleExecutionSetImpl.java	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/main/java/org/drools/jsr94/rules/admin/RuleExecutionSetImpl.java	2007-02-19 16:57:55 UTC (rev 9608)
@@ -156,8 +156,8 @@
      *
      * @return A new WorkingMemory object.
      */
-    public WorkingMemory newWorkingMemory() {
-        return this.ruleBase.newWorkingMemory();
+    public WorkingMemory newWorkingMemory(boolean keepReference) {
+        return this.ruleBase.newWorkingMemory(keepReference);
     }
 
     // JSR94 interface methods start here -------------------------------------

Modified: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java	2007-02-19 16:57:07 UTC (rev 9607)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java	2007-02-19 16:57:55 UTC (rev 9608)
@@ -9,9 +9,20 @@
 package org.jcp.jsr94.tck;
 
 // java imports
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.net.URL;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipOutputStream;
+
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
+import org.drools.jsr94.rules.Jsr94FactHandle;
 import org.jcp.jsr94.tck.admin.LocalRuleExecutionSetProviderTest;
 import org.jcp.jsr94.tck.admin.RuleAdministrationExceptionTest;
 import org.jcp.jsr94.tck.admin.RuleAdministratorTest;
@@ -28,8 +39,7 @@
 public class AllTests extends TestSuite {
 
     public static Test suite() {
-        //        System.setProperty( "jsr94.tck.configuration",
-        //                            "src/test/resources/org/drools/jsr94/tck" );
+        setTckConf();
 
         final TestSuite suite = new TestSuite( "JSR 94 Test Compatability Kit" );
         suite.addTestSuite( ApiSignatureTest.class );
@@ -62,4 +72,103 @@
         suite.addTestSuite( RuleTest.class );
         return suite;
     }
+
+    /**
+     * Because the tck.conf relies on directory paths that are not universally the same from eclipse, maven
+     * and ant this method create a tck.conf on the fly with the correct locations, it also create a jar
+     * on the fly which it uses as the jar url location.
+     *
+     */
+    private static void setTckConf() {
+        File jarFile = null;
+        ZipOutputStream zos = null;
+        File rootDirectory = null;
+        try {
+            jarFile = File.createTempFile( "drools-jsr94",
+                                           ".jar" );
+
+            URL url = Jsr94FactHandle.class.getResource( "Jsr94FactHandle.class" );
+            rootDirectory = new File( url.getFile() ).getParentFile().getParentFile().getParentFile().getParentFile();
+
+            zos = new ZipOutputStream( new FileOutputStream( jarFile ) );
+            zipDir( rootDirectory,
+                    zos );
+        } catch ( Exception e ) {
+            e.printStackTrace();
+        } finally {
+            if ( zos != null ) {
+                try {
+                    zos.close();
+                } catch ( IOException e ) {
+                }
+            }
+        }
+
+        String conf = "";
+        conf += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
+        conf += "<tck-configuration>\n";
+        conf += "<test-factory>org.jcp.jsr94.tck.util.TestFactory</test-factory>\n";
+        conf += "<rule-service-provider>org.drools.jsr94.rules.RuleServiceProviderImpl</rule-service-provider>\n";
+        conf += "<rule-service-provider-jar-url>file://" + jarFile.getAbsolutePath() + "</rule-service-provider-jar-url>\n";
+
+        URL url = AllTests.class.getResource( "AllTests.class" );
+        String setLocation = new File( url.getFile() ).getParentFile().getAbsolutePath().replaceAll( "\\\\",
+                                                                                                     "/" );
+        // the tck needs an asbolute path, with no drive letters
+        if ( setLocation.charAt( 1 ) == ':' ) {
+            setLocation = setLocation.substring( 2 );
+        }
+        conf += "<rule-execution-set-location>" + setLocation + "</rule-execution-set-location>\n";
+        conf += "</tck-configuration>";
+
+        url = AllTests.class.getResource( "tck.conf" );
+        File tckConf = new File( url.getFile() );
+        BufferedWriter buffWriter = null;
+        try {
+            FileWriter fileWriter = new FileWriter( tckConf );
+            buffWriter = new BufferedWriter( fileWriter );
+            buffWriter.write( conf );
+        } catch ( IOException e ) {
+            e.printStackTrace();
+        } finally {
+            try {
+                buffWriter.close();
+            } catch ( IOException e ) {
+                e.printStackTrace();
+            }
+        }
+
+        System.setProperty( "jsr94.tck.configuration",
+                            tckConf.getParent() );
+
+    }
+
+    public static void zipDir(File zipDir,
+                              ZipOutputStream zos) {
+        try {
+            String[] dirList = zipDir.list();
+            byte[] readBuffer = new byte[2156];
+            int bytesIn = 0;
+            for ( int i = 0; i < dirList.length; i++ ) {
+                File f = new File( zipDir,
+                                   dirList[i] );
+                if ( f.isDirectory() ) {
+                    zipDir( f,
+                            zos );
+                    continue;
+                }
+                FileInputStream fis = new FileInputStream( f );
+                ZipEntry anEntry = new ZipEntry( f.getPath() );
+                zos.putNextEntry( anEntry );
+                while ( (bytesIn = fis.read( readBuffer )) != -1 ) {
+                    zos.write( readBuffer,
+                               0,
+                               bytesIn );
+                }
+                fis.close();
+            }
+        } catch ( Exception e ) {
+            e.printStackTrace();
+        }
+    }
 }

Copied: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck (from rev 9597, labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck)

Deleted: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/jaxrules.sig	2007-02-19 14:32:00 UTC (rev 9597)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig	2007-02-19 16:57:55 UTC (rev 9608)
@@ -1,446 +0,0 @@
-#Signature file
-#Version 1.4.2_03
-CLSS public javax.rules.ConfigurationException
-cons public ConfigurationException(java.lang.String)
-cons public ConfigurationException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleException
-CLSS public abstract interface javax.rules.Handle
-intf java.io.Serializable
-supr null
-CLSS public javax.rules.InvalidHandleException
-cons public InvalidHandleException(java.lang.String)
-cons public InvalidHandleException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public javax.rules.InvalidRuleSessionException
-cons public InvalidRuleSessionException(java.lang.String)
-cons public InvalidRuleSessionException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public abstract interface javax.rules.ObjectFilter
-intf java.io.Serializable
-meth public abstract java.lang.Object filter(java.lang.Object)
-meth public abstract void reset()
-supr null
-CLSS public javax.rules.RuleException
-cons public RuleException(java.lang.String)
-cons public RuleException(java.lang.String,java.lang.Throwable)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr java.lang.Exception
-CLSS public javax.rules.RuleExecutionException
-cons public RuleExecutionException(java.lang.String)
-cons public RuleExecutionException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleException
-CLSS public abstract interface javax.rules.RuleExecutionSetMetadata
-intf java.io.Serializable
-meth public abstract java.lang.String getDescription()
-meth public abstract java.lang.String getName()
-meth public abstract java.lang.String getUri()
-supr null
-CLSS public javax.rules.RuleExecutionSetNotFoundException
-cons public RuleExecutionSetNotFoundException(java.lang.String)
-cons public RuleExecutionSetNotFoundException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public abstract interface javax.rules.RuleRuntime
-fld  public static final int STATEFUL_SESSION_TYPE
-fld  public static final int STATELESS_SESSION_TYPE
-intf java.io.Serializable
-meth public abstract java.util.List getRegistrations() throws java.rmi.RemoteException
-meth public abstract javax.rules.RuleSession createRuleSession(java.lang.String,java.util.Map,int) throws java.rmi.RemoteException,javax.rules.RuleExecutionSetNotFoundException,javax.rules.RuleSessionCreateException,javax.rules.RuleSessionTypeUnsupportedException
-supr null
-CLSS public abstract javax.rules.RuleServiceProvider
-cons public RuleServiceProvider()
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected static java.lang.Object createInstance(java.lang.String) throws java.lang.ClassNotFoundException,java.lang.IllegalAccessException,java.lang.InstantiationException
-meth protected void finalize() throws java.lang.Throwable
-meth public abstract javax.rules.RuleRuntime getRuleRuntime() throws javax.rules.ConfigurationException
-meth public abstract javax.rules.admin.RuleAdministrator getRuleAdministrator() throws javax.rules.ConfigurationException
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String toString()
-meth public void setClassLoader(java.lang.ClassLoader)
-supr java.lang.Object
-CLSS public abstract javax.rules.RuleServiceProviderManager
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String toString()
-meth public static javax.rules.RuleServiceProvider getRuleServiceProvider(java.lang.String) throws javax.rules.ConfigurationException
-meth public static void deregisterRuleServiceProvider(java.lang.String)
-meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class) throws javax.rules.ConfigurationException
-meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class,java.lang.ClassLoader) throws javax.rules.ConfigurationException
-supr java.lang.Object
-CLSS public abstract interface javax.rules.RuleSession
-meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-supr null
-CLSS public javax.rules.RuleSessionCreateException
-cons public RuleSessionCreateException(java.lang.String)
-cons public RuleSessionCreateException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public javax.rules.RuleSessionTypeUnsupportedException
-cons public RuleSessionTypeUnsupportedException(java.lang.String)
-cons public RuleSessionTypeUnsupportedException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public abstract interface javax.rules.StatefulRuleSession
-intf java.io.Serializable
-intf javax.rules.RuleSession
-meth public abstract boolean containsObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.lang.Object getObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List addObjects(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List getHandles() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List getObjects() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List getObjects(javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.Handle addObject(java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void executeRules() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void removeObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-meth public abstract void reset() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void updateObject(javax.rules.Handle,java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-supr null
-CLSS public abstract interface javax.rules.StatelessRuleSession
-intf javax.rules.RuleSession
-meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List executeRules(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List executeRules(java.util.List,javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-supr null
-CLSS public abstract interface javax.rules.admin.LocalRuleExecutionSetProvider
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object,java.util.Map) throws javax.rules.admin.RuleExecutionSetCreateException
-supr null
-CLSS public abstract interface javax.rules.admin.Rule
-intf java.io.Serializable
-meth public abstract java.lang.Object getProperty(java.lang.Object)
-meth public abstract java.lang.String getDescription()
-meth public abstract java.lang.String getName()
-meth public abstract void setProperty(java.lang.Object,java.lang.Object)
-supr null
-CLSS public javax.rules.admin.RuleAdministrationException
-cons public RuleAdministrationException(java.lang.String)
-cons public RuleAdministrationException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleException
-CLSS public abstract interface javax.rules.admin.RuleAdministrator
-meth public abstract javax.rules.admin.LocalRuleExecutionSetProvider getLocalRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
-meth public abstract javax.rules.admin.RuleExecutionSetProvider getRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
-meth public abstract void deregisterRuleExecutionSet(java.lang.String,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetDeregistrationException
-meth public abstract void registerRuleExecutionSet(java.lang.String,javax.rules.admin.RuleExecutionSet,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetRegisterException
-supr null
-CLSS public abstract interface javax.rules.admin.RuleExecutionSet
-intf java.io.Serializable
-meth public abstract java.lang.Object getProperty(java.lang.Object)
-meth public abstract java.lang.String getDefaultObjectFilter()
-meth public abstract java.lang.String getDescription()
-meth public abstract java.lang.String getName()
-meth public abstract java.util.List getRules()
-meth public abstract void setDefaultObjectFilter(java.lang.String)
-meth public abstract void setProperty(java.lang.Object,java.lang.Object)
-supr null
-CLSS public javax.rules.admin.RuleExecutionSetCreateException
-cons public RuleExecutionSetCreateException(java.lang.String)
-cons public RuleExecutionSetCreateException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.admin.RuleAdministrationException
-CLSS public javax.rules.admin.RuleExecutionSetDeregistrationException
-cons public RuleExecutionSetDeregistrationException(java.lang.String)
-cons public RuleExecutionSetDeregistrationException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.admin.RuleAdministrationException
-CLSS public abstract interface javax.rules.admin.RuleExecutionSetProvider
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Serializable,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.String,java.util.Map) throws java.io.IOException,java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(org.w3c.dom.Element,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
-supr null
-CLSS public javax.rules.admin.RuleExecutionSetRegisterException
-cons public RuleExecutionSetRegisterException(java.lang.String)
-cons public RuleExecutionSetRegisterException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.admin.RuleAdministrationException

Copied: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig (from rev 9606, labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/jaxrules.sig)
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig	                        (rev 0)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules.sig	2007-02-19 16:57:55 UTC (rev 9608)
@@ -0,0 +1,446 @@
+#Signature file
+#Version 1.4.2_03
+CLSS public javax.rules.ConfigurationException
+cons public ConfigurationException(java.lang.String)
+cons public ConfigurationException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleException
+CLSS public abstract interface javax.rules.Handle
+intf java.io.Serializable
+supr null
+CLSS public javax.rules.InvalidHandleException
+cons public InvalidHandleException(java.lang.String)
+cons public InvalidHandleException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public javax.rules.InvalidRuleSessionException
+cons public InvalidRuleSessionException(java.lang.String)
+cons public InvalidRuleSessionException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public abstract interface javax.rules.ObjectFilter
+intf java.io.Serializable
+meth public abstract java.lang.Object filter(java.lang.Object)
+meth public abstract void reset()
+supr null
+CLSS public javax.rules.RuleException
+cons public RuleException(java.lang.String)
+cons public RuleException(java.lang.String,java.lang.Throwable)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr java.lang.Exception
+CLSS public javax.rules.RuleExecutionException
+cons public RuleExecutionException(java.lang.String)
+cons public RuleExecutionException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleException
+CLSS public abstract interface javax.rules.RuleExecutionSetMetadata
+intf java.io.Serializable
+meth public abstract java.lang.String getDescription()
+meth public abstract java.lang.String getName()
+meth public abstract java.lang.String getUri()
+supr null
+CLSS public javax.rules.RuleExecutionSetNotFoundException
+cons public RuleExecutionSetNotFoundException(java.lang.String)
+cons public RuleExecutionSetNotFoundException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public abstract interface javax.rules.RuleRuntime
+fld  public static final int STATEFUL_SESSION_TYPE
+fld  public static final int STATELESS_SESSION_TYPE
+intf java.io.Serializable
+meth public abstract java.util.List getRegistrations() throws java.rmi.RemoteException
+meth public abstract javax.rules.RuleSession createRuleSession(java.lang.String,java.util.Map,int) throws java.rmi.RemoteException,javax.rules.RuleExecutionSetNotFoundException,javax.rules.RuleSessionCreateException,javax.rules.RuleSessionTypeUnsupportedException
+supr null
+CLSS public abstract javax.rules.RuleServiceProvider
+cons public RuleServiceProvider()
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected static java.lang.Object createInstance(java.lang.String) throws java.lang.ClassNotFoundException,java.lang.IllegalAccessException,java.lang.InstantiationException
+meth protected void finalize() throws java.lang.Throwable
+meth public abstract javax.rules.RuleRuntime getRuleRuntime() throws javax.rules.ConfigurationException
+meth public abstract javax.rules.admin.RuleAdministrator getRuleAdministrator() throws javax.rules.ConfigurationException
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String toString()
+meth public void setClassLoader(java.lang.ClassLoader)
+supr java.lang.Object
+CLSS public abstract javax.rules.RuleServiceProviderManager
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String toString()
+meth public static javax.rules.RuleServiceProvider getRuleServiceProvider(java.lang.String) throws javax.rules.ConfigurationException
+meth public static void deregisterRuleServiceProvider(java.lang.String)
+meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class) throws javax.rules.ConfigurationException
+meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class,java.lang.ClassLoader) throws javax.rules.ConfigurationException
+supr java.lang.Object
+CLSS public abstract interface javax.rules.RuleSession
+meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+supr null
+CLSS public javax.rules.RuleSessionCreateException
+cons public RuleSessionCreateException(java.lang.String)
+cons public RuleSessionCreateException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public javax.rules.RuleSessionTypeUnsupportedException
+cons public RuleSessionTypeUnsupportedException(java.lang.String)
+cons public RuleSessionTypeUnsupportedException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public abstract interface javax.rules.StatefulRuleSession
+intf java.io.Serializable
+intf javax.rules.RuleSession
+meth public abstract boolean containsObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.lang.Object getObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List addObjects(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List getHandles() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List getObjects() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List getObjects(javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.Handle addObject(java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void executeRules() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void removeObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+meth public abstract void reset() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void updateObject(javax.rules.Handle,java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+supr null
+CLSS public abstract interface javax.rules.StatelessRuleSession
+intf javax.rules.RuleSession
+meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List executeRules(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List executeRules(java.util.List,javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+supr null
+CLSS public abstract interface javax.rules.admin.LocalRuleExecutionSetProvider
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object,java.util.Map) throws javax.rules.admin.RuleExecutionSetCreateException
+supr null
+CLSS public abstract interface javax.rules.admin.Rule
+intf java.io.Serializable
+meth public abstract java.lang.Object getProperty(java.lang.Object)
+meth public abstract java.lang.String getDescription()
+meth public abstract java.lang.String getName()
+meth public abstract void setProperty(java.lang.Object,java.lang.Object)
+supr null
+CLSS public javax.rules.admin.RuleAdministrationException
+cons public RuleAdministrationException(java.lang.String)
+cons public RuleAdministrationException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleException
+CLSS public abstract interface javax.rules.admin.RuleAdministrator
+meth public abstract javax.rules.admin.LocalRuleExecutionSetProvider getLocalRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
+meth public abstract javax.rules.admin.RuleExecutionSetProvider getRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
+meth public abstract void deregisterRuleExecutionSet(java.lang.String,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetDeregistrationException
+meth public abstract void registerRuleExecutionSet(java.lang.String,javax.rules.admin.RuleExecutionSet,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetRegisterException
+supr null
+CLSS public abstract interface javax.rules.admin.RuleExecutionSet
+intf java.io.Serializable
+meth public abstract java.lang.Object getProperty(java.lang.Object)
+meth public abstract java.lang.String getDefaultObjectFilter()
+meth public abstract java.lang.String getDescription()
+meth public abstract java.lang.String getName()
+meth public abstract java.util.List getRules()
+meth public abstract void setDefaultObjectFilter(java.lang.String)
+meth public abstract void setProperty(java.lang.Object,java.lang.Object)
+supr null
+CLSS public javax.rules.admin.RuleExecutionSetCreateException
+cons public RuleExecutionSetCreateException(java.lang.String)
+cons public RuleExecutionSetCreateException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.admin.RuleAdministrationException
+CLSS public javax.rules.admin.RuleExecutionSetDeregistrationException
+cons public RuleExecutionSetDeregistrationException(java.lang.String)
+cons public RuleExecutionSetDeregistrationException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.admin.RuleAdministrationException
+CLSS public abstract interface javax.rules.admin.RuleExecutionSetProvider
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Serializable,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.String,java.util.Map) throws java.io.IOException,java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(org.w3c.dom.Element,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
+supr null
+CLSS public javax.rules.admin.RuleExecutionSetRegisterException
+cons public RuleExecutionSetRegisterException(java.lang.String)
+cons public RuleExecutionSetRegisterException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.admin.RuleAdministrationException

Deleted: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/jaxrules14.sig	2007-02-19 14:32:00 UTC (rev 9597)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig	2007-02-19 16:57:55 UTC (rev 9608)
@@ -1,446 +0,0 @@
-#Signature file
-#Version 1.4.1_02
-CLSS public javax.rules.ConfigurationException
-cons public ConfigurationException(java.lang.String)
-cons public ConfigurationException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleException
-CLSS public abstract interface javax.rules.Handle
-intf java.io.Serializable
-supr null
-CLSS public javax.rules.InvalidHandleException
-cons public InvalidHandleException(java.lang.String)
-cons public InvalidHandleException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public javax.rules.InvalidRuleSessionException
-cons public InvalidRuleSessionException(java.lang.String)
-cons public InvalidRuleSessionException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public abstract interface javax.rules.ObjectFilter
-intf java.io.Serializable
-meth public abstract java.lang.Object filter(java.lang.Object)
-meth public abstract void reset()
-supr null
-CLSS public javax.rules.RuleException
-cons public RuleException(java.lang.String)
-cons public RuleException(java.lang.String,java.lang.Throwable)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr java.lang.Exception
-CLSS public javax.rules.RuleExecutionException
-cons public RuleExecutionException(java.lang.String)
-cons public RuleExecutionException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleException
-CLSS public abstract interface javax.rules.RuleExecutionSetMetadata
-intf java.io.Serializable
-meth public abstract java.lang.String getDescription()
-meth public abstract java.lang.String getName()
-meth public abstract java.lang.String getUri()
-supr null
-CLSS public javax.rules.RuleExecutionSetNotFoundException
-cons public RuleExecutionSetNotFoundException(java.lang.String)
-cons public RuleExecutionSetNotFoundException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public abstract interface javax.rules.RuleRuntime
-fld  public static final int STATEFUL_SESSION_TYPE
-fld  public static final int STATELESS_SESSION_TYPE
-intf java.io.Serializable
-meth public abstract java.util.List getRegistrations() throws java.rmi.RemoteException
-meth public abstract javax.rules.RuleSession createRuleSession(java.lang.String,java.util.Map,int) throws java.rmi.RemoteException,javax.rules.RuleExecutionSetNotFoundException,javax.rules.RuleSessionCreateException,javax.rules.RuleSessionTypeUnsupportedException
-supr null
-CLSS public abstract javax.rules.RuleServiceProvider
-cons public RuleServiceProvider()
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected static java.lang.Object createInstance(java.lang.String) throws java.lang.ClassNotFoundException,java.lang.IllegalAccessException,java.lang.InstantiationException
-meth protected void finalize() throws java.lang.Throwable
-meth public abstract javax.rules.RuleRuntime getRuleRuntime() throws javax.rules.ConfigurationException
-meth public abstract javax.rules.admin.RuleAdministrator getRuleAdministrator() throws javax.rules.ConfigurationException
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String toString()
-meth public void setClassLoader(java.lang.ClassLoader)
-supr java.lang.Object
-CLSS public abstract javax.rules.RuleServiceProviderManager
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String toString()
-meth public static javax.rules.RuleServiceProvider getRuleServiceProvider(java.lang.String) throws javax.rules.ConfigurationException
-meth public static void deregisterRuleServiceProvider(java.lang.String)
-meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class) throws javax.rules.ConfigurationException
-meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class,java.lang.ClassLoader) throws javax.rules.ConfigurationException
-supr java.lang.Object
-CLSS public abstract interface javax.rules.RuleSession
-meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-supr null
-CLSS public javax.rules.RuleSessionCreateException
-cons public RuleSessionCreateException(java.lang.String)
-cons public RuleSessionCreateException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public javax.rules.RuleSessionTypeUnsupportedException
-cons public RuleSessionTypeUnsupportedException(java.lang.String)
-cons public RuleSessionTypeUnsupportedException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleExecutionException
-CLSS public abstract interface javax.rules.StatefulRuleSession
-intf java.io.Serializable
-intf javax.rules.RuleSession
-meth public abstract boolean containsObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.lang.Object getObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List addObjects(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List getHandles() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List getObjects() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List getObjects(javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.Handle addObject(java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void executeRules() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void removeObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-meth public abstract void reset() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void updateObject(javax.rules.Handle,java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
-supr null
-CLSS public abstract interface javax.rules.StatelessRuleSession
-intf javax.rules.RuleSession
-meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List executeRules(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract java.util.List executeRules(java.util.List,javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
-supr null
-CLSS public abstract interface javax.rules.admin.LocalRuleExecutionSetProvider
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object,java.util.Map) throws javax.rules.admin.RuleExecutionSetCreateException
-supr null
-CLSS public abstract interface javax.rules.admin.Rule
-intf java.io.Serializable
-meth public abstract java.lang.Object getProperty(java.lang.Object)
-meth public abstract java.lang.String getDescription()
-meth public abstract java.lang.String getName()
-meth public abstract void setProperty(java.lang.Object,java.lang.Object)
-supr null
-CLSS public javax.rules.admin.RuleAdministrationException
-cons public RuleAdministrationException(java.lang.String)
-cons public RuleAdministrationException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.RuleException
-CLSS public abstract interface javax.rules.admin.RuleAdministrator
-meth public abstract javax.rules.admin.LocalRuleExecutionSetProvider getLocalRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
-meth public abstract javax.rules.admin.RuleExecutionSetProvider getRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
-meth public abstract void deregisterRuleExecutionSet(java.lang.String,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetDeregistrationException
-meth public abstract void registerRuleExecutionSet(java.lang.String,javax.rules.admin.RuleExecutionSet,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetRegisterException
-supr null
-CLSS public abstract interface javax.rules.admin.RuleExecutionSet
-intf java.io.Serializable
-meth public abstract java.lang.Object getProperty(java.lang.Object)
-meth public abstract java.lang.String getDefaultObjectFilter()
-meth public abstract java.lang.String getDescription()
-meth public abstract java.lang.String getName()
-meth public abstract java.util.List getRules()
-meth public abstract void setDefaultObjectFilter(java.lang.String)
-meth public abstract void setProperty(java.lang.Object,java.lang.Object)
-supr null
-CLSS public javax.rules.admin.RuleExecutionSetCreateException
-cons public RuleExecutionSetCreateException(java.lang.String)
-cons public RuleExecutionSetCreateException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.admin.RuleAdministrationException
-CLSS public javax.rules.admin.RuleExecutionSetDeregistrationException
-cons public RuleExecutionSetDeregistrationException(java.lang.String)
-cons public RuleExecutionSetDeregistrationException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.admin.RuleAdministrationException
-CLSS public abstract interface javax.rules.admin.RuleExecutionSetProvider
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Serializable,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.String,java.util.Map) throws java.io.IOException,java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
-meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(org.w3c.dom.Element,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
-supr null
-CLSS public javax.rules.admin.RuleExecutionSetRegisterException
-cons public RuleExecutionSetRegisterException(java.lang.String)
-cons public RuleExecutionSetRegisterException(java.lang.String,java.lang.Exception)
-fld  protected java.lang.Throwable embeddedException
-intf java.io.Serializable
-meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
-meth protected void finalize() throws java.lang.Throwable
-meth public [Ljava.lang.StackTraceElement; getStackTrace()
-meth public boolean equals(java.lang.Object)
-meth public final java.lang.Class getClass()
-meth public final void notify()
-meth public final void notifyAll()
-meth public final void wait() throws java.lang.InterruptedException
-meth public final void wait(long) throws java.lang.InterruptedException
-meth public final void wait(long,int) throws java.lang.InterruptedException
-meth public int hashCode()
-meth public java.lang.String getLocalizedMessage()
-meth public java.lang.String getMessage()
-meth public java.lang.String toString()
-meth public java.lang.Throwable fillInStackTrace()
-meth public java.lang.Throwable getCause()
-meth public java.lang.Throwable initCause(java.lang.Throwable)
-meth public void printStackTrace()
-meth public void printStackTrace(java.io.PrintStream)
-meth public void printStackTrace(java.io.PrintWriter)
-meth public void setStackTrace([Ljava.lang.StackTraceElement;)
-supr javax.rules.admin.RuleAdministrationException

Copied: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig (from rev 9606, labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/jaxrules14.sig)
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig	                        (rev 0)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/jaxrules14.sig	2007-02-19 16:57:55 UTC (rev 9608)
@@ -0,0 +1,446 @@
+#Signature file
+#Version 1.4.1_02
+CLSS public javax.rules.ConfigurationException
+cons public ConfigurationException(java.lang.String)
+cons public ConfigurationException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleException
+CLSS public abstract interface javax.rules.Handle
+intf java.io.Serializable
+supr null
+CLSS public javax.rules.InvalidHandleException
+cons public InvalidHandleException(java.lang.String)
+cons public InvalidHandleException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public javax.rules.InvalidRuleSessionException
+cons public InvalidRuleSessionException(java.lang.String)
+cons public InvalidRuleSessionException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public abstract interface javax.rules.ObjectFilter
+intf java.io.Serializable
+meth public abstract java.lang.Object filter(java.lang.Object)
+meth public abstract void reset()
+supr null
+CLSS public javax.rules.RuleException
+cons public RuleException(java.lang.String)
+cons public RuleException(java.lang.String,java.lang.Throwable)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr java.lang.Exception
+CLSS public javax.rules.RuleExecutionException
+cons public RuleExecutionException(java.lang.String)
+cons public RuleExecutionException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleException
+CLSS public abstract interface javax.rules.RuleExecutionSetMetadata
+intf java.io.Serializable
+meth public abstract java.lang.String getDescription()
+meth public abstract java.lang.String getName()
+meth public abstract java.lang.String getUri()
+supr null
+CLSS public javax.rules.RuleExecutionSetNotFoundException
+cons public RuleExecutionSetNotFoundException(java.lang.String)
+cons public RuleExecutionSetNotFoundException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public abstract interface javax.rules.RuleRuntime
+fld  public static final int STATEFUL_SESSION_TYPE
+fld  public static final int STATELESS_SESSION_TYPE
+intf java.io.Serializable
+meth public abstract java.util.List getRegistrations() throws java.rmi.RemoteException
+meth public abstract javax.rules.RuleSession createRuleSession(java.lang.String,java.util.Map,int) throws java.rmi.RemoteException,javax.rules.RuleExecutionSetNotFoundException,javax.rules.RuleSessionCreateException,javax.rules.RuleSessionTypeUnsupportedException
+supr null
+CLSS public abstract javax.rules.RuleServiceProvider
+cons public RuleServiceProvider()
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected static java.lang.Object createInstance(java.lang.String) throws java.lang.ClassNotFoundException,java.lang.IllegalAccessException,java.lang.InstantiationException
+meth protected void finalize() throws java.lang.Throwable
+meth public abstract javax.rules.RuleRuntime getRuleRuntime() throws javax.rules.ConfigurationException
+meth public abstract javax.rules.admin.RuleAdministrator getRuleAdministrator() throws javax.rules.ConfigurationException
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String toString()
+meth public void setClassLoader(java.lang.ClassLoader)
+supr java.lang.Object
+CLSS public abstract javax.rules.RuleServiceProviderManager
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String toString()
+meth public static javax.rules.RuleServiceProvider getRuleServiceProvider(java.lang.String) throws javax.rules.ConfigurationException
+meth public static void deregisterRuleServiceProvider(java.lang.String)
+meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class) throws javax.rules.ConfigurationException
+meth public static void registerRuleServiceProvider(java.lang.String,java.lang.Class,java.lang.ClassLoader) throws javax.rules.ConfigurationException
+supr java.lang.Object
+CLSS public abstract interface javax.rules.RuleSession
+meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+supr null
+CLSS public javax.rules.RuleSessionCreateException
+cons public RuleSessionCreateException(java.lang.String)
+cons public RuleSessionCreateException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public javax.rules.RuleSessionTypeUnsupportedException
+cons public RuleSessionTypeUnsupportedException(java.lang.String)
+cons public RuleSessionTypeUnsupportedException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleExecutionException
+CLSS public abstract interface javax.rules.StatefulRuleSession
+intf java.io.Serializable
+intf javax.rules.RuleSession
+meth public abstract boolean containsObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.lang.Object getObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List addObjects(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List getHandles() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List getObjects() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List getObjects(javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.Handle addObject(java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void executeRules() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void removeObject(javax.rules.Handle) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+meth public abstract void reset() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void updateObject(javax.rules.Handle,java.lang.Object) throws java.rmi.RemoteException,javax.rules.InvalidHandleException,javax.rules.InvalidRuleSessionException
+supr null
+CLSS public abstract interface javax.rules.StatelessRuleSession
+intf javax.rules.RuleSession
+meth public abstract int getType() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List executeRules(java.util.List) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract java.util.List executeRules(java.util.List,javax.rules.ObjectFilter) throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract javax.rules.RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+meth public abstract void release() throws java.rmi.RemoteException,javax.rules.InvalidRuleSessionException
+supr null
+CLSS public abstract interface javax.rules.admin.LocalRuleExecutionSetProvider
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader,java.util.Map) throws java.io.IOException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object,java.util.Map) throws javax.rules.admin.RuleExecutionSetCreateException
+supr null
+CLSS public abstract interface javax.rules.admin.Rule
+intf java.io.Serializable
+meth public abstract java.lang.Object getProperty(java.lang.Object)
+meth public abstract java.lang.String getDescription()
+meth public abstract java.lang.String getName()
+meth public abstract void setProperty(java.lang.Object,java.lang.Object)
+supr null
+CLSS public javax.rules.admin.RuleAdministrationException
+cons public RuleAdministrationException(java.lang.String)
+cons public RuleAdministrationException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.RuleException
+CLSS public abstract interface javax.rules.admin.RuleAdministrator
+meth public abstract javax.rules.admin.LocalRuleExecutionSetProvider getLocalRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
+meth public abstract javax.rules.admin.RuleExecutionSetProvider getRuleExecutionSetProvider(java.util.Map) throws java.rmi.RemoteException
+meth public abstract void deregisterRuleExecutionSet(java.lang.String,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetDeregistrationException
+meth public abstract void registerRuleExecutionSet(java.lang.String,javax.rules.admin.RuleExecutionSet,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetRegisterException
+supr null
+CLSS public abstract interface javax.rules.admin.RuleExecutionSet
+intf java.io.Serializable
+meth public abstract java.lang.Object getProperty(java.lang.Object)
+meth public abstract java.lang.String getDefaultObjectFilter()
+meth public abstract java.lang.String getDescription()
+meth public abstract java.lang.String getName()
+meth public abstract java.util.List getRules()
+meth public abstract void setDefaultObjectFilter(java.lang.String)
+meth public abstract void setProperty(java.lang.Object,java.lang.Object)
+supr null
+CLSS public javax.rules.admin.RuleExecutionSetCreateException
+cons public RuleExecutionSetCreateException(java.lang.String)
+cons public RuleExecutionSetCreateException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.admin.RuleAdministrationException
+CLSS public javax.rules.admin.RuleExecutionSetDeregistrationException
+cons public RuleExecutionSetDeregistrationException(java.lang.String)
+cons public RuleExecutionSetDeregistrationException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.admin.RuleAdministrationException
+CLSS public abstract interface javax.rules.admin.RuleExecutionSetProvider
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Serializable,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.String,java.util.Map) throws java.io.IOException,java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
+meth public abstract javax.rules.admin.RuleExecutionSet createRuleExecutionSet(org.w3c.dom.Element,java.util.Map) throws java.rmi.RemoteException,javax.rules.admin.RuleExecutionSetCreateException
+supr null
+CLSS public javax.rules.admin.RuleExecutionSetRegisterException
+cons public RuleExecutionSetRegisterException(java.lang.String)
+cons public RuleExecutionSetRegisterException(java.lang.String,java.lang.Exception)
+fld  protected java.lang.Throwable embeddedException
+intf java.io.Serializable
+meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
+meth protected void finalize() throws java.lang.Throwable
+meth public [Ljava.lang.StackTraceElement; getStackTrace()
+meth public boolean equals(java.lang.Object)
+meth public final java.lang.Class getClass()
+meth public final void notify()
+meth public final void notifyAll()
+meth public final void wait() throws java.lang.InterruptedException
+meth public final void wait(long) throws java.lang.InterruptedException
+meth public final void wait(long,int) throws java.lang.InterruptedException
+meth public int hashCode()
+meth public java.lang.String getLocalizedMessage()
+meth public java.lang.String getMessage()
+meth public java.lang.String toString()
+meth public java.lang.Throwable fillInStackTrace()
+meth public java.lang.Throwable getCause()
+meth public java.lang.Throwable initCause(java.lang.Throwable)
+meth public void printStackTrace()
+meth public void printStackTrace(java.io.PrintStream)
+meth public void printStackTrace(java.io.PrintWriter)
+meth public void setStackTrace([Ljava.lang.StackTraceElement;)
+supr javax.rules.admin.RuleAdministrationException

Deleted: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck.conf	2007-02-19 14:32:00 UTC (rev 9597)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf	2007-02-19 16:57:55 UTC (rev 9608)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<tck-configuration>
-    <test-factory>org.jcp.jsr94.tck.util.TestFactory</test-factory>
-
-    <rule-service-provider>org.drools.jsr94.rules.RuleServiceProviderImpl</rule-service-provider>        
-    <rule-service-provider-jar-url>file:drools-jsr94/target/drools-jsr94-3.0-RC-2.jar</rule-service-provider-jar-url>
-    <rule-execution-set-location>drools-jsr94/target/test-classes/org/drools/jsr94/tck</rule-execution-set-location>
-</tck-configuration>
-

Copied: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf (from rev 9606, labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck.conf)
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf	                        (rev 0)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck.conf	2007-02-19 16:57:55 UTC (rev 9608)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<tck-configuration>
+    <test-factory>org.jcp.jsr94.tck.util.TestFactory</test-factory>
+
+    <rule-service-provider>org.drools.jsr94.rules.RuleServiceProviderImpl</rule-service-provider>        
+    <rule-service-provider-jar-url>file://c:/dev/jbossrules/trunk/drools-jsr94/target/drools-jsr94.jar</rule-service-provider-jar-url>
+    <rule-execution-set-location>/dev/jbossrules/trunk/drools-jsr94/target/test-classes/org/jcp/jsr94/tck</rule-execution-set-location>
+</tck-configuration>
+

Added: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_1.xml
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_1.xml	                        (rev 0)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_1.xml	2007-02-19 16:57:55 UTC (rev 9608)
@@ -0,0 +1,15 @@
+package RuleExecutionSet1;
+
+import org.jcp.jsr94.tck.model.Customer;
+import org.jcp.jsr94.tck.model.Invoice;
+
+rule "credit limit greater than invoice"
+    when
+    	$invoice1 : Invoice ( $amount1 : amount )
+    	$customer1 : Customer ( creditLimit > $amount1 )
+    then
+    	$customer1.setCreditLimit($customer1.getCreditLimit() - $invoice1.getAmount());
+        $invoice1.setStatus("paid");
+        System.out.println("The credit limit of the customer is " + $customer1.getCreditLimit());
+        System.out.println("The status of the invoice is " + $invoice1.getStatus());
+end  
\ No newline at end of file

Added: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_2.xml
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_2.xml	                        (rev 0)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/jcp/jsr94/tck/tck_res_2.xml	2007-02-19 16:57:55 UTC (rev 9608)
@@ -0,0 +1,15 @@
+package RuleExecutionSet1;
+
+import org.jcp.jsr94.tck.model.Customer;
+import org.jcp.jsr94.tck.model.Invoice;
+
+rule "credit limit greater than invoice"
+    when
+    	$invoice1 : Invoice ( $amount1 : amount )
+    	$customer1 : Customer ( creditLimit > $amount1 )
+    then
+    	$customer1.setCreditLimit($customer1.getCreditLimit() - $invoice1.getAmount());
+        $invoice1.setStatus("paid");
+        System.out.println("The credit limit of the customer is " + $customer1.getCreditLimit());
+        System.out.println("The status of the invoice is " + $invoice1.getStatus());
+end  
\ No newline at end of file




More information about the jboss-svn-commits mailing list