Spring
九井山青
这个作者很懒,什么都没留下…
展开
-
Spring的核心配置文件
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframewo原创 2021-03-11 15:43:53 · 353 阅读 · 0 评论 -
Spring5 详解 B站 狂神 学习笔记
目录1、 Spring1、简介2、优点3、组成4、拓展2、IOC理论推导IOC本质3、HelloSpring思考问题?4、IOC创建对象的方式5、Spring配置1、别名2、Bean的配置3、import6、DI依赖注入1、构造器注入2、Set方式注入【重点】3、拓展方式注入4、bean的作用域7、Bean的自动装配1、测试2、ByName自动装配3、ByType自动装配4、使用注解实现自动装配科普:8、使用注解开发9、使用Java的方式配置Spring代理模式1、静态代理:2、加深理解3、动态代理 1、原创 2021-03-09 16:33:03 · 481 阅读 · 0 评论 -
Spring5 xml的配置文件模板
beans.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans原创 2021-02-25 22:11:33 · 448 阅读 · 0 评论 -
Spring5 注解的配置文件模板
applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"转载 2021-02-25 22:05:50 · 180 阅读 · 0 评论