package com.anno.ex03;
import org.springframework.context.support.GenericXmlApplicationContext;
public class SchoolMain {
public static void main(String[] args) {
GenericXmlApplicationContext gxac = new GenericXmlApplicationContext("com/anno/ex03/applicationContext.xml");
School stuA = gxac.getBean("mySchool", School.class);
System.out.println(stuA);
gxac.close();
}
}