public class Automated<T> extends AbstractBehavior<T> implements Behavior<T>, Serializable
ComponentAdapter.NOTHING
delegate
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, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, verify
componentHasLifecycle, dispose, isStarted, start, stop
public Automated(ComponentAdapter<T> delegate)
public boolean hasLifecycle(Class<?> type)
AbstractBehavior
hasLifecycle
in interface LifecycleStrategy
hasLifecycle
in class AbstractBehavior<T>
type
- the component's typetrue
if the component has a lifecyclepublic String getDescriptor()
ComponentAdapter
getDescriptor
in interface ComponentAdapter<T>
Copyright © 2003–2015 Codehaus. All rights reserved.