All Downloads are FREE. Search and download functionalities are using the official Maven repository.

JavaJaxRS.cxf-ext.server.SpringBootApplication.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
package {{apiPackage}};

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;

@ImportResource({"classpath:/ApplicationContext{{#supportMultipleSpringServices}}-{{invokerPackage}}{{/supportMultipleSpringServices}}.xml"})
@EnableAutoConfiguration
@SpringBootConfiguration
public class SpringBootApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(SpringBootApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(SpringBootApplication.class, args);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy