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 |
parseArgs(String[] args)
Modified from XmlConfiguration.main()
|
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 pluginsException
public void parseArgs(String[] args) throws Exception
Exception
public void startup()
ClientApp
public void shutdown(String[] args)
ClientApp
public ClientAppState getState()
ClientApp
public String getName()
ClientApp
public String getDisplayName()
ClientApp
getDisplayName
in interface ClientApp
public static void main(String[] args)
args
- passed to constructor