獲取ApplicationContext的三種方式 ApplicationContext是什么? 簡單來說就是Spring中的容器,可以用來獲取容器中的各種bean組件,注冊監聽事件,加載資源文件等功能。 Application C ...