com.armeniopinto.eureka.server.ApplicationStarter.java Source code

Java tutorial

Introduction

Here is the source code for com.armeniopinto.eureka.server.ApplicationStarter.java

Source

/**
 * ApplicationStarter.java
 * 
 * Copyright (C) 2016 by Armnio Pinto.
 * Please read LICENSE.TXT for the license details.
 */
package com.armeniopinto.eureka.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author armenio.pinto
 */
@SpringBootApplication
@EnableEurekaServer
public class ApplicationStarter {

    public static void main(final String[] args) {
        new SpringApplicationBuilder(ApplicationStarter.class).run(args);
    }

}