随笔分类 -  Spring

Spring & Spring Boot 入门
摘要:Spark文档阅读之Programming Guides - Quick Start。学习spark-shell任务提交方法和独立spark任务的创建和提交执行。 阅读全文
posted @ 2020-06-15 19:54 沙木鱼 阅读(352) 评论(0) 推荐(0)
摘要:@EnableAutoConfiguration注解是Spring Boot中配置自动装载的总开关。本文将从@EnableAutoConfiguration入手,尝试分析Spring Boot对@AutoConfigurationImportSelector注解的处理过程。 阅读全文
posted @ 2019-10-08 21:19 沙木鱼 阅读(6993) 评论(0) 推荐(4)
摘要:AOP (Aspect Oriented Programming)是Spring中一种重要的编程思想。AOP涉及Aspect、Advice、Join point、Pointcut、Weaving、Target等多个概念,实现依赖于Spring中的@Aspect、@Pointcut、@Before、@Around、@After、@AfterReturning、@AfterThrowing等多个注解,较为复杂。本文通过实例代码实践并理解AOP的核心思想, 关注@Aspect的功能、@Pointcut的切面表达式、不同Advice的时序关系,并基于代码重新梳理和理解AOP中的概念。 阅读全文
posted @ 2019-08-27 23:08 沙木鱼 阅读(4725) 评论(0) 推荐(0)