自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(179)
  • 收藏
  • 关注

原创 Java生成PDF笔记整理

【代码】Java生成PDF笔记整理。

2024-06-02 10:18:44 623

原创 SpringCloud-Gateway源码笔记整理

网关的执行流程HttpWebHandlerAdapter: 构建组装网关请求的上下文。DispatcherHandler:所有请求的分处理器,负责分请求到对应的处理器。RoutePredicateHandlerMapping:路由断言处理器,用于路由的查找,以及找到路由后返回对应的WebHandler, DispatcherHandler会依次遍历HandlerMapping集合进行处理FilteringWebHandler:创建过滤器链,使用Filter链表处理请求。 RoutePredic

2024-03-19 10:05:23 467

原创 Kafka-SSL笔记整理

【代码】Kafka-SSL笔记整理。

2024-03-16 21:00:55 683

原创 Spring-Kafka笔记整理

【代码】Spring-Kafka笔记整理。

2024-03-16 14:42:16 1273

原创 SpringCloud Stream笔记整理

application.yml中添加配置。添加kafka stream依赖。

2024-03-11 18:01:21 605

原创 Spring整合Flyway使用笔记

引入依赖

2024-03-11 17:51:01 410

原创 Spring-Mybatis读写分离笔记整理

【代码】Spring-Mybatis读写分离笔记整理。

2023-12-03 19:26:54 186

原创 SpringMVC日志追踪笔记整理

新建logback-spring.xml。

2023-11-23 22:39:58 617

原创 Spring国际化笔记整理

【代码】Spring国际化笔记整理。

2023-11-22 18:18:48 184

原创 SpringBoot整合JSP笔记整理

【代码】SpringBoot整合JSP笔记整理。

2023-11-19 10:34:37 137

原创 MybatisPlus的Id填充笔记整理

启动阶段构建 sqlSessionFactory对象MybatisPlusAutoConfiguration#sqlSessionFactory从Spring容器获取 IdentifierGenerator 对象放入到 GlobalConfig对象中设置 GlobalConfig 到 MybatisSqlSessionFactoryBeanMybatisSqlSessionFactoryBean#getObject -> MybatisSqlSessionFactoryBean#after

2023-11-12 10:46:30 209

原创 Mybatis二级缓存源码整理

【代码】Mybatis二级缓存源码整理。

2023-11-10 12:56:12 78

原创 Mybatis一级缓存源码整理

【代码】Mybatis一级缓存源码整理。

2023-11-10 12:54:29 151

原创 Spring AOP基于注解方式笔记整理

从BeanFactory容器中获取所有的Aspect对象ReflectiveAspectJAdvisorFactory#getAdvisors解析出Advisor并放入缓存BeanFactoryAdvisorRetrievalHelper#findAdvisorBeans获取容器中的Advisor集合我们没有手动向容器中注入过Advisor对象,所以这里有一定会返回空集合。

2023-11-02 22:26:58 118

原创 Spring AOP基于XML方式笔记整理

XML AOP 加载流程ClassPathXmlApplicationContext#refreshAbstractApplicationContext#obtainFreshBeanFactoryAbstractRefreshableApplicationContext#refreshBeanFactory创建DefaultListableBeanFactoryAbstractApplicationContext#loadBeanDefinitions(beanFactory)创建XmlBe

2023-11-02 13:43:30 554

原创 SpringMVC与JavaConfig笔记整理

