public static class AbstractComponentAdapterTest.NotInstantiatableBehavior extends AbstractBehavior
ComponentAdapter.NOTHINGdelegate| Constructor and Description |
|---|
NotInstantiatableBehavior(ComponentAdapter delegate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getComponentInstance(PicoContainer container,
Type into)
Retrieve the component instance.
|
String |
getDescriptor()
Get a string key descriptor of the component adapter for use in toString()
|
accept, changeMonitor, componentHasLifecycle, currentMonitor, dispose, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, hasLifecycle, isLazy, isStarted, start, start, stop, stop, toString, verifypublic NotInstantiatableBehavior(ComponentAdapter delegate)
public Object getComponentInstance(PicoContainer container, Type into)
ComponentAdapterCached will always return the
same instance.getComponentInstance in interface ComponentAdaptergetComponentInstance in class AbstractBehaviorcontainer - the PicoContainer, that is used to resolve any possible dependencies of the instance.into - the class that is about to be injected into. Use ComponentAdapter.NOTHING.class if this is not important to you.public String getDescriptor()
ComponentAdapterCopyright © 2003–2019 Codehaus. All rights reserved.