public static class IntoTypeTestCase.AliceFactory extends FactoryInjector<IntoTypeTestCase.Alice>
FactoryInjector.CantWorkItOut
ComponentAdapter.NOTHING
Constructor and Description |
---|
AliceFactory() |
Modifier and Type | Method and Description |
---|---|
IntoTypeTestCase.Alice |
getComponentInstance(PicoContainer container,
Type into)
Retrieve the component instance.
|
accept, componentHasLifecycle, decorateComponentInstance, dispose, findAdapterOfType, getClass, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, getDescriptor, getTypeArguments, start, stop, verify
public AliceFactory()
public IntoTypeTestCase.Alice getComponentInstance(PicoContainer container, Type into)
ComponentAdapter
Cached
will always return the
same instance.getComponentInstance
in interface ComponentAdapter<IntoTypeTestCase.Alice>
getComponentInstance
in class FactoryInjector<IntoTypeTestCase.Alice>
container
- 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.Copyright © 2003–2015 Codehaus. All rights reserved.