org.picocontainer.defaults
Class DefaultPicoContainerLifecycleTestCase.FooRunnable

java.lang.Object
  extended by org.picocontainer.defaults.DefaultPicoContainerLifecycleTestCase.FooRunnable
All Implemented Interfaces:
java.lang.Runnable, org.picocontainer.Startable
Enclosing class:
DefaultPicoContainerLifecycleTestCase

public static class DefaultPicoContainerLifecycleTestCase.FooRunnable
extends java.lang.Object
implements java.lang.Runnable, org.picocontainer.Startable


Field Summary
private  boolean interrupted
           
private  int runCount
           
private  java.lang.Thread thread
           
 
Constructor Summary
DefaultPicoContainerLifecycleTestCase.FooRunnable()
           
 
Method Summary
 boolean isInterrupted()
           
 void run()
           
 int runCount()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runCount

private int runCount

thread

private java.lang.Thread thread

interrupted

private boolean interrupted
Constructor Detail

DefaultPicoContainerLifecycleTestCase.FooRunnable

public DefaultPicoContainerLifecycleTestCase.FooRunnable()
Method Detail

runCount

public int runCount()

isInterrupted

public boolean isInterrupted()

start

public void start()
Specified by:
start in interface org.picocontainer.Startable

stop

public void stop()
Specified by:
stop in interface org.picocontainer.Startable

run

public void run()
Specified by:
run in interface java.lang.Runnable