
spring
文章平均质量分 92
诸葛子房_
https://www.zgzf.online/
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java Proxy 解析---spring aop
1.接口public interface IAccountService { int getInt(int i); int getInt2(int i);}2.实现public class AccountServiceImpl implements IAccountService { public int getInt(int i) { ret...原创 2020-01-07 16:32:15 · 203 阅读 · 0 评论 -
spring 整合mybatis
1.spring集成mybatispom文件<?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" xs...原创 2019-08-30 10:28:48 · 665 阅读 · 0 评论 -
java 代理模式
https://blog.csdn.net/litianxiang_kaola/article/details/85335700java 反射https://blog.csdn.net/litianxiang_kaola/article/details/78634822java 注解https://blog.csdn.net/litianxiang_kaola/article/de...原创 2019-11-29 17:54:39 · 228 阅读 · 0 评论 -
手写spring框架
https://blog.csdn.net/litianxiang_kaola/article/details/86646947原创 2019-11-29 17:55:09 · 186 阅读 · 0 评论 -
手写spring 框架——第三篇(注解的方式)
(1)注解类package com.jd.xq.spring.annotation;/** * @author duanxiaoqiu * @Date 2019-12-27 17:05 **/import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang....原创 2019-12-31 19:08:15 · 273 阅读 · 0 评论 -
手写spring 框架——第二篇(依赖注入)
属性注入1.xml文件<?xml version="1.0" encoding="UTF-8"?><beans> <bean id="person" class="com.jd.xq.spring.bean.Person"> <property name="name" value="xq"></property&...原创 2019-12-27 14:58:25 · 213 阅读 · 0 评论 -
手写spring框架——第一篇
1.xml文件<?xml version="1.0" encoding="UTF-8"?><beans> <bean id="person" class="com.jd.xq.spring.bean.Person"/></beans>2.XqClassPathXmlApplicationContext(1)读取xml文件(2)...原创 2019-12-27 12:05:47 · 242 阅读 · 0 评论 -
spring 源码分析——第二篇(ioc 注解方式)
1.注解类@Component(value = "MyTestBean")public class MyTestBean { private String name = "11"; public String getName() { return name; } public void setName(String name) { ...原创 2019-12-20 11:10:03 · 152 阅读 · 0 评论 -
spring 源码解析——第一篇(ioc xml方式)
一、环境搭建1.pom文件<properties> <!-- spring版本号 --> <spring.version>4.0.2.RELEASE</spring.version> <!-- mybatis版本号 --> <mybatis.version>3.2.6</myba...原创 2019-12-17 17:14:59 · 195 阅读 · 0 评论