文件名称:RefreshList:测试@RefreshScope
文件大小:10KB
文件格式:ZIP
更新时间:2024-05-31 17:21:25
Java
概述 应用概述:- 1. Right click and Run com.RefreshListApplication class 2. com.config.RefreshListConfig.java is @ConfigurationProperties(prefix="test.refreshlist") 3. application.yml has the list defined which is mapped to List colors, source in RefreshListConfig 问题概述:- 4. List refresh (addition and deletion) works perfect when ComponentScaned ONLY from the java configuration where the Bean is define
【文件预览】:
RefreshList-master
----.project(742B)
----.gitattributes(378B)
----src()
--------main()
----.settings()
--------org.eclipse.m2e.core.prefs(93B)
--------org.eclipse.jdt.core.prefs(238B)
--------org.eclipse.core.resources.prefs(150B)
----README.md(3KB)
----pom.xml(1KB)
----.classpath(1KB)
----.gitignore(574B)