摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2021-08-02 23:53 yub4by 阅读(48) 评论(0) 推荐(0)
摘要: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 阅读全文
posted @ 2021-08-02 22:40 yub4by 阅读(55) 评论(0) 推荐(0)
摘要: SpringApplication是事件源对象,所有对象都是通过这个对象产生的 1 SpringApplication的构造方法 1 public SpringApplication(Class... primarySources) { 2 this((ResourceLoader)null, pr 阅读全文
posted @ 2021-08-02 22:07 yub4by 阅读(91) 评论(0) 推荐(0)
摘要: 1 (1) 1 package com.haifei.springboot12listener.listener; 2 3 import org.springframework.context.ApplicationContextInitializer; 4 import org.springfra 阅读全文
posted @ 2021-08-02 16:10 yub4by 阅读(254) 评论(0) 推荐(0)
摘要: 1 实现 1 package com.haifei.redis.config; 2 3 import org.springframework.boot.context.properties.EnableConfigurationProperties; 4 import org.springframe 阅读全文
posted @ 2021-08-02 14:56 yub4by 阅读(346) 评论(0) 推荐(0)