ConfigurableApplicationContext<interface>
FileSystemResourceLoader----------------------------#getResourceByPath(String path)
资源加载方式
ResourceLoader代表了加载资源的一种方式,正是策略模式的实现。
AbstractXmlApplicationContext
ResourcePatternResolver<interface>
FileSystemXmlApplicationContext
ClassRelativeResourceLoader---------------------------------#getResourceByPath(String path)
DefaultResourceLoader------------------------------addProtocolResolver(ProtocolResolver)getProtocolResolver()
ApplicationContext<interface>
AbstractApplicationContext
Closeable<interface>
ResourceLoader<interface>----------------------------------getResource(String location)getClassLoader()
LifeCycle<interface>
ClassPathXmlApplicationContext
PathMatchingResourcePatternResolver
AbstractRefreshableApplicationContext
AbstractRefreshableConfigApplicationContext
Spring源码阅读