?查看Spring源码,画出IOC、DI、AOP、MVC的时序图,方便以后查看回忆源码
?以ClassPathXmlApplicationContext的构造方法为入口
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class IoCTest {
public static void main(String[] args) {
ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
applicationContext.getBean("myUser");
}
}
Spring四、Spring IOC、DI、MVC、AOP时序图
原文:https://www.cnblogs.com/Qkxh320/p/spring_04.html