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); //服務實例
...
}
}
接口應用測試
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.