com.taobao.api.internal.toplink.remoting.DefaultMethodCallProcessor Maven / Gradle / Ivy
The newest version!
package com.taobao.api.internal.toplink.remoting;
// default impl using reflect
public class DefaultMethodCallProcessor implements MethodCallProcessor {
// private HashMap methods = new HashMap();
public MethodReturn process(MethodCall methodCall, MethodCallContext callContext) throws Throwable {
MethodReturn methodReturn = new MethodReturn();
methodReturn.ReturnValue = this.getClass()
.getMethod(methodCall.MethodName, methodCall.MethodSignature)
.invoke(this, methodCall.Args);
return methodReturn;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy