|
|
|
@ -9,7 +9,6 @@ import cokr.xit.base.boot.XitBaseApplication;
|
|
|
|
|
|
|
|
|
|
public class XitBootApplication extends XitBaseApplication {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
//SpringApplication.run(XitBootApplication.class, args);
|
|
|
|
|
|
|
|
|
|
final SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(XitBootApplication.class);
|
|
|
|
|
final SpringApplication application = applicationBuilder.build();
|
|
|
|
@ -19,9 +18,4 @@ public class XitBootApplication extends XitBaseApplication {
|
|
|
|
|
application.addListeners(new ApplicationPidFileWriter( "adds-fo.pid"));
|
|
|
|
|
application.run(args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @Override
|
|
|
|
|
// protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
|
|
|
|
// return application.sources(XitBootApplication.class);
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|