public class Launcher extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
static byte |
RELOAD_TYPE |
static WinstoneResourceBundle |
RESOURCES |
org.eclipse.jetty.server.Server |
server |
static byte |
SHUTDOWN_TYPE |
static String |
USAGE
Overridable usage screen
|
| Constructor and Description |
|---|
Launcher(Map args)
Constructor - initialises the web app, object pools, control port and the
available protocol listeners.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
deployEmbeddedWarfile(Map args) |
static Map |
getArgsFromCommandLine(String[] argv) |
protected void |
handleControlRequest(Socket csAccepted) |
static void |
initLogger(Map args) |
boolean |
isRunning() |
static void |
main(String[] argv)
Main method.
|
protected static void |
printUsage() |
void |
run()
The main run method.
|
void |
shutdown() |
protected void |
spawnListener(String listenerClassName)
Instantiates listeners.
|
public static final byte SHUTDOWN_TYPE
public static final byte RELOAD_TYPE
public static final WinstoneResourceBundle RESOURCES
public final org.eclipse.jetty.server.Server server
public static String USAGE
public Launcher(Map args) throws IOException
IOExceptionprotected void spawnListener(String listenerClassName) throws IOException
IOExceptionpublic void run()
protected void handleControlRequest(Socket csAccepted) throws IOException
IOExceptionpublic void shutdown()
public boolean isRunning()
public static void main(String[] argv) throws IOException
IOExceptionpublic static Map getArgsFromCommandLine(String[] argv) throws IOException
IOExceptionprotected static void deployEmbeddedWarfile(Map args) throws IOException
IOExceptionpublic static void initLogger(Map args) throws IOException
IOExceptionprotected static void printUsage()
Copyright © 2014. All rights reserved.