public class MethodInvoker extends Object
| Constructor and Description |
|---|
MethodInvoker() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(MethodSignature signature,
Object bean,
Object argumentSource)
Invoke the method on the bean provided.
|
void |
setConversionService(ConversionService conversionService)
Sets the conversion service to convert argument values as needed.
|
public void setConversionService(ConversionService conversionService)
public Object invoke(MethodSignature signature, Object bean, Object argumentSource) throws MethodInvocationException
signature - the definition of the method to invoke, including the method name and the method argument typesbean - the bean to invokeargumentSource - the source for method argumentsMethodInvocationException - the method could not be invoked