public class CommandLinePicoContainer extends AbstractDelegatingPicoContainer
| Constructor and Description |
|---|
CommandLinePicoContainer(String[] arguments) |
CommandLinePicoContainer(String[] arguments,
PicoContainer parent) |
CommandLinePicoContainer(String separator,
String[] arguments) |
CommandLinePicoContainer(String separator,
String[] arguments,
PicoContainer parent) |
CommandLinePicoContainer(String separator,
StringReader argumentsProps) |
CommandLinePicoContainer(String separator,
StringReader argumentProperties,
String[] arguments) |
CommandLinePicoContainer(String separator,
StringReader argumentProperties,
String[] arguments,
PicoContainer parent) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getComponent(Class<T> componentType)
Retrieve a component keyed by the component type.
|
<T> List<ComponentAdapter<T>> |
getComponentAdapters(Class<T> componentType)
Retrieve all component adapters inside this container that are associated with the specified type.
|
MutablePicoContainer |
getDelegate() |
PicoContainer |
getParent()
Retrieve the parent container of this container.
|
void |
setName(String s) |
String |
toString() |
accept, equals, getComponent, getComponent, getComponent, getComponentAdapter, getComponentAdapter, getComponentAdapter, getComponentAdapters, getComponentAdapters, getComponents, getComponents, getConverterspublic CommandLinePicoContainer(String separator, String[] arguments)
public CommandLinePicoContainer(String separator, String[] arguments, PicoContainer parent)
public CommandLinePicoContainer(String separator, StringReader argumentsProps) throws IOException
IOExceptionpublic CommandLinePicoContainer(String separator, StringReader argumentProperties, String[] arguments) throws IOException
IOExceptionpublic CommandLinePicoContainer(String separator, StringReader argumentProperties, String[] arguments, PicoContainer parent) throws IOException
IOExceptionpublic CommandLinePicoContainer(String[] arguments)
public CommandLinePicoContainer(String[] arguments, PicoContainer parent)
public <T> T getComponent(Class<T> componentType)
PicoContainergetComponent in interface PicoContainergetComponent in class AbstractDelegatingPicoContainercomponentType - the type of the componentpublic <T> List<ComponentAdapter<T>> getComponentAdapters(Class<T> componentType)
PicoContainergetComponentAdapters in interface PicoContainergetComponentAdapters in class AbstractDelegatingPicoContainercomponentType - the type of the components.ComponentAdapters inside this container that are associated with
the specified type. Changes to this collection will not be reflected in the container itself.public PicoContainer getParent()
PicoContainergetParent in interface PicoContainergetParent in class AbstractDelegatingPicoContainerPicoContainer instance, or null if this container does not have a parent.public MutablePicoContainer getDelegate()
getDelegate in class AbstractDelegatingPicoContainerpublic String toString()
toString in class AbstractDelegatingPicoContainerCopyright © 2003-2014 Codehaus. All Rights Reserved.