Package org.eclipse.jetty.runner
Class Runner
- java.lang.Object
-
- org.eclipse.jetty.runner.Runner
-
@Deprecated public class Runner extends java.lang.Object
Deprecated.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 class
Runner.Classpath
Deprecated.Classpath
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
__containerIncludeJarPattern
Deprecated.static java.lang.String
__defaultContextPath
Deprecated.static int
__defaultPort
Deprecated.static java.lang.String[]
__plusConfigurationClasses
Deprecated.protected java.net.URLClassLoader
_classLoader
Deprecated.protected Runner.Classpath
_classpath
Deprecated.protected java.util.ArrayList<java.lang.String>
_configFiles
Deprecated.protected ContextHandlerCollection
_contexts
Deprecated.protected boolean
_enableStats
Deprecated.protected java.lang.String
_logFile
Deprecated.protected Server
_server
Deprecated.protected java.lang.String
_statsPropFile
Deprecated.
-
Constructor Summary
Constructors Constructor Description Runner()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
configure(java.lang.String[] args)
Deprecated.Configure a jetty instance and deploy the webapps presented as argsprotected void
initClassLoader()
Deprecated.Establish a classloader with custom paths (if any)static void
main(java.lang.String[] args)
Deprecated.protected void
prependHandler(Handler handler, HandlerCollection handlers)
Deprecated.void
run()
Deprecated.void
usage(java.lang.String error)
Deprecated.Generate helpful usage message and exitvoid
version()
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.Exception
Deprecated.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.Exception
Deprecated.- 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.
-
-