Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

ResourceLoaderAware

A collection of 1 post

ResourceLoaderAware

ResouceLoaderAware 인터페이스

BeanFactoryAware, ApplicationContextAware.. 그리고 ResourceLoaderAware까지.. 대체 뭐가 그렇게 많이 알고 싶은거냐..ㅋㅋ public interface ResourceLoaderAware {   void setResourceLoader(ResourceLoader resourceLoader); } 이 녀석을 구현하면 녀석을 bean으로 등록 해 두면 ApplicationContext가 로딩 될 때 ResourceLoader를 찾아서 DI해줍니다. ApplicationContext 자체가 근데 이미 ResourceLoader라는 것을 저번 글에서 살펴 봤기 때문에 굳이 ResourceLoader 객체를 따로 만들지

  • 백기선
백기선 Mar 21, 2007 • 2 min read
Whiteship © 2022
Powered by Ghost