统一对象消息框架更新20190111
更新日志:
1、将配置文件读取改为资源文件方式。
对于配置文件路径相对于编译后的项目类路径。
对于普通环境,例如
public class Main {
public static void main(String[] args)
{
// String configdir = System.getProperty("user.dir") + "\\config\\person\\";
String configdir = "/person/";
TLObjectFactory myfactory = TLObjectFactory.getInstance(configdir,"moduleFactory_config.xml");
myfactory.boot();
TLMsg taksMsg =new TLMsg().setAction("getModule").setParam("moduleName","myTaskManger");
myfactory.putMsg(myfactory,taksMsg);
}
}
现在configdir 目录为编译后的项目根下的目录。
对于web环境,配置目录为WEB-INF下。
2、重新整理了在android环境下的应用,取消了多余的部分类。
下载:
1、通用框架 :https://pan.baidu.com/s/1soyiCT1PeZb3WmJWANrU1w
2、web框架:https://pan.baidu.com/s/1G830DwT2NmCwxnMivFPt7g
3、android框架: https://pan.baidu.com/s/1uN3NIklXmfumzwEwlNemlQ
浙公网安备 33010602011771号