首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > XML SOAP >

Spring 源码学习-XmlBeanDefinitionReader

2014-01-09 
Spring 源码学习--XmlBeanDefinitionReaderprivate final ThreadLocalSetEncodedResource resourcesCu

Spring 源码学习--XmlBeanDefinitionReader

private final ThreadLocal<Set<EncodedResource>> resourcesCurrentlyBeingLoaded =
??? ??? ??? new NamedThreadLocal<Set<EncodedResource>>("XML bean definition resources currently being loaded");

??? ??? }

?

?finally {
?? ??? ??? ?currentResources.remove(encodedResource);
?? ??? ??? ?if (currentResources.isEmpty()) {
?? ??? ??? ??? ?this.resourcesCurrentlyBeingLoaded.remove();
?? ??? ??? ?}
?? ??? ?}

热点排行