SpringBootAdminApplication.java 1.2 KB
Newer Older
Thomas Bosch committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/*
 * Copyright 2014 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
Thomas Bosch committed
16
package de.codecentric.boot.admin;
Thomas Bosch committed
17 18 19 20

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;
21
import org.springframework.context.annotation.ImportResource;
Thomas Bosch committed
22

Dennis Schulte committed
23
import de.codecentric.boot.admin.config.EnableAdminServer;
Thomas Bosch committed
24 25 26

@Configuration
@EnableAutoConfiguration
Dennis Schulte committed
27
@EnableAdminServer
28
@ImportResource({ "classpath:hazelcast-config.xml" })
Dennis Schulte committed
29
public class SpringBootAdminApplication {
Thomas Bosch committed
30 31

	public static void main(String[] args) {
Dennis Schulte committed
32
		SpringApplication.run(SpringBootAdminApplication.class, args);
Thomas Bosch committed
33 34 35
	}

}