org.picocontainer.defaults
Class DefaultPicoContainerLifecycleTestCase.FooRunnable

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

public static class DefaultPicoContainerLifecycleTestCase.FooRunnable
extends Object
implements Runnable, Startable


Constructor Summary
DefaultPicoContainerLifecycleTestCase.FooRunnable()
           
 
Method Summary
 boolean isInterrupted()
           
 void run()
           
 int runCount()
           
 void start()
          Start this component.
 void stop()
          Stop this component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPicoContainerLifecycleTestCase.FooRunnable

public DefaultPicoContainerLifecycleTestCase.FooRunnable()
Method Detail

runCount

public int runCount()

isInterrupted

public boolean isInterrupted()

start

public void start()
Description copied from interface: Startable
Start this component. Called initially at the begin of the lifecycle. It can be called again after a stop.

Specified by:
start in interface Startable

stop

public void stop()
Description copied from interface: Startable
Stop this component. Called near the end of the lifecycle. It can be called again after a further start. Implement Disposable if you need a single call at the definite end of the lifecycle.

Specified by:
stop in interface Startable

run

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


Copyright © 2003-2010 Codehaus. All Rights Reserved.