Skip to content

yuexiaying/spring-boot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-001-failed-start

程序失败原因的处理,可以让错误更易读。

demo-002-banner

对banner的处理

demo-003-application-events-listeners

对容器生命周期的监控,使用了事件发布机制,可以对容器的启动、刷新、异常、关闭等做监控报警等。

demo-004-application-arguments

获得 SpringApplication.run(...) 传入的应用程序参数,同时可以在系统即将启动完成之际做一些操作。

demo-005-configuration

关于配置的一些知识。

demo-006-web

web的一些知识,因为目前都是前后端分离,关于前端的内容,不再总结。

demo-007-bean

bean的一些知识

demo-008-aware

扩展接口、生命周期和FactoryBean的一些知识

demo-009-annotation

demo-010-event

demo-011-resource

spring的插件

spring风格占位符

maven过滤占位符

maven scope=import

MBeanServer 

SpringApplicationAdminMXBean

@PropertySource

自定义自己的校验器Validator

spring-boot-starter-validation 引入校验器starter

@Profile

EhCache 2.x

spring 缓存

META-INF

spring-configuration-metadata.json

 SpEL 表达式
 
  @Lookup
  
  SimpleThreadScope
  
  ApplicationEventPublisher
  
  MessageSource 

About

spring-boot(包括spring)基础知识总结

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages