ApplicationListener<>里边的泛型需要继承ApplicationEvent抽象方法
ContextRefreshedEvent为上下文刷新事件,实现了这个接口,spring容器加载完毕后,就会执行这个实现类的重写的方法.