blob: cfe846b47127d35c9f4ca8f3ff3ecbb09718b4be [file] [log] [blame]
package com.alibaba.dubbo.rpc.benchmark;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class RpcBenchmarkServer extends AbstractBenchmarkServer {
public static void main(String[] args) throws Exception {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("ProviderSample.xml");
ctx.start();
synchronized (RpcBenchmarkServer.class) {
try {
RpcBenchmarkServer.class.wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}