https://www.cnblogs.com/jun1019/p/10807575.html
https://www.cnblogs.com/nhdlb/p/12451728.html
@Component public class SpringContextListener implements ApplicationContextAware { @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { SpringUtils.configure(applicationContext); } }