跳过导航链接
A B C D E F G H I J L M N P R S T V 

A

addModel(String, Object) - 类 中的方法com.framework.bean.View
 
after(Class<?>, Method, Object[], Object) - 类 中的方法com.framework.proxy.AspectProxy
后置方法
AopHelper - com.framework.helper中的类
 
AopHelper() - 类 的构造器com.framework.helper.AopHelper
 
ArrayUtil - com.framework.util中的类
数组工具类
ArrayUtil() - 类 的构造器com.framework.util.ArrayUtil
 
Aspect - com.framework.annotation中的注释类型
切面注解
AspectProxy - com.framework.proxy中的类
切面代理 实现了 Proxy 这样所有的 AspectProxy 子类都可以执行 doProxy 方法了 定义一系列的钩子方法,这些方法可以在子类中选择性的进行实现。
AspectProxy() - 类 的构造器com.framework.proxy.AspectProxy
 
ASSET_PATH - 接口 中的静态变量com.framework.config.ConfigConstant
 
Autowired - com.framework.annotation中的注释类型
依赖注入(DI)注解

B

BASE_PACKAGE - 接口 中的静态变量com.framework.config.ConfigConstant
 
BeanHelper - com.framework.helper中的类
Bean 助手类
BeanHelper() - 类 的构造器com.framework.helper.BeanHelper
 
before(Class<?>, Method, Object[]) - 类 中的方法com.framework.proxy.AspectProxy
前置方法
begin() - 类 中的方法com.framework.proxy.AspectProxy
开始切面方法 可以选择重写方法进行实现前开始切面
beginTransaction() - 类 中的静态方法com.framework.helper.DatabaseHelper
开启事务

C

castBoolean(Object) - 类 中的静态方法com.framework.util.CastUtil
转为 boolean 型
castBoolean(Object, boolean) - 类 中的静态方法com.framework.util.CastUtil
转为 boolean 型(提供默认值)
castDouble(Object) - 类 中的静态方法com.framework.util.CastUtil
转为 double 型
castDouble(Object, double) - 类 中的静态方法com.framework.util.CastUtil
转为 double 型(提供默认值)
castInt(Object) - 类 中的静态方法com.framework.util.CastUtil
转为 int 型
castInt(Object, int) - 类 中的静态方法com.framework.util.CastUtil
转为 int 型(提供默认值)
castLong(Object) - 类 中的静态方法com.framework.util.CastUtil
转为 long 型
castLong(Object, long) - 类 中的静态方法com.framework.util.CastUtil
转为 long 型(提供默认值)
castString(Object) - 类 中的静态方法com.framework.util.CastUtil
转为 String 型
castString(Object, String) - 类 中的静态方法com.framework.util.CastUtil
转为 String 型(提供默认值)
CastUtil - com.framework.util中的类
转类型操作工具类
CastUtil() - 类 的构造器com.framework.util.CastUtil
 
ClassHelper - com.framework.helper中的类
类操作助手类
ClassHelper() - 类 的构造器com.framework.helper.ClassHelper
 
ClassUtil - com.framework.util中的类
类操作工具类
ClassUtil() - 类 的构造器com.framework.util.ClassUtil
 
CodecUtil - com.framework.util中的类
编码与解码操作工具类
CodecUtil() - 类 的构造器com.framework.util.CodecUtil
 
CollectionUtil - com.framework.util中的类
集合工具类
CollectionUtil() - 类 的构造器com.framework.util.CollectionUtil
 
com.framework - 程序包 com.framework
 
com.framework.annotation - 程序包 com.framework.annotation
 
com.framework.bean - 程序包 com.framework.bean
 
com.framework.config - 程序包 com.framework.config
 
com.framework.helper - 程序包 com.framework.helper
 
com.framework.proxy - 程序包 com.framework.proxy
 
com.framework.util - 程序包 com.framework.util
 
commitTransaction() - 类 中的静态方法com.framework.helper.DatabaseHelper
提交事务
CONFIG_FILE - 接口 中的静态变量com.framework.config.ConfigConstant
 
ConfigConstant - com.framework.config中的接口
提供配置项相关常量 和书中不同,我把名字改成了自己喜欢的名字
ConfigHelper - com.framework.helper中的类
属性文件助手类
ConfigHelper() - 类 的构造器com.framework.helper.ConfigHelper
 
Controller - com.framework.annotation中的注释类型
Controller 层类注解
ControllerHelper - com.framework.helper中的类
控制器助手类
ControllerHelper() - 类 的构造器com.framework.helper.ControllerHelper
 
copyStream(InputStream, OutputStream) - 类 中的静态方法com.framework.util.StreamUtil
将输入流复制到输出流
createProxy(Class<?>, List<Proxy>) - 类 中的静态方法com.framework.proxy.ProxyManager
创建一个代理对象进行返回,需要 目标类的Class对象 和 代理数组 通过 CGLib 进行创建代理对象

D

Data - com.framework.bean中的类
返回数据对象 里面存放的是 Object 类型,什么情况都可以。
Data(Object) - 类 的构造器com.framework.bean.Data
 
DatabaseHelper - com.framework.helper中的类
数据库操作助手类
DatabaseHelper() - 类 的构造器com.framework.helper.DatabaseHelper
 
decodeURL(String) - 类 中的静态方法com.framework.util.CodecUtil
将 URL 解码
DispatcherServlet - com.framework中的类
请求转发器
DispatcherServlet() - 类 的构造器com.framework.DispatcherServlet
 
doProxy(ProxyChain) - 类 中的方法com.framework.proxy.AspectProxy
执行代理,实际执行的是 ProxyChain 对象
doProxy(ProxyChain) - 接口 中的方法com.framework.proxy.Proxy
执行链式代理 每个切面代理都要实现这个 接口的方法,这样调用起来形成一条代理链
doProxy(ProxyChain) - 类 中的方法com.framework.proxy.TransactionProxy
 
doProxyChain() - 类 中的方法com.framework.proxy.ProxyChain
执行代理链方法

E

encodeURL(String) - 类 中的静态方法com.framework.util.CodecUtil
将 URL 编码
end() - 类 中的方法com.framework.proxy.AspectProxy
结束方法
equals(Object) - 类 中的方法com.framework.bean.RequestInfo
 
error(Class<?>, Method, Object[], Throwable) - 类 中的方法com.framework.proxy.AspectProxy
调用错误处理

F

fromJson(String, Class<T>) - 类 中的静态方法com.framework.util.JsonUtil
将 JSON 转为 POJO

G

getAppAssetPath() - 类 中的静态方法com.framework.helper.ConfigHelper
获取应用静态资源路径
getAppBasePackage() - 类 中的静态方法com.framework.helper.ConfigHelper
获取应用基础包名
getAppJspPath() - 类 中的静态方法com.framework.helper.ConfigHelper
获取应用 JSP 路径
getBean(Class<T>) - 类 中的静态方法com.framework.helper.BeanHelper
获取 Bean 实例
getBeanClassSet() - 类 中的静态方法com.framework.helper.ClassHelper
获取应用包名下所有 Bean 类(包括:Service、Controller 等)
getBeanMap() - 类 中的静态方法com.framework.helper.BeanHelper
获取 Bean 映射
getBoolean(String) - 类 中的静态方法com.framework.helper.ConfigHelper
根据属性名获取 boolean 类型的属性值
getBoolean(Properties, String) - 类 中的静态方法com.framework.util.PropsUtil
获取 boolean 类型属性(默认值为 false)
getBoolean(Properties, String, boolean) - 类 中的静态方法com.framework.util.PropsUtil
获取 boolean 类型属性(可指定默认值)
getClassLoader() - 类 中的静态方法com.framework.util.ClassUtil
获取类加载器
getClassSet() - 类 中的静态方法com.framework.helper.ClassHelper
获取应用包名下的所有类
getClassSet(String) - 类 中的静态方法com.framework.util.ClassUtil
获取指定包名下的所有类
getClassSetByAnnotation(Class<? extends Annotation>) - 类 中的静态方法com.framework.helper.ClassHelper
获取指定包名(扫描的包)下,被 某个注解的所有类 给 AOP 用的,传入 要扫描的注解,这类型指定的 注解类型。
getClassSetBySuper(Class<?>) - 类 中的静态方法com.framework.helper.ClassHelper
获取指定包名(扫描的包)下,指定父类的所有子类或接口的实现类 给 AOP用的,传入 父类 Class 对象 遍历包下所有的类Class对象,查看是否是 这个 父类 的 子类
getConnection() - 类 中的静态方法com.framework.helper.DatabaseHelper
获取数据库连接
getControllerClass() - 类 中的方法com.framework.bean.RequestMappingMethodHandler
 
getControllerClassSet() - 类 中的静态方法com.framework.helper.ClassHelper
获取应用包名下所有 Controller 类
getHandler(String, String) - 类 中的静态方法com.framework.helper.ControllerHelper
获取 Handler
getInt(String) - 类 中的静态方法com.framework.helper.ConfigHelper
根据属性名获取 int 类型的属性值
getInt(Properties, String) - 类 中的静态方法com.framework.util.PropsUtil
获取 int 类型的属性值(默认值为 0)
getInt(Properties, String, int) - 类 中的静态方法com.framework.util.PropsUtil
获取 int 类型的属性值(可指定默认值)
getJdbcDriver() - 类 中的静态方法com.framework.helper.ConfigHelper
获取 JDBC 驱动
getJdbcPassword() - 类 中的静态方法com.framework.helper.ConfigHelper
获取 JDBC 密码
getJdbcUrl() - 类 中的静态方法com.framework.helper.ConfigHelper
获取 JDBC URL
getJdbcUsername() - 类 中的静态方法com.framework.helper.ConfigHelper
获取 JDBC 用户名
getLong(String) - 类 中的方法com.framework.bean.Param
根据参数名获取 long 型参数值
getMap() - 类 中的方法com.framework.bean.Param
获取所有字段信息
getMethodParams() - 类 中的方法com.framework.proxy.ProxyChain
 
getModel() - 类 中的方法com.framework.bean.Data
 
getModel() - 类 中的方法com.framework.bean.View
 
getPath() - 类 中的方法com.framework.bean.View
 
getRequestMappingMethod() - 类 中的方法com.framework.bean.RequestMappingMethodHandler
 
getRequestMethod() - 类 中的方法com.framework.bean.RequestInfo
 
getRequestPath() - 类 中的方法com.framework.bean.RequestInfo
 
getServiceClassSet() - 类 中的静态方法com.framework.helper.ClassHelper
获取应用包名下所有 Service 类
getString(String) - 类 中的静态方法com.framework.helper.ConfigHelper
根据属性名获取 String 类型的属性值
getString(Properties, String) - 类 中的静态方法com.framework.util.PropsUtil
获取 String 类型的属性值(默认值为空字符串)
getString(Properties, String, String) - 类 中的静态方法com.framework.util.PropsUtil
获取 String 类型的属性值(可指定默认值)
getString(InputStream) - 类 中的静态方法com.framework.util.StreamUtil
从输入流中获取字符串
getTargetClass() - 类 中的方法com.framework.proxy.ProxyChain
 
getTargetMethod() - 类 中的方法com.framework.proxy.ProxyChain
 

H

hashCode() - 类 中的方法com.framework.bean.RequestInfo
 
HelperLoader - com.framework中的类
加载相应的 Helper 类
HelperLoader() - 类 的构造器com.framework.HelperLoader
 

I

init(ServletConfig) - 类 中的方法com.framework.DispatcherServlet
 
init() - 类 中的静态方法com.framework.HelperLoader
 
intercept(Class<?>, Method, Object[]) - 类 中的方法com.framework.proxy.AspectProxy
这个暂时不知道什么作用,默认返回的就是 true
invokeMethod(Object, Method, Object...) - 类 中的静态方法com.framework.util.ReflectionUtil
调用方法
IocHelper - com.framework.helper中的类
依赖注入助手类
IocHelper() - 类 的构造器com.framework.helper.IocHelper
 
isEmpty() - 类 中的方法com.framework.bean.Param
验证参数是否是空
isEmpty(Object[]) - 类 中的静态方法com.framework.util.ArrayUtil
判断数组是否为空
isEmpty(Collection<?>) - 类 中的静态方法com.framework.util.CollectionUtil
判断 Collection 是否为空
isEmpty(Map<?, ?>) - 类 中的静态方法com.framework.util.CollectionUtil
判断 Map 是否为空
isEmpty(String) - 类 中的静态方法com.framework.util.StringUtil
判断字符串是否为空
isNotEmpty(Object[]) - 类 中的静态方法com.framework.util.ArrayUtil
判断数组是否非空
isNotEmpty(Collection<?>) - 类 中的静态方法com.framework.util.CollectionUtil
判断 Collection 是否非空
isNotEmpty(Map<?, ?>) - 类 中的静态方法com.framework.util.CollectionUtil
判断 Map 是否非空
isNotEmpty(String) - 类 中的静态方法com.framework.util.StringUtil
判断字符串是否非空

J

