Package org.springframework.boot.actuate.endpoint.mvc

Examples of org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint


  @Bean
  @ConditionalOnBean(HealthEndpoint.class)
  @ConditionalOnProperty(prefix = "endpoints.health", name = "enabled", matchIfMissing = true)
  public HealthMvcEndpoint healthMvcEndpoint(HealthEndpoint delegate) {
    HealthMvcEndpoint healthMvcEndpoint = new HealthMvcEndpoint(delegate);
    if (this.healthMvcEndpointProperties.getMapping() != null) {
      healthMvcEndpoint.addStatusMapping(this.healthMvcEndpointProperties
          .getMapping());
    }
    return healthMvcEndpoint;
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.