class Motan2Server {

    public static void main(String[] args) throws InterruptedException {<FILL_FUNCTION_BODY>}
}

        ApplicationContext applicationContext = new ClassPathXmlApplicationContext(new String[] {"classpath*:motan2_demo_server.xml"});
        MotanSwitcherUtil.setSwitcherValue(MotanConstants.REGISTRY_HEARTBEAT_SWITCHER, true);
        System.out.println("server start...");
    
<no_super_class>