package com.smartearth.poiexcel.config;
|
|
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.LogFactory;
|
import org.springframework.boot.ApplicationArguments;
|
import org.springframework.boot.ApplicationRunner;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* 初始化完成配置类
|
* @author WWW
|
*/
|
@Component
|
public class InitConfig implements ApplicationRunner {
|
private final static Log log = LogFactory.getLog(InitConfig.class);
|
|
@Override
|
public void run(ApplicationArguments args) {
|
// noinspection AlibabaRemoveCommentedCode
|
try {
|
log.info("***************** 系统启动完毕 *****************" + "\n");
|
} catch (Exception ex) {
|
log.error(ex.getMessage(), ex);
|
}
|
}
|
}
|