public static void main(String[] args) {

        // PID file
        File pid = new File("ontrack.pid");

        // Runs the application
        SpringApplication application = new SpringApplication(Application.class);
        application.addListeners(new ApplicationPidFileWriter(pid));
        application.run(args);
    }
public static void main ( String [ ] args ) { File pid = new File ( "ontrack.pid" ) ; SpringApplication application = new SpringApplication ( Application . class ) ; application . addListeners ( new ApplicationPidFileWriter ( pid ) ) ; application . run ( args ) ; }
Start-up point

@param args Arguments passed to the program, they may contain configuration variables.