Package com.sissi.server.impl

Source Code of com.sissi.server.impl.Main

package com.sissi.server.impl;

import java.io.File;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
* @author kim 2013年12月23日
*/
public class Main {

  private final static String prefix = "classpath:";

  private final static String dir = "configs";

  private final static String loading = "config-loading.xml";

  @SuppressWarnings("resource")
  public static void main(String[] args) throws Exception {
    new ClassPathXmlApplicationContext(prefix + dir + File.separatorChar + loading).getBean(ChainedServer.class).start();
  }
}
TOP

Related Classes of com.sissi.server.impl.Main

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.