spring
文章平均质量分 88
NCS123456
这个作者很懒,什么都没留下…
展开
-
Spring事物源码解析
事物原创 2022-12-27 17:51:47 · 127 阅读 · 0 评论 -
String之PropertyPlaceholderConfigurery源码解析
1. PropertyPlaceholderConfigurery使用注解方式:<context:property-placeholder location="classpath*:disconf.properties" ignore-unresolvable="true" ignore-resource-not-found="true" order = "2" />...原创 2017-12-06 13:53:00 · 280 阅读 · 0 评论 -
spring之DefaultListableBeanFactory的bean的创建过程
一、DefaultListableBeanFactory简介 DefaultListableBeanFactory是bean加载的核心部分,是Spring注册及加载的默认实现。继承关系如下图: AbstractAutowireCapableBeanFactory完成Bean的创建,属性的注入,切面代理的产生,bean的生命周期的管理。二、AbstractAu...原创 2017-12-10 23:56:22 · 2264 阅读 · 1 评论 -
spring之AOP
一、AOP术语Aspect(切面): aspect 由 pointcount 和 advice 组成, 它既包含了横切逻辑的定义,切面就是对横切关注点的抽象。 pointcut(切点): 匹配 join point 的谓词(a predicate that matches join points)。 advice(增强): 指拦截到连接点之后要执行的代码,通知分为前置、后置、异常、最终、环...原创 2018-08-13 19:54:22 · 170 阅读 · 0 评论