???disconf???????ù?????
???????????? ???????[ 2015/5/4 11:58:47 ] ??????????? ???????ù??? disconf
??????????
????disconf-web????????????web????????????? https://github.com/knightliao/disconf/tree/master/disconf-web
?????????????????disconf-client?????????
????????disconf???
???????????漰?? ???ò????????顢?????顢??????顢watch??飬
????http://ww1.sinaimg.cn/bmiddle/60c9620fjw1eqj9zzgc7yj20b20pn41v.jpg
???????AOP?????????????????????????????????????粢???????μ?????????Ч???????????????????????
???????????????????????????????????????????????????????????????????@Autowired???????е???????????????????????JavaBean???????????????????????????????????????????????????
@Service
@DisconfFile(filename = "redis.properties")
public class JedisConfig {
// ??????????
private String host;
// ????????port
private int port;
/**
* ????? ???????????
*
* @return
*/
@DisconfFileItem(name = "redis.host"?? associateField = "host")
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
/**
* ???? ???????????
*
* @return
*/
@DisconfFileItem(name = "redis.port"?? associateField = "port")
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
}
????????XML????disconf???
????????????????κδ????????????????á?
????ReloadablePropertiesFactoryBean?????Spring Properties?????PropertiesFactoryBean?????????е??????????????reload????????????????????????????????????????? ???ò????????顢?????顢??????顢watch??? ???????????????ò????
????ReloadingPropertyPlaceholderConfigurer?????Spring Bean???????????PropertyPlaceholderConfigurer???????????spring bean??disconf?????????????????????Щbean?й?????
????ReloadConfigurationMonitor???????????????check???????????????и????
??????????????????????????????????????????????????ReloadConfigurationMonitor???????????????????? ReloadingPropertyPlaceholderConfigurer ??????bean???????????
??????????????????????????????????????Ч??????
???????????????
??????????У?????????????????????????????????????????????????????????????????????????????????zookeeper???????????????
????Comparisons
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??????????????????ù????????ù?????????????????????????????з????????????????ù????е?SVN???ù????????????汾????????cmmi???ù??????ù?????????????ù???????????(2)???ù???????????(1)SCM??????ù???????????????ù??????????????????????е????ù??????????????ù??????ù????????????汾?????????????????ù???Nginx???ù??? - ???????DCMP??????etcd?????ù?????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????