public class PassThroughSourceExtractor extends Object implements SourceExtractor
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).
| 构造器和说明 |
|---|
PassThroughSourceExtractor() |
public Object extractSource(Object sourceCandidate, @Nullable org.springframework.core.io.Resource definingResource)
sourceCandidate as-is.extractSource 在接口中 SourceExtractorsourceCandidate - the source metadatadefiningResource - the resource that defines the given source object
(may be null)sourceCandidate