Spring ignoreDependencyInterface接口理解:
beanFactory.ignoreDependencyInterface(ResourceLoaderAware.class);
beanFactory.ignoreDependencyInterface(ApplicationEventPublisherAware.class);
beanFactory.ignoreDependencyInterface(MessageSourceAware.class);
beanFactory.ignoreDependencyInterface(ApplicationContextAware.class);
beanFactory.ignoreDependencyInterface(EnvironmentAware.class);
ignoreDependencyInterface方法的主要功能是忽略给定接口【ResourceLoaderAware,ApplicationEventPublisherAware...】的自动装配功能。