package demo.provider;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public final class DemoProvider {
private DemoProvider(){}
public static void main(final String... args) throws Exception {
final ClassPathXmlApplicationContext context =
new ClassPathXmlApplicationContext(new String[] {"dubbo-demo-provider.xml", "/cicada-config.xml"});
context.start();
System.in.read(); // 按任意键退出
context.close();
}
}