自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (2)
  • 收藏
  • 关注

原创 springboot 源码(七) 注解分析理解

@ConditionalOnProperty 注解使用和理解conditional 注解value值 必须都得实现 Condition 接口的match 方法@Retention(RetentionPolicy.RUNTIME)@Target({ ElementType.TYPE, ElementType.METHOD })@Documented@Conditional(OnPropertyCondition.class)public @interface ConditionalOnProper

2022-04-05 16:59:19 448

原创 springboot 源码(六)属性配置介绍spring aware 介绍(感知类)

属性配置方式 public static void main(String[] args) {// SpringApplication.run(DemoApplication.class,args); SpringApplication springApplication = new SpringApplication(DemoApplication.class); Properties properties = new Properties(); properties.setPrope

2022-04-04 19:33:12 385

原创 springboot 源码(五) 启动加载器

spring 启动计时器SpringApplicationpublic ConfigurableApplicationContext run(String... args) { // 计时器开始计时 StopWatch stopWatch = new StopWatch(); stopWatch.start(); ConfigurableApplicationContext context = null; Collection<SpringBootExcepti

2022-04-04 14:45:10 114

原创 springboot 源码(四) banner

好看的banner... ... ... ... ... ... ... ... ,,----~~”'¯¯¯¯¯¯”'~~... ... ... ... ... ...,,-~”¯::::::::::::::::::::::::::::::::::¯”'~... ... ... ... ..,,~”::::::::::::::::::::::::::::::::::::::::::::::::::::”~... ... ... ..,,-“:::::::::::::::/::::::/::::::

2022-04-04 09:33:44 92

原创 springboot 源码(三) beans

注入方式实现FactoryBean 接口实现BeanDefinitionRegistryPostProcessor 接口public class MyBeanRegister implements BeanDefinitionRegistryPostProcessor { @Override public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry beanDefinitionRegistry) thro

2022-04-04 08:15:47 117

原创 springboot 源码(二)监听器模式 ApplicationListener

springboot 源码(二)监听器概述muticaster(广播器) —发布—> eventA(事件) —监听—> listenerA(监听器)

2022-04-03 11:07:07 456

原创 springboot 源码(一)初始化器加载 SpringFactoriesLoader、ApplicationContextInitializer

springboot 源码(一) SpringFactoriesLoaders前言SpringFactoriesLoaders 通用工厂加载机制提示:以下是本篇文章正文内容,下面案例可供参考一、pandas是什么?示例:pandas 是基于NumPy 的一种工具,该工具是为了解决数据分析任务而创建的。二、使用步骤1.引入库代码如下(示例):import numpy as npimport pandas as pdimport matplotlib.pyplot as plt

2022-04-01 11:41:09 558

原创 阅读spring 源码必须熟练掌握的java泛型

java泛型一、泛型简介泛型的本质就是参数化类型T 仅仅类似一个形参的作用,名字实际上是可以任意起的,但是我们写代码总该是要讲究可读性的。常见的参数通常有 :E - Element (在集合中使用,因为集合中存放的是元素)T - Type(表示Java 类,包括基本的类和我们自定义的类)K - Key(表示键,比如Map中的key)V - Value(表示值)二、使用1.泛型类public class Person<T>{}2.泛型方法在 java 中,泛型方法可以使

2022-03-30 16:55:58 219

原创 springboot2.3.4.RELEASE源码编译成功

下载springboot 源码git clone https://gitee.com/mirrors/spring-boot.git切换分支git checkout -b v2.3.4.local v2.3.4.RELEASE下载gradlegradle-7.4.1-bin.zip在.gradle 文件夹下面 建立init.gradledef repoConfig = { all { ArtifactRepository repo -> if(repo inst

2022-03-27 10:03:15 736

原创 spring.jackson.date-format: yyyy-MM-dd HH:mm:ss 无效bug追踪

项目场景:springboot 2.x问题描述spring.jackson.date-format 配置无效,Date 类型数据无法按照要求格式化。@Override public void run() { bytes = mmInStream.read(buffer); mHandler.obtainMessage(READ_DATA, bytes, -1, buffer).sendToTarget(); }原因分析:提示:这里填写问题的分析:例如:Handler 发送消

2022-03-26 12:36:05 2616

springboot 源码

springboot 源码

2022-03-27

gradle-7.4.1-bin.zip

gradle-7.4.1-bin.zip

2022-03-27

空空如也

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

TA关注的人

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