随笔分类 -  spring及其源码分析专辑

上一页 1 2 3 4 5 6 下一页
仅为业余分析研究spring之用
Spring 4 + Reactor Integration Example--转
摘要:原文地址:http://www.concretepage.com/spring-4/spring-4-reactor-integration-example Reactor is a framework to make event driven programming much easier. Th 阅读全文
posted @ 2016-07-21 09:25 一天不进步,就是退步 阅读(2137) 评论(0) 推荐(0) 编辑
@Async in Spring--转
摘要:原文地址:http://www.baeldung.com/spring-async 1. Overview In this article we’ll explore the asynchronous execution support in Spring – and the @Async anno 阅读全文
posted @ 2016-07-19 17:32 一天不进步,就是退步 阅读(1430) 评论(0) 推荐(0) 编辑
spring源码分析之定时任务概述
摘要:Spring框架提供了TaskExcutor的异步执行和TashScheduler的任务定时执行接口,同样spring也提供了线程池或者CommonJ的代理。 TaskExecutor的类型 SimpleAsyncTaskExecutor,没有复用线程,当触发时仅仅启动一个新的线程。支持并发。 Sy 阅读全文
posted @ 2016-07-19 08:53 一天不进步,就是退步 阅读(2474) 评论(0) 推荐(0) 编辑
spring源码分析之定时任务Scheduled注解
摘要:1. @Scheduled 可以将一个方法标识为可定时执行的。但必须指明cron(),fixedDelay(),或者fixedRate()属性。 注解的方法必须是无输入参数并返回空类型void的。 @Scheduled注解由注册的ScheduledAnnotationBeanPostProcesso 阅读全文
posted @ 2016-07-18 09:32 一天不进步,就是退步 阅读(16054) 评论(0) 推荐(0) 编辑
spring源码分析之spring-core-env
摘要:看一下源码整体: 抓住主要点,Environment、PropertyResolver、PropertySource,其结构如下: 其中, Environment:Interface representing the environment in which the current applicat 阅读全文
posted @ 2016-07-15 15:25 一天不进步,就是退步 阅读(427) 评论(0) 推荐(0) 编辑
spring websocket源码分析续Handler的使用
摘要:1. handler的定义 spring websocket支持的消息有以下几种: 对消息的处理就使用了Handler模式,抽象handler类AbstractWebSocketHandler.java 具体实现handler类BinaryWebSocketHandler(为例,其它略) 2.han 阅读全文
posted @ 2016-07-15 10:24 一天不进步,就是退步 阅读(12272) 评论(0) 推荐(0) 编辑
spring源码分析之spring-core-io
摘要:1. 看一下源码整体结构: 抓住主要点Resource、ResourceLoader和ResourceEditor 其中Resource作用 Interface for a resource descriptor that abstracts from the actual type of unde 阅读全文
posted @ 2016-07-11 16:54 一天不进步,就是退步 阅读(663) 评论(0) 推荐(0) 编辑
cglib源码分析--转
摘要:原文地址:http://www.iteye.com/topic/799827 背景 前段时间在工作中,包括一些代码阅读过程中,spring aop经常性的会看到cglib中的相关内容,包括BeanCopier,BulkBean,Enancher等内容,以前虽大致知道一些内容,原理是通过bytecod 阅读全文
posted @ 2016-07-08 17:22 一天不进步,就是退步 阅读(2932) 评论(0) 推荐(0) 编辑
spring源码分析之spring-core asm概述
摘要:ASM是什么? ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify existing classes or dynamically generate cla 阅读全文
posted @ 2016-07-08 09:02 一天不进步,就是退步 阅读(7722) 评论(0) 推荐(0) 编辑
spring源码分析之<context:component-scan/>vs<annotation-config/>
摘要:1.<context:annotation-config/> xsd中说明: 解析发生在在解析xml文件中,解析类为:AnnotationConfigBeanDefinitionParser.java 2.<context:component-scan/> 注意:红色的一行中,说明<context: 阅读全文
posted @ 2016-07-06 10:42 一天不进步,就是退步 阅读(1894) 评论(0) 推荐(1) 编辑
annotation-config vs component-scan – Spring Core--转
摘要:原文地址:http://techidiocy.com/annotation-config-vs-component-scan-spring-core/ <context:annotation-config> and <context:component-scan> are two of the mo 阅读全文
posted @ 2016-07-06 09:59 一天不进步,就是退步 阅读(279) 评论(0) 推荐(0) 编辑
spring源码分析之spring注解@Aspect是如何工作的?
摘要:1、@Aspect 在xml定义:<aop:aspectj-autoproxy />,其定义在http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 1.1 注册 的继承关系如下: 1.2 解析过程 AspectJAutoProxyB 阅读全文
posted @ 2016-07-05 18:20 一天不进步,就是退步 阅读(4033) 评论(0) 推荐(0) 编辑
Spring之LoadTimeWeaver——一个需求引发的思考---转
摘要:原文地址:http://www.myexception.cn/software-architecture-design/602651.html Spring之LoadTimeWeaver——一个需求引发的思考 最近有个需求——记录应用中某些接口被调用的轨迹,说白了,记录下入参、出参等即可。 我选用A 阅读全文
posted @ 2016-07-01 16:43 一天不进步,就是退步 阅读(3903) 评论(0) 推荐(2) 编辑
spring 源码分析之BeanPostProcessor
摘要:1.官方解答: Factory hook that allows for custom modification of new bean instances, e.g. checking for marker interfaces or wrapping them with proxies. App 阅读全文
posted @ 2016-07-01 16:37 一天不进步,就是退步 阅读(3462) 评论(0) 推荐(1) 编辑
spring bean生命周期管理--转
摘要:Life Cycle Management of a Spring Bean 原文地址:http://javabeat.net/life-cycle-management-of-a-spring-bean/ 1) Introduction This article would brief about 阅读全文
posted @ 2016-07-01 14:00 一天不进步,就是退步 阅读(1261) 评论(1) 推荐(0) 编辑
spring源码分析之spring jmx
摘要:JMX架构定义: https://docs.oracle.com/javase/8/docs/technotes/guides/jmx/overview/architecture.html Architecture Outline JMX technology is defined by two c 阅读全文
posted @ 2016-06-17 08:30 一天不进步,就是退步 阅读(2546) 评论(0) 推荐(0) 编辑
spring注解源码分析--how does autowired works?
摘要:1. 背景 注解可以减少代码的开发量,spring提供了丰富的注解功能。我们可能会被问到,spring的注解到底是什么触发的呢?今天以spring最常使用的一个注解autowired来跟踪代码,进行debug。 2. Autowired的定义及作用 作用:Marks a constructor, f 阅读全文
posted @ 2016-06-12 11:18 一天不进步,就是退步 阅读(3093) 评论(1) 推荐(2) 编辑
How does Spring @Transactional Really Work?--转
摘要:原文地址:http://blog.jhades.org/how-does-spring-transactional-really-work/ In this post we will do a deep dive into Spring transaction management. We will 阅读全文
posted @ 2016-06-08 16:01 一天不进步,就是退步 阅读(559) 评论(0) 推荐(0) 编辑
Spring Annotation Processing: How It Works--转
摘要:找的好辛苦呀 原文地址:https://dzone.com/articles/spring-annotation-processing-how-it-works If you see an annotation, there must be some code somewhere to proces 阅读全文
posted @ 2016-06-08 15:01 一天不进步,就是退步 阅读(507) 评论(0) 推荐(0) 编辑
Example of ApplicationContextAware in Spring--转
摘要:原文地址:http://www.concretepage.com/spring/example_applicationcontextaware_spring In spring we can get ApplicationContext anywhere in our code with the h 阅读全文
posted @ 2016-06-03 10:47 一天不进步,就是退步 阅读(470) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 下一页