incubator-agila-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r157424 - incubator/agila/trunk/src/java/org/apache/agila/services/TimerService.java
Date Mon, 14 Mar 2005 14:32:24 GMT
Author: geirm
Date: Mon Mar 14 06:32:22 2005
New Revision: 157424

URL: http://svn.apache.org/viewcvs?view=rev&rev=157424
Log:
patch by Glen

Modified:
    incubator/agila/trunk/src/java/org/apache/agila/services/TimerService.java

Modified: incubator/agila/trunk/src/java/org/apache/agila/services/TimerService.java
URL: http://svn.apache.org/viewcvs/incubator/agila/trunk/src/java/org/apache/agila/services/TimerService.java?view=diff&r1=157423&r2=157424
==============================================================================
--- incubator/agila/trunk/src/java/org/apache/agila/services/TimerService.java (original)
+++ incubator/agila/trunk/src/java/org/apache/agila/services/TimerService.java Mon Mar 14
06:32:22 2005
@@ -18,12 +18,25 @@
 
 import org.apache.agila.engine.TokenID;
 
+import java.io.Serializable;
+
 /**
+ *  Interface to the timer service.  This allows one to send a "trigger"
+ *  timed event to a workflow.
  *
  * @author <a href="mailto:geir@gluecode.com">Geir Magnusson Jr.</a>
  * @version $Id: $
  */
 public interface TimerService {
 
-    public void setExecutionContinue(TokenID tokenID, int seconds);
+    /**
+     *  Sets a timer for a given workflow instance (via tokenID)
+     *
+     * @param tokenID identity of the workflow's token to send
+     * @param seconds number of seconds to wait
+     * @param dataKey app-defined key for sending private data
+     * @param appData private data to send to instance
+     */
+    public void setExecutionContinue(TokenID tokenID, int seconds,
+                                     String dataKey, Serializable appData);
 }



Mime
View raw message