org.apache.falcon.util
Class EmbeddedServer

java.lang.Object
  extended by org.apache.falcon.util.EmbeddedServer

public class EmbeddedServer
extends Object

This class embeds a Jetty server and a connector.


Constructor Summary
EmbeddedServer(int port, String path)
           
 
Method Summary
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedServer

public EmbeddedServer(int port,
                      String path)
Method Detail

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.