Java 类org.springframework.beans.factory.parsing.FailFastProblemReporter 实例源码

项目:spring4-understanding    文件:AsmCircularImportDetectionTests.java   
@Override
protected ConfigurationClassParser newParser() {
    return new ConfigurationClassParser(
            new CachingMetadataReaderFactory(),
            new FailFastProblemReporter(),
            new StandardEnvironment(),
            new DefaultResourceLoader(),
            new AnnotationBeanNameGenerator(),
            new DefaultListableBeanFactory());
}
项目:class-guard    文件:AsmCircularImportDetectionTests.java   
@Override
protected ConfigurationClassParser newParser() {
    return new ConfigurationClassParser(
            new CachingMetadataReaderFactory(),
            new FailFastProblemReporter(),
            new StandardEnvironment(),
            new DefaultResourceLoader(),
            new AnnotationBeanNameGenerator(),
            new DefaultListableBeanFactory());
}
项目:lams    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link ProblemReporter} to use.
 * <p>Used to register any problems detected with {@link Configuration} or {@link Bean}
 * declarations. For instance, an @Bean method marked as {@code final} is illegal
 * and would be reported as a problem. Defaults to {@link FailFastProblemReporter}.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:lams    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link org.springframework.beans.factory.parsing.ProblemReporter} to use.
 * <p>The default implementation is {@link org.springframework.beans.factory.parsing.FailFastProblemReporter}
 * which exhibits fail fast behaviour. External tools can provide an alternative implementation
 * that collates errors and warnings for display in the tool UI.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:spring4-understanding    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link ProblemReporter} to use.
 * <p>Used to register any problems detected with {@link Configuration} or {@link Bean}
 * declarations. For instance, an @Bean method marked as {@code final} is illegal
 * and would be reported as a problem. Defaults to {@link FailFastProblemReporter}.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:spring4-understanding    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link org.springframework.beans.factory.parsing.ProblemReporter} to use.
 * <p>The default implementation is {@link org.springframework.beans.factory.parsing.FailFastProblemReporter}
 * which exhibits fail fast behaviour. External tools can provide an alternative implementation
 * that collates errors and warnings for display in the tool UI.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:my-spring-cache-redis    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link ProblemReporter} to use.
 * <p>Used to register any problems detected with {@link Configuration} or {@link Bean}
 * declarations. For instance, an @Bean method marked as {@code final} is illegal
 * and would be reported as a problem. Defaults to {@link FailFastProblemReporter}.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:spring    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link ProblemReporter} to use.
 * <p>Used to register any problems detected with {@link Configuration} or {@link Bean}
 * declarations. For instance, an @Bean method marked as {@code final} is illegal
 * and would be reported as a problem. Defaults to {@link FailFastProblemReporter}.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:spring    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link org.springframework.beans.factory.parsing.ProblemReporter} to use.
 * <p>The default implementation is {@link org.springframework.beans.factory.parsing.FailFastProblemReporter}
 * which exhibits fail fast behaviour. External tools can provide an alternative implementation
 * that collates errors and warnings for display in the tool UI.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:class-guard    文件:ConfigurationClassPostProcessor.java   
/**
 * Set the {@link ProblemReporter} to use.
 * <p>Used to register any problems detected with {@link Configuration} or {@link Bean}
 * declarations. For instance, an @Bean method marked as {@code final} is illegal
 * and would be reported as a problem. Defaults to {@link FailFastProblemReporter}.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}
项目:class-guard    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link org.springframework.beans.factory.parsing.ProblemReporter} to use.
 * <p>The default implementation is {@link org.springframework.beans.factory.parsing.FailFastProblemReporter}
 * which exhibits fail fast behaviour. External tools can provide an alternative implementation
 * that collates errors and warnings for display in the tool UI.
 */
public void setProblemReporter(ProblemReporter problemReporter) {
    this.problemReporter = (problemReporter != null ? problemReporter : new FailFastProblemReporter());
}