|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.defaults.ConstantParameter
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.
Constructor Summary | |
ConstantParameter(java.lang.Object value)
|
Method Summary | |
ComponentAdapter |
resolveAdapter(PicoContainer picoContainer,
java.lang.Class expectedType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConstantParameter(java.lang.Object value)
Method Detail |
public ComponentAdapter resolveAdapter(PicoContainer picoContainer, java.lang.Class expectedType) throws AssignabilityRegistrationException, NotConcreteRegistrationException
resolveAdapter
in interface Parameter
picoContainer
- the container where dependencies are resolved fromexpectedType
- the expected (dependant) type
AssignabilityRegistrationException
NotConcreteRegistrationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |