添加源码阅读仓库

pull/16/head
huifer 5 years ago
parent 2168880b24
commit d7e83bbf7a

@ -1,6 +1,8 @@
# mybatis 缓存
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis Cache 源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- `org.apache.ibatis.cache.Cache`
```java
public interface Cache {

@ -1,6 +1,8 @@
# mybatis 反射
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis 反射相关类的源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
## addDefaultConstructor
- mybatis 的反射相关内容在`org.apache.ibatis.reflection` 下存放. 本片主要讲解`org.apache.ibatis.reflection.Reflector`类, 先看一下该类的属性

@ -1,6 +1,8 @@
# mybatis 日志源码
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis 日志相关源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
## 核心类
- `org.apache.ibatis.logging.Log`
- `org.apache.ibatis.logging.LogFactory`

@ -1,6 +1,7 @@
# Mybatis Alias
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis Alias 源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- 源码位置 :`org.apache.ibatis.type.Alias`
- 与 Alias 相关的一个方法`org.apache.ibatis.type.TypeAliasRegistry.registerAlias(java.lang.String, java.lang.Class<?>)`(别名注册)

@ -1,6 +1,7 @@
# Mybatis Cursor
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis Cursor 源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
## Cursor
- 源码位置:`org.apache.ibatis.cursor.Cursor`
- 继承`Iterable`说明是一个迭代器,继承`Closeable`说明有一个东西需要关闭

@ -1,6 +1,8 @@
# Mybatis DataSource
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis DataSource 源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- `org.apache.ibatis.datasource.DataSourceFactory`
```java
/**

@ -1,5 +1,6 @@
# Mybatis DyanmicSqlSourcce
- Author: [HuiFer](https://github.com/huifer)
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- `org.apache.ibatis.scripting.xmltags.DynamicSqlSource`
- `org.apache.ibatis.scripting.xmltags.DynamicContext.DynamicContext`

@ -2,6 +2,7 @@
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis MapperMethod 源码
- 源码地址: `org.apache.ibatis.binding.MapperMethod`,核心方法是`execute`
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
```java
/**

@ -1,5 +1,6 @@
# Mybatis MetaObject
- Author: [HuiFer](https://github.com/huifer)
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- 源码位于:`org.apache.ibatis.reflection.MetaObject`
```java
/**

@ -1,6 +1,7 @@
# MethodSignature
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis MethodSignature 类
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- `org.apache.ibatis.binding.MapperMethod.MethodSignature`
```java
/**

@ -1,5 +1,6 @@
# Mybatis ObjectWrapper
- Author: [HuiFer](https://github.com/huifer)
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- 源码位于: `org.apache.ibatis.reflection.wrapper.ObjectWrapper`
类图:

@ -1,6 +1,8 @@
# ParamNameResolver 源码解析
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis `@Param` 注解和`ParamNameResolver`
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
## 源码
- `org.apache.ibatis.reflection.ParamNameResolver`
```java

@ -1,6 +1,7 @@
# sqlCommand
- Author: [HuiFer](https://github.com/huifer)
- Description: 该文介绍 mybatis sqlCommand类的源码
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
- `org.apache.ibatis.binding.MapperMethod.SqlCommand`
```java

@ -1,6 +1,7 @@
# GenericTokenParser
- Author: [HuiFer](https://github.com/huifer)
-
- 源码阅读工程: [huifer-mybatis](https://github.com/huifer/javaBook-src/tree/old/mybatis-3)
```java
/**
* Copyright 2009-2019 the original author or authors.

Loading…
Cancel
Save