|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.equinox.http.jetty.JettyConfigurator
JettyConfigurator provides API level access for creating configured instances of a Jetty-based Http Service. The created instances are not persistent across re-starts of the bundle.
Settings:
Constructor Summary | |
---|---|
JettyConfigurator()
|
Method Summary | |
---|---|
static void |
startServer(String id,
Dictionary settings)
Creates an instance of Jetty parameterized with a dictionary of settings |
static void |
stopServer(String id)
Stops a previously started instance of Jetty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JettyConfigurator()
Method Detail |
public static void startServer(String id, Dictionary settings) throws Exception
id
- The identifier for the server instancesettings
- The dictionary of settings used to configure the server instance
Exception
- If the server failed to start for any reasonpublic static void stopServer(String id) throws Exception
id
- The identifier for the server instance
Exception
- If the server failed to stop for any reason.
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.