org.picocontainer.tck
Class AbstractPicoContainerTest.TestBehavior

java.lang.Object
  extended by org.picocontainer.behaviors.AbstractBehavior
      extended by org.picocontainer.tck.AbstractPicoContainerTest.TestBehavior
All Implemented Interfaces:
Serializable, Behavior, ComponentAdapter, ComponentLifecycle, ComponentMonitorStrategy, LifecycleStrategy
Enclosing class:
AbstractPicoContainerTest

public static final class AbstractPicoContainerTest.TestBehavior
extends AbstractBehavior
implements Behavior

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter
ComponentAdapter.NOTHING
 
Field Summary
 ArrayList<PicoContainer> started
           
 
Fields inherited from class org.picocontainer.behaviors.AbstractBehavior
delegate
 
Constructor Summary
AbstractPicoContainerTest.TestBehavior(ComponentAdapter delegate)
           
 
Method Summary
 boolean componentHasLifecycle()
           
 void dispose(PicoContainer node)
           
 String getDescriptor()
           
 void start(PicoContainer node)
           
 void stop(PicoContainer node)
           
 
Methods inherited from class org.picocontainer.behaviors.AbstractBehavior
accept, changeMonitor, currentMonitor, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, hasLifecycle, isLazy, isStarted, start, stop, toString, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.picocontainer.ComponentAdapter
accept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, verify
 
Methods inherited from interface org.picocontainer.ComponentLifecycle
isStarted
 

Field Detail

started

public final ArrayList<PicoContainer> started
Constructor Detail

AbstractPicoContainerTest.TestBehavior

public AbstractPicoContainerTest.TestBehavior(ComponentAdapter delegate)
Method Detail

start

public void start(PicoContainer node)
Specified by:
start in interface ComponentLifecycle
Overrides:
start in class AbstractBehavior

stop

public void stop(PicoContainer node)
Specified by:
stop in interface ComponentLifecycle
Overrides:
stop in class AbstractBehavior

dispose

public void dispose(PicoContainer node)
Specified by:
dispose in interface ComponentLifecycle
Overrides:
dispose in class AbstractBehavior

componentHasLifecycle

public boolean componentHasLifecycle()
Specified by:
componentHasLifecycle in interface ComponentLifecycle
Overrides:
componentHasLifecycle in class AbstractBehavior

getDescriptor

public String getDescriptor()
Specified by:
getDescriptor in interface ComponentAdapter


Copyright © 2003-2010 Codehaus. All Rights Reserved.