下面列出了怎么用org.springframework.beans.factory.parsing.NullSourceExtractor的API类实例代码及写法,或者点击链接到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());
}
/**
* 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());
}
/**
* 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());
}