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
IOException
protected void spawnListener(String listenerClassName) throws IOException
IOException
public void run()
protected void handleControlRequest(Socket csAccepted) throws IOException
IOException
public void shutdown()
public boolean isRunning()
public static void main(String[] argv) throws IOException
IOException
public static Map getArgsFromCommandLine(String[] argv) throws IOException
IOException
protected static void deployEmbeddedWarfile(Map args) throws IOException
IOException
public static void initLogger(Map args) throws IOException
IOException
protected static void printUsage()
Copyright © 2016. All rights reserved.