Package com.trendrr.strest.examples

Source Code of com.trendrr.strest.examples.Main

/**
*
*/
package com.trendrr.strest.examples;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.trendrr.strest.server.StrestServer;


/**
* @author Dustin Norlander
* @created Mar 16, 2011
*
*/
public class Main {

  protected static Log log = LogFactory.getLog(Main.class);
 
  public static void main(String[] args) throws Exception {
    StrestServer server = StrestServer.instanceFromFile("example_config.yaml");
    System.out.println("!!! WELCOME TO STREST !!!");
    System.out.println("Strest-Server examples started");
    server.start();
    }
}
TOP

Related Classes of com.trendrr.strest.examples.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.