org.picocontainer.testmodel
Class RecordingLifecycle
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordingLifecycle
protected RecordingLifecycle(StringBuffer recording)
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.