ps:
类执行方法的反射过程
//ServiceLocator 参看开发学习(ApplicationContextAware)
Object obj = ServiceLocator.getBean(serviceName); Class paramTypes[] = {Map.class}; Object[] paramValue = {param}; Method method = obj.getClass().getMethod(methodName, paramTypes); String tReturn = (String) method.invoke(obj, paramValue);