Java 类org.springframework.beans.factory.parsing.EmptyReaderEventListener 实例源码

项目:lams    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link ReaderEventListener} to use.
 * <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());
}
项目:spring4-understanding    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link ReaderEventListener} to use.
 * <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());
}
项目:spring    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link ReaderEventListener} to use.
 * <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());
}
项目:class-guard    文件:XmlBeanDefinitionReader.java   
/**
 * Specify which {@link ReaderEventListener} to use.
 * <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());
}