use of com.ibeiliao.deployment.admin.po.project.ProjectModulePO in project Corgi by kevinYin.
the class ProjectModuleServiceImpl method getByModuleId.
@Override
public ProjectModule getByModuleId(int moduleId) {
Assert.isTrue(moduleId > 0, "moduleId 数值小于1");
ProjectModulePO projectModulePO = projectModuleDao.get(moduleId);
if (projectModulePO != null) {
ProjectModule projectModule = VOUtil.from(projectModulePO, ProjectModule.class);
decodeAccountAndPassword(projectModule);
List<ModuleJvm> moduleJvmArgses = buildModuleJvms(moduleId);
projectModule.setModuleJvms(moduleJvmArgses);
loadModuleConf(projectModule);
return projectModule;
}
return null;
}
Aggregations