org.springframework.beans.factory.parsing

## 类 PassThroughSourceExtractor

- java.lang.Object
- - org.springframework.beans.factory.parsing.PassThroughSourceExtractor

- 所有已实现的接口:
    SourceExtractor

      public class PassThroughSourceExtractor
      extends Object
      implements SourceExtractor

  Simple `SourceExtractor` implementation that just passes the candidate source metadata object through for attachment.

  Using this implementation means that tools will get raw access to the underlying configuration source metadata provided by the tool.

  This implementation should not be used in a production application since it is likely to keep too much metadata in memory (unnecessarily).

  从以下版本开始:
    2.0
  作者:
    Rob Harrop

- - ### 构造器概要

    构造器
    构造器和说明
    `PassThroughSourceExtractor()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `extractSource(Object sourceCandidate, org.springframework.core.io.Resource definingResource)` Simply returns the supplied `sourceCandidate` as-is.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### PassThroughSourceExtractor

          public PassThroughSourceExtractor()

  - ### 方法详细资料

    - #### extractSource

          public Object extractSource(Object sourceCandidate,
                                      @Nullable
                                      org.springframework.core.io.Resource definingResource)

      Simply returns the supplied `sourceCandidate` as-is.
      指定者:
        `extractSource` 在接口中 `SourceExtractor`
      参数:
        `sourceCandidate` - the source metadata
        `definingResource` - the resource that defines the given source object (may be `null`)
      返回:
        the supplied `sourceCandidate`