spring技术入门系列源码publicclassSpringTest{publicstaticvoidmain(String[]args){//创建spring的ApplicationContextApplicationContextctx=newClassPathXmlApplicationContext("applicationContext.xml");//输出spring容器System.out.println(ctx);//打印加载的bean名称System.out.println(java.util.Arrays.toString(ctx.getBeanDe