Spring xml



    
        
    

        ApplicationContext context = new ClassPathXmlApplicationContext("Spring-Module.xml");       
        HelloWorld obj = (HelloWorld) context.getBean("helloBean");        

你可能感兴趣的:(Spring xml)