org.springframework.beans.factory.parsing.NullSourceExtractor Java Examples

The following examples show how to use org.springframework.beans.factory.parsing.NullSourceExtractor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XmlBeanDefinitionReader.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(@Nullable SourceExtractor sourceExtractor) {
	this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
 
Example #2
Source File: XmlBeanDefinitionReader.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(@Nullable SourceExtractor sourceExtractor) {
	this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
 
Example #3
Source File: XmlBeanDefinitionReader.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
	this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
 
Example #4
Source File: XmlBeanDefinitionReader.java    From blog_demos with Apache License 2.0 2 votes vote down vote up
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
	this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}
 
Example #5
Source File: XmlBeanDefinitionReader.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Specify the {@link SourceExtractor} to use.
 * <p>The default implementation is {@link NullSourceExtractor} which simply returns {@code null}
 * as the source object. This means that - during normal runtime execution -
 * no additional source metadata is attached to the bean configuration metadata.
 */
public void setSourceExtractor(SourceExtractor sourceExtractor) {
	this.sourceExtractor = (sourceExtractor != null ? sourceExtractor : new NullSourceExtractor());
}