Example usage for org.springframework.beans.factory.parsing PassThroughSourceExtractor PassThroughSourceExtractor

List of usage examples for org.springframework.beans.factory.parsing PassThroughSourceExtractor PassThroughSourceExtractor

Introduction

In this page you can find the example usage for org.springframework.beans.factory.parsing PassThroughSourceExtractor PassThroughSourceExtractor.

Prototype

PassThroughSourceExtractor

Source Link

Usage

From source file:org.springframework.context.annotation.ConfigurationClassPostProcessor.java

/**
 * Set the {@link SourceExtractor} to use for generated bean definitions
 * that correspond to {@link Bean} factory methods.
 *//* w w w.  j av  a 2s  . c  o m*/
public void setSourceExtractor(@Nullable SourceExtractor sourceExtractor) {
    this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new PassThroughSourceExtractor());
}