org.picocontainer.testmodel
Class NullLifecycle

java.lang.Object
  extended by org.picocontainer.testmodel.NullLifecycle
All Implemented Interfaces:
Disposable, Startable

public class NullLifecycle
extends Object
implements Startable, Disposable


Constructor Summary
NullLifecycle()
           
 
Method Summary
 void dispose()
          Dispose this component.
 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

NullLifecycle

public NullLifecycle()
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

dispose

public void dispose()
Description copied from interface: Disposable
Dispose this component. The component should deallocate all resources. The contract for this method defines a single call at the end of this component's life.

Specified by:
dispose in interface Disposable


Copyright © 2003-2010 Codehaus. All Rights Reserved.