JDBC_DRIVER - 接口 中的静态变量com.framework.config.ConfigConstant
 
JDBC_PASSWORD - 接口 中的静态变量com.framework.config.ConfigConstant
 
JDBC_URL - 接口 中的静态变量com.framework.config.ConfigConstant
 
JDBC_USERNAME - 接口 中的静态变量com.framework.config.ConfigConstant
 
JsonUtil - com.framework.util中的类
JSON 工具类
JsonUtil() - 类 的构造器com.framework.util.JsonUtil
 
JSP_PATH - 接口 中的静态变量com.framework.config.ConfigConstant
 

L

loadClass(String, boolean) - 类 中的静态方法com.framework.util.ClassUtil
加载类
loadClass(String) - 类 中的静态方法com.framework.util.ClassUtil
加载类(默认将初始化类)
loadProps(String) - 类 中的静态方法com.framework.util.PropsUtil
加载属性文件

M

md5(String) - 类 中的静态方法com.framework.util.CodecUtil
MD5 加密

N

newInstance(Class<?>) - 类 中的静态方法com.framework.util.ReflectionUtil
创建实例
newInstance(String) - 类 中的静态方法com.framework.util.ReflectionUtil
创建实例(根据类名)

P

Param - com.framework.bean中的类
请求参数对象 里面用一个 Map集合 存放请求参数对象
Param(Map<String, Object>) - 类 的构造器com.framework.bean.Param
 
PropsUtil - com.framework.util中的类
属性工具类
PropsUtil() - 类 的构造器com.framework.util.PropsUtil
 
Proxy - com.framework.proxy中的接口
代理接口
ProxyChain - com.framework.proxy中的类
代理链
ProxyChain(Class<?>, Object, Method, MethodProxy, Object[], List<Proxy>) - 类 的构造器com.framework.proxy.ProxyChain
构造方法
ProxyManager - com.framework.proxy中的类
代理管理器
ProxyManager() - 类 的构造器com.framework.proxy.ProxyManager
 

R

ReflectionUtil - com.framework.util中的类
反射工具类
ReflectionUtil() - 类 的构造器com.framework.util.ReflectionUtil
 
RequestInfo - com.framework.bean中的类
封装请求信息
RequestInfo(String, String) - 类 的构造器com.framework.bean.RequestInfo
 
RequestMapping - com.framework.annotation中的注释类型
请求映射 方法注解
RequestMapping.RequestMethod - com.framework.annotation中的枚举
 
RequestMappingMethodHandler - com.framework.bean中的类
封装 RequestMapping 信息
RequestMappingMethodHandler(Class<?>, Method) - 类 的构造器com.framework.bean.RequestMappingMethodHandler
 
rollbackTransaction() - 类 中的静态方法com.framework.helper.DatabaseHelper
回滚事务

S

SEPARATOR - 类 中的静态变量com.framework.util.StringUtil
字符串分隔符
Service - com.framework.annotation中的注释类型
Service层 类注解
service(HttpServletRequest, HttpServletResponse) - 类 中的方法com.framework.DispatcherServlet
真正的处理方法
setBean(Class<?>, Object) - 类 中的静态方法com.framework.helper.BeanHelper
设置 Bean 实例 key:Class对象 Value:实例对象
setField(Object, Field, Object) - 类 中的静态方法com.framework.util.ReflectionUtil
设置成员变量的值
splitString(String, String) - 类 中的静态方法com.framework.util.StringUtil
分割固定格式的字符串
StreamUtil - com.framework.util中的类
流操作工具类
StreamUtil() - 类 的构造器com.framework.util.StreamUtil
 
StringUtil - com.framework.util中的类
字符串工具类
StringUtil() - 类 的构造器com.framework.util.StringUtil
 

T

toJson(T) - 类 中的静态方法com.framework.util.JsonUtil
将 POJO 转为 JSON
Transaction - com.framework.annotation中的注释类型
 
TransactionProxy - com.framework.proxy中的类
事务代理
TransactionProxy() - 类 的构造器com.framework.proxy.TransactionProxy
 

V

valueOf(String) - 枚举 中的静态方法com.framework.annotation.RequestMapping.RequestMethod
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.framework.annotation.RequestMapping.RequestMethod
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
View - com.framework.bean中的类
返回视图对象
View(String) - 类 的构造器com.framework.bean.View
 
A B C D E F G H I J L M N P R S T V 
跳过导航链接

Copyright © 2019. All rights reserved.