org.apache.geronimo.timer
Class TransactionalExecutorTaskFactory

java.lang.Object
  extended by org.apache.geronimo.timer.TransactionalExecutorTaskFactory
All Implemented Interfaces:
ExecutorTaskFactory

public class TransactionalExecutorTaskFactory
extends Object
implements ExecutorTaskFactory


Constructor Summary
TransactionalExecutorTaskFactory(TransactionManager transactionManager, int repeatCount)
           
 
Method Summary
 ExecutorTask createExecutorTask(Runnable userTask, WorkInfo workInfo, ThreadPooledTimer threadPooledTimer)
           
 int getRepeatCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalExecutorTaskFactory

public TransactionalExecutorTaskFactory(TransactionManager transactionManager,
                                        int repeatCount)
Method Detail

getRepeatCount

public int getRepeatCount()

createExecutorTask

public ExecutorTask createExecutorTask(Runnable userTask,
                                       WorkInfo workInfo,
                                       ThreadPooledTimer threadPooledTimer)
Specified by:
createExecutorTask in interface ExecutorTaskFactory


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.