org.springframework.beans.factory.parsing.NullSourceExtractor源码实例Demo

类org.springframework.beans.factory.parsing.NullSourceExtractor源码实例Demo

下面列出了org.springframework.beans.factory.parsing.NullSourceExtractor 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

/**
 * 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());
}
 
/**
 * 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());
}
 
源代码3 项目: lams   文件: XmlBeanDefinitionReader.java
/**
 * 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());
}
 
源代码4 项目: blog_demos   文件: XmlBeanDefinitionReader.java
/**
 * 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());
}
 
/**
 * 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());
}
 
源代码评论
动弹
沙发等你来抢
 类方法
 同包方法