Spring
mj1001001
我是来学习的!
展开
-
Spring 5.0.8.RELEASE文档 Core1-1.1 介绍Spring IoC和Beans
Core IoC container, Events, Resources, i18n, Validation, Data Binding, Type Conversion, SpEL, AOP 核心部分:包括IOC容器、事件、资源获取、i18n国际化、校验、数据绑定、类型转换、Spring表达式、AOP。(其中校验、数据绑定、类型转换、资源获取在项目中属于搭建配置约定好的,可能直接用的比较少...原创 2018-08-10 07:38:59 · 333 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.4.2 详细的依赖关系和配置
As mentioned in the previous section, you can define bean properties and constructor arguments as references to other managed beans (collaborators), or as values defined inline. Spring’s XML-based con...原创 2018-08-31 15:50:44 · 465 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.4.1 依赖注入
A typical enterprise application does not consist of a single object (or bean in the Spring parlance). Even the simplest application has a few objects that work together to present what the end-user s...原创 2018-08-17 16:43:53 · 233 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.3.2 实例化 beans
A bean definition essentially is a recipe for creating one or more objects. The container looks at the recipe for a named bean when asked, and uses the configuration metadata encapsulated by that bean...原创 2018-08-16 16:26:47 · 205 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.3.1 命名 beans
Every bean has one or more identifiers. These identifiers must be unique within the container that hosts the bean. A bean usually has only one identifier, but if it requires more than one, the extra o...原创 2018-08-16 14:12:12 · 313 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.3 Bean 的概述
A Spring IoC container manages one or more beans. These beans are created with the configuration metadata that you supply to the container, for example, in the form of XML definitions.一个Spring IoC容...原创 2018-08-14 22:55:47 · 188 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.2.3 使用容器
The ApplicationContext is the interface for an advanced factory capable of maintaining a registry of different beans and their dependencies. Using the method T getBean(String name, Class requiredType)...原创 2018-08-14 16:25:05 · 300 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.2.2 实例化容器
Instantiating a Spring IoC container is straightforward. The location path or paths supplied to an ApplicationContext constructor are actually resource strings that allow the container to load configu...原创 2018-08-14 15:41:33 · 143 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.2.1 配置元数据
As the preceding diagram shows, the Spring IoC container consumes a form of configuration metadata; this configuration metadata represents how you as an application developer tell the Spring container...原创 2018-08-14 11:01:57 · 296 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.2 容器概述
The interface org.springframework.context.ApplicationContext represents the Spring IoC container and is responsible for instantiating, configuring, and assembling the aforementioned beans. The contain...原创 2018-08-10 16:24:38 · 386 阅读 · 0 评论 -
Spring 5.0.8.RELEASE文档 Core1-1.4.2 详细的依赖关系和配置(后续)
Strongly-typed collection With the introduction of generic types in Java 5, you can use strongly typed collections. That is, it is possible to declare a Collection type such that it can only contain ...原创 2018-09-10 17:47:11 · 408 阅读 · 0 评论