![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
BLUcoding
这个作者很懒,什么都没留下…
展开
-
Spring03_AOP(面向切面编程)
Spring03_AOP(面向切面编程)示例pom文件:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0原创 2020-06-21 19:53:55 · 40332 阅读 · 0 评论 -
Spring02_Autowire(自动注入)
Spring02_Autowire(自动注入)byName实体类Carpackage com.blu.entity;import lombok.Data;@Datapublic class Car { private long id; private String name;}实体类Persionpackage com.blu.entity;import lombok.Data;@Datapublic class Persion { private long i原创 2020-06-21 12:21:58 · 44047 阅读 · 0 评论 -
Spring01_ioc (Inversion of Control) 控制反转
Spring01_ioc (Inversion of Control) 控制反转控制反转示例:新建 Maven ⼯程,pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.o原创 2020-06-18 02:26:12 · 119614 阅读 · 0 评论