public void hotDeploy() throws Exception {
DynamicURLClassLoader classLoader = new DynamicURLClassLoader();
classLoader.addURL("D:/serviceframe_v2_online/lib/serviceframe/serviceframe-2.0.1.beta.jar");
classLoader.addFolder("D:/serviceframe_v2_online/service/deploy/imc/");
Class<?> cmCls = classLoader.loadClass("com.bj58.sfft.serviceframe.deploy.bytecode.CreateManager");
Method createProxy = cmCls.getDeclaredMethod("careteProxy", new Class[] { String.class });
IProxyFactory pf = (IProxyFactory)createProxy.invoke(cmCls.newInstance(), "D:/serviceframe_v2_online/service/deploy/imc/");
System.out.println("pf:" + pf);
}