Java 类org.springframework.boot.actuate.endpoint.mvc.ManagementErrorEndpoint 实例源码

项目:contestparser    文件:EndpointWebMvcChildContextConfiguration.java   
@Bean
@ConditionalOnBean(ErrorAttributes.class)
public ManagementErrorEndpoint errorEndpoint(ServerProperties serverProperties,
        ErrorAttributes errorAttributes) {
    return new ManagementErrorEndpoint(serverProperties.getError().getPath(),
            errorAttributes);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:EndpointWebMvcChildContextConfiguration.java   
@Bean
@ConditionalOnBean(ErrorAttributes.class)
public ManagementErrorEndpoint errorEndpoint(ErrorAttributes errorAttributes) {
    return new ManagementErrorEndpoint(errorAttributes);
}
项目:spring-boot-concourse    文件:EndpointWebMvcChildContextConfiguration.java   
@Bean
@ConditionalOnBean(ErrorAttributes.class)
public ManagementErrorEndpoint errorEndpoint(ErrorAttributes errorAttributes) {
    return new ManagementErrorEndpoint(errorAttributes);
}