Commit 80809cf0 by stylefeng

增加rest模块servlet启动类

parent 601f0fcd
package com.stylefeng.guns.rest;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
/**
* Guns REST Web程序启动类
*
* @author fengshuonan
* @date 2017年9月29日09:00:42
*/
public class GunsRestServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(GunsRestApplication.class);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment