org.mule.transport.servlet.jetty.util
Class EmbeddedJettyServer

java.lang.Object
  extended by org.mule.transport.servlet.jetty.util.EmbeddedJettyServer

public class EmbeddedJettyServer
extends Object

A simple helper class for Mule testing that creates an embedded Jetty Server


Constructor Summary
EmbeddedJettyServer(int port, String contextPath, String servletPath, Servlet servlet, MuleContext context)
           
 
Method Summary
 void destroy()
           
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedJettyServer

public EmbeddedJettyServer(int port,
                           String contextPath,
                           String servletPath,
                           Servlet servlet,
                           MuleContext context)
Method Detail

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

destroy

public void destroy()

isStarted

public boolean isStarted()


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.