##### Coverage Report - com.ctrip.apollo.AdminServiceApplication

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

1 |  |
     package com.ctrip.apollo;
2 |  |
3 |  |
     import org.springframework.boot.actuate.system.ApplicationPidFileWriter;
4 |  |
     import org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter;
5 |  |
     import org.springframework.boot.autoconfigure.SpringBootApplication;
6 |  |
     import org.springframework.boot.builder.SpringApplicationBuilder;
7 |  |
     import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
8 |  |
     import org.springframework.context.ConfigurableApplicationContext;
9 |  |
10 |  |
11 |  |
     @SpringBootApplication
12 |  |
     @EnableEurekaClient
13 | 0 |
     public class AdminServiceApplication {
14 |  |
       public static void main(String[] args) {
15 | 0 |
         ConfigurableApplicationContext context = new SpringApplicationBuilder(AdminServiceApplication.class).run(args);
16 | 0 |
         context.addApplicationListener(new ApplicationPidFileWriter());
17 | 0 |
         context.addApplicationListener(new EmbeddedServerPortFileWriter());
18 | 0 |
       }
19 |  |
     }