resource
Last updated
Was this helpful?
Last updated
Was this helpful?
java.net.URL 을 추상화
ApplicationContext
의 타입에 따라 Resource
의 구현체가 달라짐.
ApplicationContextType
Resource Implementation
ClassPathXmlApplicationContext
ClassPathResource
FileSystemXmlApplicationContext
FileSystemResource
WebApplicationContext
ServletContextResource
WebApplicationContext All Known Implementing Classes: AbstractRefreshableWebApplicationContext, AnnotationConfigWebApplicationContext, GenericWebApplicationContext, GroovyWebApplicationContext, StaticWebApplicationContext, XmlWebApplicationContext
ApplicationContext Type 에 상관 없이 리소스 구현체를 강제하려면 URL 접두어를 사용