Package org.eclipse.jetty.runner
Class Runner
- java.lang.Object
-
- org.eclipse.jetty.runner.Runner
-
@Deprecated public class Runner extends java.lang.ObjectDeprecated.No replacement provided or available. Migrate to jetty-home (and use${jetty.base}directory).RunnerCombine jetty classes into a single executable jar and run webapps based on the args to it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRunner.ClasspathDeprecated.Classpath
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String__containerIncludeJarPatternDeprecated.static java.lang.String__defaultContextPathDeprecated.static int__defaultPortDeprecated.static java.lang.String[]__plusConfigurationClassesDeprecated.protected java.net.URLClassLoader_classLoaderDeprecated.protected Runner.Classpath_classpathDeprecated.protected java.util.ArrayList<java.lang.String>_configFilesDeprecated.protected ContextHandlerCollection_contextsDeprecated.protected boolean_enableStatsDeprecated.protected java.lang.String_logFileDeprecated.protected Server_serverDeprecated.protected java.lang.String_statsPropFileDeprecated.
-
Constructor Summary
Constructors Constructor Description Runner()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidconfigure(java.lang.String[] args)Deprecated.Configure a jetty instance and deploy the webapps presented as argsprotected voidinitClassLoader()Deprecated.Establish a classloader with custom paths (if any)static voidmain(java.lang.String[] args)Deprecated.protected voidprependHandler(Handler handler, HandlerCollection handlers)Deprecated.voidrun()Deprecated.voidusage(java.lang.String error)Deprecated.Generate helpful usage message and exitvoidversion()Deprecated.Generate version message and exit
-
-
-
Field Detail
-
__plusConfigurationClasses
public static final java.lang.String[] __plusConfigurationClasses
Deprecated.
-
__containerIncludeJarPattern
public static final java.lang.String __containerIncludeJarPattern
Deprecated.- See Also:
- Constant Field Values
-
__defaultContextPath
public static final java.lang.String __defaultContextPath
Deprecated.- See Also:
- Constant Field Values
-
__defaultPort
public static final int __defaultPort
Deprecated.- See Also:
- Constant Field Values
-
_server
protected Server _server
Deprecated.
-
_classLoader
protected java.net.URLClassLoader _classLoader
Deprecated.
-
_classpath
protected Runner.Classpath _classpath
Deprecated.
-
_contexts
protected ContextHandlerCollection _contexts
Deprecated.
-
_logFile
protected java.lang.String _logFile
Deprecated.
-
_configFiles
protected java.util.ArrayList<java.lang.String> _configFiles
Deprecated.
-
_enableStats
protected boolean _enableStats
Deprecated.
-
_statsPropFile
protected java.lang.String _statsPropFile
Deprecated.
-
-
Method Detail
-
usage
public void usage(java.lang.String error)
Deprecated.Generate helpful usage message and exit- Parameters:
error- the error header
-
version
public void version()
Deprecated.Generate version message and exit
-
configure
public void configure(java.lang.String[] args) throws java.lang.ExceptionDeprecated.Configure a jetty instance and deploy the webapps presented as args- Parameters:
args- the command line arguments- Throws:
java.lang.Exception- if unable to configure
-
prependHandler
protected void prependHandler(Handler handler, HandlerCollection handlers)
Deprecated.
-
run
public void run() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
initClassLoader
protected void initClassLoader()
Deprecated.Establish a classloader with custom paths (if any)
-
main
public static void main(java.lang.String[] args)
Deprecated.
-
-