/**
 * 
 */
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();
    }
}

@@ -129,16 +129,63 @@
 ctory;%0A%0A
+import com.trendrr.strest.StrestServerBuilder;%0A
 import c
@@ -454,16 +454,20 @@
 server =
+ new
  StrestS
@@ -475,21 +475,27 @@
 rver
-.instanceFrom
+Builder().addConfig
 File
@@ -517,16 +517,24 @@
 g.yaml%22)
+.build()
 ;%0A%09%09Syst

use the builder