org.picocontainer.testmodel
Class RecordingLifecycle

java.lang.Object
  extended by org.picocontainer.testmodel.RecordingLifecycle
All Implemented Interfaces:
Disposable, Startable
Direct Known Subclasses:
RecordingLifecycle.FiveTriesToBeMalicious, RecordingLifecycle.Four, RecordingLifecycle.One, RecordingLifecycle.Three, RecordingLifecycle.Two

public abstract class RecordingLifecycle
extends Object
implements Startable, Disposable


Nested Class Summary
static class RecordingLifecycle.FiveTriesToBeMalicious
           
static class RecordingLifecycle.Four
           
static class RecordingLifecycle.One
           
static interface RecordingLifecycle.Recorder
           
static class RecordingLifecycle.Three
           
static class RecordingLifecycle.Two
           
 
Constructor Summary
protected RecordingLifecycle(StringBuffer recording)
           
 
Method Summary
 void dispose()
          Dispose this component.
 String recording()
           
 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

RecordingLifecycle

protected RecordingLifecycle(StringBuffer recording)
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

recording

public String recording()


Copyright © 2003-2010 Codehaus. All Rights Reserved.