public interface SourceExtractor
Configuration parsers may provide the ability to attach
source metadata during the parse phase. They will offer this metadata in a
generic format which can be further modified by a SourceExtractor
before being attached to the bean definition metadata.
BeanMetadataElement.getSource(),
BeanDefinition| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
extractSource(java.lang.Object sourceCandidate,
org.springframework.core.io.Resource definingResource)
Extract the source metadata from the candidate object supplied
by the configuration parser.
|
java.lang.Object extractSource(java.lang.Object sourceCandidate,
org.springframework.core.io.Resource definingResource)
sourceCandidate - the original source metadata (never null)definingResource - the resource that defines the given source object
(may be null)null)