接口 SourceExtractor

    • 方法详细资料

      • extractSource

        Object extractSource​(Object sourceCandidate,
                             Resource definingResource)
        Extract the source metadata from the candidate object supplied by the configuration parser.
        参数:
        sourceCandidate - the original source metadata (never null)
        definingResource - the resource that defines the given source object (may be null)
        返回:
        the source metadata object to store (may be null)