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).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the suppliedsourceCandidatethe source metadata sourceCandidate, Resource the resource that defines the given source object
(may be definingResource)null)Implements org. Simply returns the supplied |
| PassThroughSourceExtractor | back to summary |
|---|---|
| public PassThroughSourceExtractor() | |
| extractSource | back to summary |
|---|---|
| public Object extractSource(Object sourceCandidate, Resource definingResource) Implements org. Simply returns the supplied
| |