去除POM文件无用jar

This commit is contained in:
seagull 2017-12-19 17:24:49 +08:00
parent 979c630e8f
commit f4288e97ea
3 changed files with 8 additions and 22 deletions

View File

@ -264,11 +264,11 @@
<version>2.5.2</version>
</dependency>
<!-- hessian -->
<dependency>
<!-- <dependency>
<groupId>com.caucho</groupId>
<artifactId>hessian</artifactId>
<version>3.1.5</version>
</dependency>
</dependency> -->
<!--由于Oracle JDBC驱动包是需要Oracle官方授权才能被下载如果原maven私库中无此包请手动添加至私库再在maven中操作update
project -->
<!--如果您不需要用到此包,可以注释掉 -->

View File

@ -1,15 +1,7 @@
package luckyclient.publicclass.remoterinterface;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.caucho.hessian.client.HessianProxyFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
@ -46,7 +38,7 @@ public class HessianTestUtil {
}
public static Map<String, Object> startInvoke(InterfaceObject object)
/* public static Map<String, Object> startInvoke(InterfaceObject object)
throws Exception {
// 获取带请求参数列表将参数类型参数值数组转成InterfaceParamObject数组
InterfaceParamObject[] paramContent = MAPPER
@ -179,7 +171,7 @@ public class HessianTestUtil {
isBase = BASE_TYPE.get(objClassName) != null ? true : false;
}
return isBase;
}
}*/
public static void main(String[] args) {
// TODO Auto-generated method stub

View File

@ -1,17 +1,11 @@
package luckyclient.publicclass.remoterinterface;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.caucho.hessian.client.HessianProxyFactory;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
@ -44,7 +38,7 @@ public class InterfaceTestUtil {
BASE_TYPE.put("short", short.class);
}
public static Map<String, Object> doTest(InterfaceObject object)
/* public static Map<String, Object> doTest(InterfaceObject object)
throws Exception {
// 获取带请求参数列表将参数类型参数值数组转成InterfaceParamObject数组
InterfaceParamObject[] paramContent = MAP.readValue(object.getParams(),
@ -204,14 +198,14 @@ public class InterfaceTestUtil {
return result;
}
/**
*//**
* 1转换基本数据类型为包装类型<br>
* 2<br>
*
* @param className
* @return
* @see
*/
*//*
private static Class<?> getBaseTypeClassByName(String className) {
return BASE_TYPE.get(className);
}
@ -222,5 +216,5 @@ public class InterfaceTestUtil {
istrue = className.equals(key) ? true : false;
}
return istrue;
}
}*/
}