public class JettyStart extends Object implements ClientApp
| Constructor and Description |
|---|
JettyStart(I2PAppContext context,
ClientAppManager mgr,
String[] args)All args must be XML file names. |
| Modifier and Type | Method and Description |
|---|---|
String | getDisplayName()The display name of the ClientApp, used in user interfaces. |
String | getName()The generic name of the ClientApp, used for registration,
e.g. |
ClientAppState | getState()The current state of the ClientApp. |
static void | main(String[] args)For use in a plugin clients.config |
void | shutdown(String[] args)Do not take a long time. |
void | startup()Do not take a long time. |
public JettyStart(I2PAppContext context, ClientAppManager mgr, String[] args) throws Exception
context - may be nullmgr - may be null e.g. for use in pluginsExceptionpublic String getDisplayName()
ClientAppgetDisplayName in interface ClientApppublic String getName()
ClientApppublic ClientAppState getState()
ClientApppublic static void main(String[] args)
args - passed to constructorpublic void shutdown(String[] args)
ClientApppublic void startup()
ClientApp