| java.lang.Object org.picocontainer.parameters.ConstantParameter
ConstantParameter | public class ConstantParameter implements Parameter,Serializable(Code) | | A ConstantParameter should be used to pass in "constant" arguments to constructors. This
includes
String s,
Integer s or any other object that is not registered in
the container.
author: Jon Tirsén author: Aslak Hellesøy author: Jörg Schaible author: Thomas Heller |
Method Summary | |
public void | accept(PicoVisitor visitor) Visit the current
Parameter . | public boolean | isResolvable(PicoContainer container, ComponentAdapter adapter, Class expectedType, NameBinding expectedNameBinding, boolean useNames, Annotation binding) | public Object | resolveInstance(PicoContainer container, ComponentAdapter adapter, Class expectedType, NameBinding expectedNameBinding, boolean useNames, Annotation binding) | public void | verify(PicoContainer container, ComponentAdapter adapter, Class expectedType, NameBinding expectedNameBinding, boolean useNames, Annotation binding) |
ConstantParameter | public ConstantParameter(Object value)(Code) | | |
|
|