![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
zhaoz21
只争朝夕 不负韶华
展开
-
AOP基本概念
AOP基本概念原创 2022-09-15 23:18:42 · 206 阅读 · 0 评论 -
spring配置文件的加载及对象的获取
// 1.加载spring配置文件 ApplicationContext context = new ClassPathXmlApplicationContext("bean1.xml"); // 2.获取配置创建的对象 UserService userService = context.getBean("userService", UserService.class); <?xml version="1.0" encoding="UT...原创 2022-02-19 14:40:51 · 183 阅读 · 0 评论