ActuatorAutoConfiguration.java 377 字节
Newer Older
武汉红喜's avatar
武汉红喜 已提交
1 2 3 4 5 6 7 8 9 10 11
package org.hongxi.whatsmars.boot.sample.actuator;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by shenhongxi on 2020/7/17.
 */
@Configuration
public class ActuatorAutoConfiguration {

武汉红喜's avatar
武汉红喜 已提交
12 13 14
    @Bean
    public ActuatorReporter actuatorReporter() {
        return new  ActuatorReporter();
武汉红喜's avatar
武汉红喜 已提交
15 16
    }
}