spring-conf
2015-04-25 13:06:26 6 举报
监控spring配置的properties文件,当配置文件修改后自动重启spring,本插件适用于集群的web应用,通过配置中心管理配置文件
作者其他创作
大纲/内容
configurableApplicationContext.refresh
onApplicationEvent(cac)
org.eclipse.jetty.webapp.WebAppContext
start
I
WebApplicationContext for namespace 'dispatcher-servlet'
ServletContext
DispatcherServlet
fileChanged
MyListener
ConfMonitorMain(Thread)
scEvent
ServletContextEvent scEvent
filechanged(url)
C
Root WebApplicationContext
ConfMonitorBean
sc.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE)
ApplicationListener
jetty
onApplicationEvent
ContextLoaderListener
ContextHandler
configurableApplicationContextList.add(cac)
parent
ConfChangedListener
DefaultConfChangedListener

收藏
0 条评论
下一页