commit | author | age
|
9bcb19
|
1 |
package vip.xiaonuo; |
I |
2 |
|
|
3 |
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
4 |
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
|
5 |
|
|
6 |
/** |
|
7 |
* Snowy Web程序启动类 |
|
8 |
* |
|
9 |
* @author xuyuxiang |
|
10 |
* @date 2017-05-21 9:43 |
|
11 |
*/ |
|
12 |
public class SnowyServletInitializer extends SpringBootServletInitializer { |
|
13 |
|
|
14 |
@Override |
|
15 |
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { |
|
16 |
return builder.sources(SnowyApplication.class); |
|
17 |
} |
|
18 |
|
|
19 |
} |