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