You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ra...@apache.org on 2006/04/20 21:03:12 UTC

svn commit: r395672 - /jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java

Author: rahul
Date: Thu Apr 20 12:03:10 2006
New Revision: 395672

URL: http://svn.apache.org/viewcvs?rev=395672&view=rev
Log:
Bugzilla 39367
[SCXML] Need access to SCXMLExecutor's root context


Modified:
    jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java

Modified: jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java?rev=395672&r1=395671&r2=395672&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java (original)
+++ jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java Thu Apr 20 12:03:10 2006
@@ -256,6 +256,8 @@
     }
 
     /**
+     * Set the expression evaluator.
+     *
      * @param evaluator The evaluator to set.
      */
     public void setEvaluator(final Evaluator evaluator) {
@@ -263,10 +265,30 @@
     }
 
     /**
+     * Get the expression evaluator in use.
+     *
+     * @return Evaluator The evaluator in use.
+     */
+    public Evaluator getEvaluator() {
+        return scInstance.getEvaluator();
+    }
+
+    /**
+     * Set the root context for this execution.
+     *
      * @param rootContext The Context that ties to the host environment.
      */
     public void setRootContext(final Context rootContext) {
         this.scInstance.setRootContext(rootContext);
+    }
+
+    /**
+     * Get the root context for this execution.
+     *
+     * @return Context The root context.
+     */
+    public Context getRootContext() {
+        return scInstance.getRootContext();
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org