|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.util.MethodInvoker
org.springframework.beans.support.ArgumentConvertingMethodInvoker
Subclass of MethodInvoker that tries to convert the given arguments for the actual target method via BeanWrapperImpl.
BeanWrapperImpl.doTypeConversionIfNecessary(java.lang.Object, java.lang.Class)| Nested Class Summary |
| Nested classes inherited from class org.springframework.util.MethodInvoker |
MethodInvoker.VoidType |
| Field Summary |
| Fields inherited from class org.springframework.util.MethodInvoker |
VOID |
| Constructor Summary | |
ArgumentConvertingMethodInvoker()
|
|
| Method Summary | |
void |
prepare()
Prepare the specified method. |
void |
registerCustomEditor(java.lang.Class requiredType,
java.beans.PropertyEditor propertyEditor)
Register the given custom property editor for all properties of the given type. |
| Methods inherited from class org.springframework.util.MethodInvoker |
getArguments, getPreparedMethod, getTargetClass, getTargetMethod, getTargetObject, invoke, setArguments, setStaticMethod, setTargetClass, setTargetMethod, setTargetObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArgumentConvertingMethodInvoker()
| Method Detail |
public void registerCustomEditor(java.lang.Class requiredType,
java.beans.PropertyEditor propertyEditor)
requiredType - type of the propertypropertyEditor - editor to registerBeanWrapper.registerCustomEditor(java.lang.Class, java.beans.PropertyEditor)
public void prepare()
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException
MethodInvoker
prepare in class MethodInvokerjava.lang.ClassNotFoundException
java.lang.NoSuchMethodExceptionMethodInvoker.getPreparedMethod(),
MethodInvoker.invoke()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||