Whiteship's Note

ResourceLoader 인터페이스

Spring/Chapter 4 : 2007.03.20 16:30


ResourceLoader 인터페이스의 메소드들 입니다.
ClassLoader     getClassLoader()
          Expose the ClassLoader used by this ResourceLoader.
 Resource     getResource(String location)
          Return a Resource handle for the specified resource.
흠... 이 클래스들을 구현한 클래스들을 보겠습니다.
AbstractApplicationContext, AbstractRefreshableApplicationContext, AbstractRefreshablePortletApplicationContext, AbstractRefreshableWebApplicationContext, AbstractXmlApplicationContext, ClassPathXmlApplicationContext, DefaultResourceLoader, FileSystemResourceLoader, FileSystemXmlApplicationContext, GenericApplicationContext, GenericWebApplicationContext, PathMatchingResourcePatternResolver, PortletContextResourceLoader, PortletContextResourcePatternResolver, ServletContextResourceLoader, ServletContextResourcePatternResolver, StaticApplicationContext, StaticPortletApplicationContext, StaticWebApplicationContext, XmlPortletApplicationContext, XmlWebApplicationContext
엄청 많네요. 대부분이 ApplicationContext입니다. ApplicationContext 인터페이스를 보니 이 인터페이스를 상속 받았군요. 그럼.. "모든 ApplicationContext는 ResourceLoader다."라는 명제가 성립되네요.



top




: 1 : 2 : 3 : 4 : 5 : 6 :