|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.parsing.NullSourceExtractor
public class NullSourceExtractor
Simple implementation of SourceExtractor
that returns null
as the source metadata.
This is the default implementation and prevents too much metadata from being held in memory during normal (non-tooled) runtime usage.
Constructor Summary | |
---|---|
NullSourceExtractor()
|
Method Summary | |
---|---|
java.lang.Object |
extractSource(java.lang.Object sourceCandidate,
Resource definitionResource)
This implementation simply returns null for any input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullSourceExtractor()
Method Detail |
---|
public java.lang.Object extractSource(java.lang.Object sourceCandidate, Resource definitionResource)
null
for any input.
extractSource
in interface SourceExtractor
sourceCandidate
- the original source metadata (never null
)definitionResource
- the resource that defines the given source object
(may be null
)
null
)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |