原理代码模拟: http://www.java63.com/spring/ioc_principle.html 转载于:https://www.cnblogs.com/biGpython/archive/2012/02/08/2342397.html