com.anuz.dummyclient.DummyClientApplication.java Source code

Java tutorial

Introduction

Here is the source code for com.anuz.dummyclient.DummyClientApplication.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.anuz.dummyclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 *
 * @author anuz
 */
@SpringBootApplication
public class DummyClientApplication extends SpringBootServletInitializer {

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

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

}