实战笔记编写Mvc配置类@Configuration@EnableWebMvc@ComponentScan("com.yicj.study.webmvc.controller")public class WebConfig {}编写App配置类@Configuration@ComponentScan("com.yicj.study.webmvc.service")public class AppConfig {}编写Java注解MVC启动类(WebApplicationInit

2023-11-02 10:19:37 471

原创 Maven Jetty运行Spring MVC项目

【代码】Maven Jetty运行Spring MVC项目。

2023-10-15 15:23:10 477

原创 gradle使用笔记整理

【代码】gradle使用笔记整理。

2023-10-09 18:36:59 191

原创 Spring MVC单元测试笔记整理

【代码】Spring MVC单元测试笔记整理。

2023-10-08 15:52:31 348

原创 Spring AOP 基于注解源码整理

导入配置类EnableAspectJAutoProxy 注解导入 AspectJAutoProxyRegistrarImportBeanDefinitionRegistrar#registerBeanDefinitions向容器中加入AnnotationAwareAspectJAutoProxyCreatorAnnotationAwareAspectJAutoProxyCreator#initBeanFactory初始化ReflectiveAspectJAdvisorFactoryprotected

2023-10-04 12:48:11 122

原创 Spring Webflux DispatcherHandler源码整理

【代码】Spring Webflux DispatcherHandler源码整理。

2023-10-03 19:55:41 271

原创 Spring Webflux HttpHandler源码整理

HttpHandler的构造自动启动配置类:HttpHandlerAutoConfiguration@Beanpublic HttpHandler httpHandler(ObjectProvider<WebFluxProperties> propsProvider) { HttpHandler httpHandler = WebHttpHandlerBuilder.applicationContext(this.applicationContext).build(); W

2023-10-03 13:37:10 682

原创 SpringCloud-Gateway路由动态配置Nacos实现

【代码】SpringCloud-Gateway路由动态配置Nacos实现。

2023-09-27 22:12:39 708

原创 SentinelResource保护资源

【代码】SentinelResource保护资源。

2023-09-23 10:09:42 62

原创 Spring异步Async的配置

【代码】Spring异步Async的配置。

2023-09-19 15:17:10 150

原创 TypeReference使用笔记

【代码】TypeReference使用笔记。

2023-09-17 14:18:39 221

原创 Sentinel整合Gateway

pom引入依赖<dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId></dependency><dependency> <groupId>com.alibaba.cloud</groupId> <a

2023-09-16 19:07:27 647

原创 Sentinel整合RestTemplate

resttemplate开启sentinel保护配置resttemplate.sentinel.enabled=true配置sentinel-dashboard地址spring.cloud.sentinel.transport.dashboard=localhost:8858\spring.cloud.sentinel.transport.dashboard.port=8739 实例化RestTemplate并加入@SentinelRestTemplate注解@Configurationp

2023-09-16 19:05:49 436

原创 开发工具使用

wins 应用商店安装 terminal

2023-09-16 10:55:33 27

原创 Sentinel持久限流化化规则到Nacos

【代码】sentinel持久限流化化规则到nacos。

2023-09-12 23:01:32 527

原创 Sentinel整合OpenFeign资源保护

【代码】sentinel实现对openfeign保护。

2023-09-12 21:37:43 367

原创 Spring开发笔记

【代码】Spring实战笔记。

2023-09-07 15:31:01 442

原创 Java获取对象占用内存

【代码】获取对象占用内存。

2023-09-07 15:21:50 360

原创 Sentinel整合SpringBoot

【代码】sentinel-core。

2023-09-04 18:11:51 702 1

原创 Mysql优化

url上补充参数rewriteBatchedStatements=true可以实现批量操作

2023-05-22 18:33:43 75

原创 Hadoop环境搭建

【代码】hadoop环境搭建。

2023-04-29 16:54:00 748

原创 Fastdfs环境搭建

安装包下载路径libfastcommon下载地址:https://github.com/happyfish100/libfastcommon/releasesFastDFS下载地址:https://github.com/happyfish100/fastdfs/releasesfastdfs-nginx-module下载地址:https://github.com/happyfish100/fastdfs-nginx-module/releasesnginx下载地址:https://nginx.or

2023-04-28 15:45:44 1040

原创 SpringCloud-OpenFeign笔记

spring cloud

2023-03-12 10:11:55 835 1

原创 SpringBoot-LastModify支持

spring mvc 缓存

2023-02-13 17:03:18 156

原创 TaskDecorator使用笔记

TaskDecorator 使用笔记

2022-10-14 11:54:29 418

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除