public class InventoryCoreTemplateServiceImplRealDBTest {
public static void main(String[] args) throws IOException {
Logger.initAndWatch(); //系统日志
ConnectionInfo connInfo = InventoryCoreTemplateRealDBTestHelper
.getMemoryConnectionInfo(); //连接信息
DBConnectionProviderFactory.getInstance().initMybatisProvider(
ImplFinals.CONN_KEY, connInfo, "", "conf.xml"); //初始化mybatis连接
DependencyManager.getInstance().init(
ImplDependency.getDependencyModule()); //依赖模块
InventoryCoreTemplateService inventoryCoreTemplateService = DependencyManager.getInstance().get(InventoryCoreTemplateService.class); //服务实例
...
}
}
接口应用测试
最新推荐文章于 2022-09-14 18:43:05 发布