org.apache.agila.impl.memory
Class TimerServiceImpl

java.lang.Object
  extended by org.apache.agila.impl.memory.TimerServiceImpl
All Implemented Interfaces:
TimerService

public class TimerServiceImpl
extends java.lang.Object
implements TimerService

Version:
$Id: $
Author:
Geir Magnusson Jr.

Constructor Summary
TimerServiceImpl()
           
 
Method Summary
 void setExecutionContinue(TokenID tokenID, int seconds, java.lang.String dataKey, java.io.Serializable appData)
          Sets a timer for a given workflow instance (via tokenID)
 void setQueueService(QueueService qs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerServiceImpl

public TimerServiceImpl()
Method Detail

setQueueService

public void setQueueService(QueueService qs)

setExecutionContinue

public void setExecutionContinue(TokenID tokenID,
                                 int seconds,
                                 java.lang.String dataKey,
                                 java.io.Serializable appData)
Description copied from interface: TimerService
Sets a timer for a given workflow instance (via tokenID)

Specified by:
setExecutionContinue in interface TimerService
Parameters:
tokenID - identity of the workflow's token to send
seconds - number of seconds to wait
dataKey - app-defined key for sending private data
appData - private data to send to instance


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.