spring系统学习:day4--Spring工厂 Spring工厂类: BeanFactory(老版本)、ApplicationContext(新版本)。其中ApplicationContext(接口)继承了BeanFactory。