增加ApplicationListener以获取Spring的bean