public class PassThroughSourceExtractor extends Object implements SourceExtractor
SourceExtractorimplementation 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).
|Constructor and Description|
|Modifier and Type||Method and Description|
Simply returns the supplied
public Object extractSource(Object sourceCandidate, Resource definingResource)
sourceCandidate- the source metadata
definingResource- the resource that defines the given source object (may be