public static class AbstractComponentAdapterTestCase.RecordingLifecycleStrategy
extends java.lang.Object
implements org.picocontainer.defaults.LifecycleStrategy
Modifier and Type | Field and Description |
---|---|
private java.lang.StringBuffer |
recorder |
Constructor and Description |
---|
AbstractComponentAdapterTestCase.RecordingLifecycleStrategy(java.lang.StringBuffer recorder) |
Modifier and Type | Method and Description |
---|---|
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) |
public AbstractComponentAdapterTestCase.RecordingLifecycleStrategy(java.lang.StringBuffer recorder)
public void start(java.lang.Object component)
start
in interface org.picocontainer.defaults.LifecycleStrategy
public void stop(java.lang.Object component)
stop
in interface org.picocontainer.defaults.LifecycleStrategy
public void dispose(java.lang.Object component)
dispose
in interface org.picocontainer.defaults.LifecycleStrategy
public boolean hasLifecycle(java.lang.Class type)
hasLifecycle
in interface org.picocontainer.defaults.LifecycleStrategy
public java.lang.String recording()