org.sonar.application
Class JettyEmbedder
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 org.mortbay.jetty.Server getServer()
getListenPort
public int getListenPort()
Copyright © 2008 SonarSource SA. All Rights Reserved.