##### Coverage Report - com.ctrip.apollo.configservice.ServletInitializer

Classes in this File | Line Coverage | Branch Coverage | Complexity
ServletInitializer |
0% | 0/2
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.apollo.configservice;
2 |  |
3 |  |
     import org.springframework.boot.builder.SpringApplicationBuilder;
4 |  |
     import org.springframework.boot.context.web.SpringBootServletInitializer;
5 |  |
6 |  |
     /**
7 |  |
      * Entry point for traditional web app
8 |  |
      *
9 |  |
      * @author Jason Song(song_s@ctrip.com)
10 |  |
      */
11 | 0 |
     public class ServletInitializer extends SpringBootServletInitializer {
12 |  |
13 |  |
       @Override
14 |  |
       protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
15 | 0 |
         return application.sources(ConfigServiceApplication.class);
16 |  |
       }
17 |  |
18 |  |
     }