org.picocontainer.behaviors
Class Automated

java.lang.Object
  extended by org.picocontainer.behaviors.AbstractBehavior
      extended by org.picocontainer.behaviors.Automated
All Implemented Interfaces:
Serializable, Behavior, ComponentAdapter, ComponentMonitorStrategy, LifecycleStrategy

public class Automated
extends AbstractBehavior
implements Behavior, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.picocontainer.behaviors.AbstractBehavior
delegate
 
Constructor Summary
Automated(ComponentAdapter delegate)
           
 
Method Summary
 boolean hasLifecycle(Class type)
          Invokes delegate hasLifecycle(Class) method if the delegate is a LifecycleStrategy Test if a component instance has a lifecycle.
 String toString()
           
 
Methods inherited from class org.picocontainer.behaviors.AbstractBehavior
accept, changeMonitor, componentHasLifecycle, currentMonitor, dispose, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, start, start, stop, stop, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.picocontainer.Behavior
componentHasLifecycle, dispose, start, stop
 
Methods inherited from interface org.picocontainer.ComponentAdapter
accept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, verify
 

Constructor Detail

Automated

public Automated(ComponentAdapter delegate)
Method Detail

hasLifecycle

public boolean hasLifecycle(Class type)
Description copied from class: AbstractBehavior
Invokes delegate hasLifecycle(Class) method if the delegate is a LifecycleStrategy Test if a component instance has a lifecycle.

Specified by:
hasLifecycle in interface LifecycleStrategy
Overrides:
hasLifecycle in class AbstractBehavior
Parameters:
type - the component's type
Returns:
true if the component has a lifecycle

toString

public String toString()
Overrides:
toString in class AbstractBehavior


Copyright © 2003-2007 Codehaus. All Rights Reserved.