Administrator
yesterday 31cc693c228f2f2feb23bbda6da43f0f8db5fbe4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.xcong.excoin.modules.gateApi;
 
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
 
/**
 * Gate 网格交易的独立测试入口(main 方法)。
 * 通过 Spring XML 上下文初始化管理器,运行一段时间后手动关闭。
 *
 * @author Administrator
 */
public class GateWebSocketClientMain {
    public static void main(String[] args) throws InterruptedException {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        GateWebSocketClientManager manager = context.getBean(GateWebSocketClientManager.class);
 
        Thread.sleep(1200000000L);
 
        manager.destroy();
    }
}