|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cruisecontrol.web.EmbeddedJettyServer
Provides functionality to run an embedded Jetty Server from within the CruiseControl instance. The embedded Jetty server serves the CruiseControl web application on contexts / and /cruisecontrol.
Field Summary | |
static org.apache.log4j.Logger |
LOG
the logger instance for this class. |
Constructor Summary | |
EmbeddedJettyServer(int webPort,
java.lang.String webappPath)
Deprecated. Use constructor that also sets up new dashboard |
|
EmbeddedJettyServer(int webPort,
java.lang.String webappPath,
java.lang.String newWebappPath,
java.lang.String configFileName,
int jmxPort,
int rmiPort)
Creates a new embeded Jetty server with the given listen port and the given webapp path. |
Method Summary | |
void |
start()
Starts the embedded Jetty server. |
void |
stop()
Stops the embedded Jetty Server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.log4j.Logger LOG
Constructor Detail |
public EmbeddedJettyServer(int webPort, java.lang.String webappPath)
webPort
- the port the embedded Jetty server will listen on.webappPath
- the path to the CruiseControl web application served by the embedded server.public EmbeddedJettyServer(int webPort, java.lang.String webappPath, java.lang.String newWebappPath, java.lang.String configFileName, int jmxPort, int rmiPort)
webPort
- the port the embedded Jetty server will listen on.webappPath
- the path to the CruiseControl web application served by the embedded server.newWebappPath
- configFileName
- the name of the config fileMethod Detail |
public void start()
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |