1.单例模式对象-注入多例模式对象(单例对象注入关联bean动作只有一次)
2.spring容器使用ContextLoadListener监听web容器
spring容器启动和关闭操作由web容器的启动和关闭事件触发