Java 类org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter 实例源码

项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.setWebEnvironment(true);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:apollo-custom    文件:PortalApplication.java   
public static void main(String[] args) throws Exception {
  ConfigurableApplicationContext context = SpringApplication.run(PortalApplication.class, args);
  context.addApplicationListener(new ApplicationPidFileWriter());
  context.addApplicationListener(new EmbeddedServerPortFileWriter());
}
项目:apollo-custom    文件:AdminServiceApplication.java   
public static void main(String[] args) {
  ConfigurableApplicationContext context =
      new SpringApplicationBuilder(AdminServiceApplication.class).run(args);
  context.addApplicationListener(new ApplicationPidFileWriter());
  context.addApplicationListener(new EmbeddedServerPortFileWriter());
}
项目:apollo-custom    文件:ConfigServiceApplication.java   
public static void main(String[] args) throws Exception {
  ConfigurableApplicationContext context =
      new SpringApplicationBuilder(ConfigServiceApplication.class).run(args);
  context.addApplicationListener(new ApplicationPidFileWriter());
  context.addApplicationListener(new EmbeddedServerPortFileWriter());
}
项目:apollo    文件:PortalApplication.java   
public static void main(String[] args) throws Exception {
  ConfigurableApplicationContext context = SpringApplication.run(PortalApplication.class, args);
  context.addApplicationListener(new ApplicationPidFileWriter());
  context.addApplicationListener(new EmbeddedServerPortFileWriter());
}
项目:apollo    文件:AdminServiceApplication.java   
public static void main(String[] args) {
  ConfigurableApplicationContext context =
      new SpringApplicationBuilder(AdminServiceApplication.class).run(args);
  context.addApplicationListener(new ApplicationPidFileWriter());
  context.addApplicationListener(new EmbeddedServerPortFileWriter());
}
项目:apollo    文件:ConfigServiceApplication.java   
public static void main(String[] args) throws Exception {
  ConfigurableApplicationContext context =
      new SpringApplicationBuilder(ConfigServiceApplication.class).run(args);
  context.addApplicationListener(new ApplicationPidFileWriter());
  context.addApplicationListener(new EmbeddedServerPortFileWriter());
}
项目:spring-cloud-showcase    文件:Application.java   
public static void main(String[] args) {
    SpringApplication springApplication = new SpringApplication(Application.class);
    springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
    springApplication.addListeners(new EmbeddedServerPortFileWriter("app.port"));
    springApplication.run(args);
}
项目:mandrel    文件:Coordinator.java   
@Override
public void configure(SpringApplicationBuilder builder) {
    builder.listeners(new EmbeddedServerPortFileWriter()).web(true);
}
项目:mandrel    文件:Standalone.java   
@Override
public void configure(SpringApplicationBuilder builder) {
    builder.listeners(new EmbeddedServerPortFileWriter()).web(true);
}
项目:mandrel    文件:UiServer.java   
@Override
public void configure(SpringApplicationBuilder builder) {
    builder.listeners(new EmbeddedServerPortFileWriter()).web(true);
}
项目:enhanced-pet-clinic    文件:SampleWebUiApplication.java   
public static void main(String[] args) throws Exception {
    SpringApplication springApplication = new SpringApplication(SampleWebUiApplication.class);
    springApplication.addListeners(new ApplicationPidFileWriter(), new EmbeddedServerPortFileWriter());
    springApplication.run(args);
}