org.picocontainer.tck
Class AbstractComponentAdapterTestCase.RecordingLifecycleStrategy
java.lang.Object
org.picocontainer.tck.AbstractComponentAdapterTestCase.RecordingLifecycleStrategy
- All Implemented Interfaces:
- org.picocontainer.defaults.LifecycleStrategy
- Enclosing class:
- AbstractComponentAdapterTestCase
public static class AbstractComponentAdapterTestCase.RecordingLifecycleStrategy
- extends java.lang.Object
- implements org.picocontainer.defaults.LifecycleStrategy
Field Summary |
private java.lang.StringBuffer |
recorder
|
Method Summary |
void |
dispose(java.lang.Object component)
|
boolean |
hasLifecycle(java.lang.Class type)
|
java.lang.String |
recording()
|
void |
start(java.lang.Object component)
|
void |
stop(java.lang.Object component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
recorder
private java.lang.StringBuffer recorder
AbstractComponentAdapterTestCase.RecordingLifecycleStrategy
public AbstractComponentAdapterTestCase.RecordingLifecycleStrategy(java.lang.StringBuffer recorder)
start
public void start(java.lang.Object component)
- Specified by:
start
in interface org.picocontainer.defaults.LifecycleStrategy
stop
public void stop(java.lang.Object component)
- Specified by:
stop
in interface org.picocontainer.defaults.LifecycleStrategy
dispose
public void dispose(java.lang.Object component)
- Specified by:
dispose
in interface org.picocontainer.defaults.LifecycleStrategy
hasLifecycle
public boolean hasLifecycle(java.lang.Class type)
- Specified by:
hasLifecycle
in interface org.picocontainer.defaults.LifecycleStrategy
recording
public java.lang.String recording()