2019年7月26日
摘要: 1)如何将一个Bean组件交给Spring容器 方法:在applicationContext.xml中添加以下定义 <bean id = “标识符” class = “Bean组件类型”></bean> 2)如何获取Spring容器对象 ApplicationContext context = ne 阅读全文
posted @ 2019-07-26 20:59 Hi,Bro 阅读(238) 评论(0) 推荐(0) 编辑