org.picocontainer.tck
Class AbstractPicoContainerTest.TestLifecycleComponent

java.lang.Object
  extended by org.picocontainer.tck.AbstractPicoContainerTest.TestLifecycleComponent
All Implemented Interfaces:
Startable
Enclosing class:
AbstractPicoContainerTest

public static class AbstractPicoContainerTest.TestLifecycleComponent
extends Object
implements Startable


Field Summary
 boolean started
           
 
Constructor Summary
AbstractPicoContainerTest.TestLifecycleComponent()
           
 
Method Summary
 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
 

Field Detail

started

public boolean started
Constructor Detail

AbstractPicoContainerTest.TestLifecycleComponent

public AbstractPicoContainerTest.TestLifecycleComponent()
Method Detail

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


Copyright © 2003-2010 Codehaus. All Rights Reserved.