public class Runner extends Object
Modifier and Type | Class and Description |
---|---|
class |
Runner.Classpath
Classpath
|
Modifier and Type | Field and Description |
---|---|
static String |
__containerIncludeJarPattern |
static String |
__defaultContextPath |
static int |
__defaultPort |
static String[] |
__plusConfigurationClasses |
protected URLClassLoader |
_classLoader |
protected Runner.Classpath |
_classpath |
protected ArrayList<String> |
_configFiles |
protected ContextHandlerCollection |
_contexts |
protected boolean |
_enableStats |
protected String |
_logFile |
protected RequestLogHandler |
_logHandler |
protected Server |
_server |
protected String |
_statsPropFile |
Constructor and Description |
---|
Runner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(String[] args)
Configure a jetty instance and deploy the webapps presented as args
|
protected void |
initClassLoader()
Establish a classloader with custom paths (if any)
|
static void |
main(String[] args) |
protected void |
prependHandler(Handler handler,
HandlerCollection handlers) |
void |
run() |
void |
usage(String error)
Generate helpful usage message and exit
|
void |
version()
Generate version message and exit
|
public static final String[] __plusConfigurationClasses
public static final String __containerIncludeJarPattern
public static final String __defaultContextPath
public static final int __defaultPort
protected Server _server
protected URLClassLoader _classLoader
protected Runner.Classpath _classpath
protected ContextHandlerCollection _contexts
protected RequestLogHandler _logHandler
protected String _logFile
protected boolean _enableStats
protected String _statsPropFile
public void usage(String error)
error
- public void version()
public void configure(String[] args) throws Exception
args
- Exception
protected void prependHandler(Handler handler, HandlerCollection handlers)
handler
- handlers
- protected void initClassLoader()
public static void main(String[] args)
args
- Copyright © 1995-2015 Webtide. All Rights Reserved.