Spring Framework EmptyReaderEventListener - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework EmptyReaderEventListener class.

This code example shows how to use the following methods:
	 * <p>The default implementation is EmptyReaderEventListener which discards every event notification. 
	 * External tools can provide an alternative implementation to monitor the components being 
	 * registered in the BeanFactory. 
	 */ 
	public void setEventListener(ReaderEventListener eventListener) {
		this.eventListener = (eventListener != null ? eventListener : new EmptyReaderEventListener());
	} 
 
	/** 
	 * 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 NamespaceHandlerResolver} to use. 
4
CodeRank