org.picocontainer.behaviors
Class Automated
java.lang.Object
org.picocontainer.behaviors.AbstractBehavior
org.picocontainer.behaviors.Automated
- All Implemented Interfaces:
- Serializable, Behavior, ComponentAdapter, ComponentMonitorStrategy, LifecycleStrategy
public class Automated
- extends AbstractBehavior
- implements Behavior, Serializable
- See Also:
- Serialized Form
|
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 |
Automated
public Automated(ComponentAdapter delegate)
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.