public class

NullSourceExtractor

extends Object
implements SourceExtractor
java.lang.Object
   ↳ org.springframework.beans.factory.parsing.NullSourceExtractor

Class Overview

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.

Summary

Public Constructors
NullSourceExtractor()
Public Methods
Object extractSource(Object sourceCandidate, Resource definitionResource)
This implementation simply returns null for any input.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.parsing.SourceExtractor

Public Constructors

public NullSourceExtractor ()

Also: SpringBeans

Public Methods

public Object extractSource (Object sourceCandidate, Resource definitionResource)

This implementation simply returns null for any input.

Parameters
sourceCandidate the original source metadata (never null)
definitionResource the resource that defines the given source object (may be null)
Returns
  • the source metadata object to store (may be null)