public class Automated<T> extends AbstractBehavior<T> implements Behavior<T>, Serializable
ComponentAdapter.NOTHINGdelegate| Constructor and Description |
|---|
Automated(ComponentAdapter<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptor()
Get a string key descriptor of the component adapter for use in toString()
|
boolean |
hasLifecycle(Class<?> type)
Invokes delegate hasLifecycle(Class) method if the delegate is a LifecycleStrategy
Test if a component instance has a lifecycle.
|
accept, changeMonitor, componentHasLifecycle, currentMonitor, dispose, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, isLazy, isStarted, start, start, stop, stop, toString, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, verifycomponentHasLifecycle, dispose, isStarted, start, stoppublic Automated(ComponentAdapter<T> delegate)
public boolean hasLifecycle(Class<?> type)
AbstractBehaviorhasLifecycle in interface LifecycleStrategyhasLifecycle in class AbstractBehavior<T>type - the component's typetrue if the component has a lifecyclepublic String getDescriptor()
ComponentAdaptergetDescriptor in interface ComponentAdapter<T>Copyright © 2003-2014 Codehaus. All Rights Reserved.