net.sourceforge.basher.internal.impl
Class TaskRunnerImpl

java.lang.Object
  extended by net.sourceforge.basher.internal.impl.TaskRunnerImpl
All Implemented Interfaces:
Runnable, EventListener, BasherEventListener, TaskRunner, org.ops4j.gaderian.events.RegistryShutdownListener

public class TaskRunnerImpl
extends Object
implements TaskRunner, BasherEventListener, org.ops4j.gaderian.events.RegistryShutdownListener

Version:
1.0
Author:
Johan Lindquist

Field Summary
 int numberOfThreadsRunning
           
 
Constructor Summary
TaskRunnerImpl()
           
 
Method Summary
 void basherEvent(BasherEvent basherEvent)
           
 void registryDidShutdown()
           
 void run()
           
 void setLog(org.apache.commons.logging.Log logger)
           
 void setRandomizer(Randomizer randomizer)
           
 void setTaskInvoker(TaskInvoker taskInvoker)
           
 void setTaskManager(TaskManager taskManager)
           
 void stopInvoking()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberOfThreadsRunning

public int numberOfThreadsRunning
Constructor Detail

TaskRunnerImpl

public TaskRunnerImpl()
Method Detail

setRandomizer

public void setRandomizer(Randomizer randomizer)

setLog

public void setLog(org.apache.commons.logging.Log logger)

setTaskManager

public void setTaskManager(TaskManager taskManager)

setTaskInvoker

public void setTaskInvoker(TaskInvoker taskInvoker)

stopInvoking

public void stopInvoking()

run

public void run()
Specified by:
run in interface Runnable

basherEvent

public void basherEvent(BasherEvent basherEvent)
Specified by:
basherEvent in interface BasherEventListener

registryDidShutdown

public void registryDidShutdown()
Specified by:
registryDidShutdown in interface org.ops4j.gaderian.events.RegistryShutdownListener


Copyright © 2006-2010 Basher Team. All Rights Reserved.