标签:ice service text stat 技术分享 ati src app http
package phz.springframework.service.impl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class AopTest {
public static void testHelloworld() {
ApplicationContext context = new ClassPathXmlApplicationContext("helloWorld.xml");
IHelloWorldService hws = context.getBean("helloWorldService", IHelloWorldService.class);
hws.sayHello();
}
public static void main(String[] args) {
testHelloworld();
}
}
标签:ice service text stat 技术分享 ati src app http
原文地址:http://www.cnblogs.com/alan-alan/p/7218163.html