CMSC 5724 Data Mining and Knowledge Discovery - Lecture 05
- Review
- VC-dimension
- VC-dimension of Extended Linear Classifies
- VC-Based Generalization Theorem
在【Spring源码】IoC之加载 BeanDefinition中提到,在核心逻辑方法#doLoadBeanDefinitions(InputSource inputSource, Resource resource) 方法中,中主要是做三件事情:
#getValidationModeForResource(Resource resource) 方法,获取指定资源(xml)的验证模式。DocumentLoader#loadDocument(InputSource inputSource, EntityResolver entityResolver,ErrorHandler errorHandler, int validationMode, boolean namespaceAware) 方法,获取 XML Document 实例。#registerBeanDefinitions(Document doc, Resource resource) 方法,根据获取的 Document 实例,注册 Bean 信息。这篇博客主要第 3 步,分析注册 Bean 信息。
在【Spring源码】IoC之加载 BeanDefinition中提到,在核心逻辑方法#doLoadBeanDefinitions(InputSource inputSource, Resource resource) 方法中,中主要是做三件事情:
#getValidationModeForResource(Resource resource) 方法,获取指定资源(xml)的验证模式。DocumentLoader#loadDocument(InputSource inputSource, EntityResolver entityResolver,ErrorHandler errorHandler, int validationMode, boolean namespaceAware) 方法,获取 XML Document 实例。#registerBeanDefinitions(Document doc, Resource resource) 方法,根据获取的 Document 实例,注册 Bean 信息。这篇博客主要第 2 步,分析获取 XML Document 对象。
在上篇【Spring源码】IoC之加载 BeanDefinition中提到,在核心逻辑方法#doLoadBeanDefinitions(InputSource inputSource, Resource resource) 方法中,中主要是做三件事情:
#getValidationModeForResource(Resource resource) 方法,获取指定资源(xml)的验证模式。DocumentLoader#loadDocument(InputSource inputSource, EntityResolver entityResolver,ErrorHandler errorHandler, int validationMode, boolean namespaceAware) 方法,获取 XML Document 实例。#registerBeanDefinitions(Document doc, Resource resource) 方法,根据获取的 Document 实例,注册 Bean 信息。这篇博客主要第 1 步,分析获取 xml 文件的验证模式。
从编程的角度而言,生产者就是负责向Kafka发送消息的应用程序。
Ioc 容器的使用整个过程就分为三个步骤:资源定位、装在、注册,本文分享的就是装载这个步骤。