org.picocontainer.tck
Class AbstractComponentAdapterTest.RecordingLifecycleStrategy

java.lang.Object
  extended by org.picocontainer.tck.AbstractComponentAdapterTest.RecordingLifecycleStrategy
All Implemented Interfaces:
LifecycleStrategy
Enclosing class:
AbstractComponentAdapterTest

public static final class AbstractComponentAdapterTest.RecordingLifecycleStrategy
extends Object
implements LifecycleStrategy


Constructor Summary
AbstractComponentAdapterTest.RecordingLifecycleStrategy(StringBuffer recorder)
           
 
Method Summary
 void dispose(Object component)
           
 boolean hasLifecycle(Class type)
           
 boolean isLazy(ComponentAdapter<?> adapter)
           
 String recording()
           
 void start(Object component)
           
 void stop(Object component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponentAdapterTest.RecordingLifecycleStrategy

public AbstractComponentAdapterTest.RecordingLifecycleStrategy(StringBuffer recorder)
Method Detail

start

public void start(Object component)
Specified by:
start in interface LifecycleStrategy

stop

public void stop(Object component)
Specified by:
stop in interface LifecycleStrategy

dispose

public void dispose(Object component)
Specified by:
dispose in interface LifecycleStrategy

hasLifecycle

public boolean hasLifecycle(Class type)
Specified by:
hasLifecycle in interface LifecycleStrategy

isLazy

public boolean isLazy(ComponentAdapter<?> adapter)
Specified by:
isLazy in interface LifecycleStrategy

recording

public String recording()


Copyright © 2003-2010 Codehaus. All Rights Reserved.