package org.apache.dubbo.benchmark; | |
import org.springframework.context.support.ClassPathXmlApplicationContext; | |
public class Server { | |
public static void main(String[] args) throws InterruptedException { | |
try (ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("provider.xml")) { | |
context.start(); | |
Thread.sleep(Integer.MAX_VALUE); | |
} | |
} | |
} |