|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.waffle.registrar.pico.DefaultParameterResolver
public class DefaultParameterResolver
This base implementation will determine the correct Parameter
based on the argument being resolved.
Constructor Summary | |
---|---|
DefaultParameterResolver(StringTransmuter stringTransmuter)
|
|
DefaultParameterResolver(StringTransmuter stringTransmuter,
MessageResources messageResources)
|
Method Summary | |
---|---|
org.picocontainer.Parameter |
resolve(java.lang.Object argument)
An argument of type Reference will be mapped to the correct Parameter implemntation while other types will be treated as a constant ( ConstantParameter ) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultParameterResolver(StringTransmuter stringTransmuter)
public DefaultParameterResolver(StringTransmuter stringTransmuter, MessageResources messageResources)
Method Detail |
---|
public org.picocontainer.Parameter resolve(java.lang.Object argument)
ConstantParameter
)
resolve
in interface ParameterResolver
argument
- the argument to be resolved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |