org.springframework.boot.diagnostics

Class FailureAnalyzers



  • public final class FailureAnalyzers
    extends Object
    Utility to trigger FailureAnalyzer and FailureAnalysisReporter instances loaded from spring.factories.

    A FailureAnalyzer that requires access to the BeanFactory in order to perform its analysis can implement BeanFactoryAware to have the BeanFactory injected prior to FailureAnalyzer.analyze(Throwable) being called.

    Since:
    1.4.0
    Author:
    Andy Wilkinson, Phillip Webb
    • Method Detail

      • analyzeAndReport

        public static boolean analyzeAndReport(Throwable failure,
                                               ClassLoader classLoader,
                                               org.springframework.context.ConfigurableApplicationContext context)

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.