@Controller @RequestMapping(value="manager/init") public class CoreSystemInitController extends BaseController
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreTablesService |
coreTableService |
(专用程序包) static int |
MAXT_TRY_TIMES |
(专用程序包) CoreSystemInitService |
systemInitService |
(专用程序包) static java.util.concurrent.atomic.AtomicInteger |
tryTimes |
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreSystemInitController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
getInitProcess()
获取初始化的进度信息
|
RetVo |
getJdbcSetting()
获取所有的配置信息
|
RetVo |
isSystemInit()
检查是否初始化
|
java.lang.String |
main(javax.servlet.http.HttpServletRequest request) |
RetVo |
setSysSortValueNotNull(CoreJdbcVo jdbc) |
RetVo |
start(CoreJdbcVo jdbc) |
RetVo |
testConnect(CoreJdbcVo jdbc)
测试链接是否成功
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@Autowired CoreTablesService coreTableService
@Autowired CoreSystemInitService systemInitService
static java.util.concurrent.atomic.AtomicInteger tryTimes
static int MAXT_TRY_TIMES
@RequestMapping(value="/", method=GET) public java.lang.String main(javax.servlet.http.HttpServletRequest request)
@ResponseBody @RequestMapping(value="/start", method=POST) public RetVo start(@RequestBody CoreJdbcVo jdbc) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/getconfigs", method=POST) public RetVo getJdbcSetting() throws java.lang.Exception
java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="/getinitprocess", method=GET) public RetVo getInitProcess() throws java.lang.Exception
java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="/testconnect", method=POST) public RetVo testConnect(@RequestBody CoreJdbcVo jdbc)
jdbc
- 链接JdbcVo对象@ResponseBody @RequestMapping(value="/checkisinit", method=GET) public RetVo isSystemInit() throws java.lang.Exception
java.lang.Exception
- 出错会抛出异常public RetVo setSysSortValueNotNull(@RequestBody CoreJdbcVo jdbc) throws java.lang.Exception
java.lang.Exception