ITeye博客

2015 年文章归档

共 3 篇文章

spring源码阅读——3.spring-context

包含如下模块:cache(略)、context、jmx、remoting(略)、scheduling、scripting(略)等等。 JMX模块 查看org.springframework.jmx.export.annotation包下的注解,会使用即可。不作具体分析。 context模块 applicationContext接口: applicationContext实现的接口:通过EnvironmentCapable访问系统环境参数、通过ListableBeanFactory和HierarchicalBeanFactory作为bean容器、通过MessageSource提供资源国际化、通…

2015-09-23 16:09 · java

spring源码阅读——2.spring-beans

--------------------------org.springframework.beans---------------------------- CachedIntrospectionResults:用于辅助BeanWrapperImpl类,为了提高自省效率而作的cache。CachedIntrospectionResults并没有使用Introspector自带的对自省结果的缓存功能,而是自己实现了基于弱引用的cache。 BeanUtils :提供了一系列工具:根据class创建实例、查找class中的函数、获取class的PropertyDescriptor、在两个实例之…

2015-09-16 17:16 · java

spring源码阅读——1.spring-core-3.2.9

spring-core是spring一系列框架的基本工具包,其中主要包括几类工具:字节码增强、访问注解、数据类型转换等。 package说明: org.springframework.asm:字节码增强工具asm org.springframework.cglib:字节码增强工具cglib org.springframework.core: org.springframework.core.annotation:方便访问注解的工具 org.springframework.core.convert:数据类型转换工具 org.springframework.core.enums:在jdk5之前,…

2015-08-11 15:03 · java