org.sonar.application
Class JettyEmbedder

java.lang.Object
  extended by org.sonar.application.JettyEmbedder

public class JettyEmbedder
extends java.lang.Object


Constructor Summary
protected JettyEmbedder(int port)
          for tests
  JettyEmbedder(int port, java.lang.String contextPath, java.net.URL configurationURL)
           
 
Method Summary
protected  void configureServer()
           
 int getListenPort()
           
protected  java.lang.String getPluginsClasspath(java.lang.String pluginsPathFromClassloader)
           
protected  Server getServer()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyEmbedder

public JettyEmbedder(int port,
                     java.lang.String contextPath,
                     java.net.URL configurationURL)
              throws java.lang.Exception
Throws:
java.lang.Exception

JettyEmbedder

protected JettyEmbedder(int port)
for tests

Method Detail

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

configureServer

protected void configureServer()
                        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

getPluginsClasspath

protected java.lang.String getPluginsClasspath(java.lang.String pluginsPathFromClassloader)
                                        throws java.net.URISyntaxException,
                                               java.io.IOException
Throws:
java.net.URISyntaxException
java.io.IOException

getServer

protected Server getServer()

getListenPort

public int getListenPort()


Copyright © 2007-2008 hortis. All Rights Reserved.