02 2023 档案
摘要:ImportSelector接口源码 package org.springframework.context.annotation; import org.springframework.core.type.AnnotationMetadata; /** * Interface to be impl
阅读全文
摘要:1 运行SpringApplication.run()方法 org.springframework.boot.SpringApplication.SpringApplication(org.springframework.core.io.ResourceLoader, java.lang.Class
阅读全文
摘要:除了配合后台管理页面的CRUD接口,本文主要介绍config服务的实现和client如何读取配置文件。 基于EnvironmentRepository 读取启动配置spring_cloud_config文件 1.配置中心项目端: 1)pom引入spring-cloud-config-server 2
阅读全文