org.mortbay.jetty.plus
public class Server extends Server
| Constructor Summary | |
|---|---|
| Server() Constructor. | |
| Server(String configuration) Constructor. | |
| Server(Resource configuration) Constructor. | |
| Server(URL configuration) Constructor. | |
| Method Summary | |
|---|---|
| void | addService(Service service)
Add a Service to a Server. |
| protected void | doStart() Start all handlers then listeners.
|
| protected void | doStop() Stop all listeners then all contexts. |
| static void | main(String[] arg) |
| protected WebApplicationContext | newWebApplicationContext(String webApp) Create a new WebApplicationContext.
|
Parameters: configuration The filename or URL of the XML configuration file.
Parameters: configuration The filename or URL of the XML configuration file.
Parameters: configuration The filename or URL of the XML configuration file.
Parameters: service eg TMService, MailService
Throws: MultiException A collection of exceptions thrown by start() method of subcomponents of the HttpServer.
Parameters: graceful If true and statistics are on for a context, then this method will wait for requestsActive to go to zero before stopping that context.
Parameters: webApp The Web application directory or WAR file.
Returns: WebApplicationContext