Class Runner

java.lang.Object
org.eclipse.jetty.runner.Runner

@Deprecated public class Runner extends Object
Deprecated.
No replacement provided or available. Migrate to jetty-home (and use ${jetty.base} directory).
Runner

Combine jetty classes into a single executable jar and run webapps based on the args to it.

  • Field Details

    • PLUS_CONFIGURATION_CLASSES

      public static final String[] PLUS_CONFIGURATION_CLASSES
      Deprecated.
    • CONTAINER_INCLUDE_JAR_PATTERN

      public static final String CONTAINER_INCLUDE_JAR_PATTERN
      Deprecated.
      See Also:
    • DEFAULT_CONTEXT_PATH

      public static final String DEFAULT_CONTEXT_PATH
      Deprecated.
      See Also:
    • DEFAULT_PORT

      public static final int DEFAULT_PORT
      Deprecated.
      See Also:
    • _server

      protected Server _server
      Deprecated.
    • _classLoader

      protected URLClassLoader _classLoader
      Deprecated.
    • _classpath

      protected Runner.Classpath _classpath
      Deprecated.
    • _contexts

      protected ContextHandlerCollection _contexts
      Deprecated.
    • _logFile

      protected String _logFile
      Deprecated.
    • _configFiles

      protected ArrayList<String> _configFiles
      Deprecated.
    • _enableStats

      protected boolean _enableStats
      Deprecated.
    • _statsPropFile

      protected String _statsPropFile
      Deprecated.
    • _serverUriFile

      protected String _serverUriFile
      Deprecated.
  • Constructor Details

    • Runner

      public Runner()
      Deprecated.
  • Method Details

    • usage

      public void usage(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(String[] args) throws Exception
      Deprecated.
      Configure a jetty instance and deploy the webapps presented as args
      Parameters:
      args - the command line arguments
      Throws:
      Exception - if unable to configure
    • prependHandler

      protected void prependHandler(Handler handler, HandlerCollection handlers)
      Deprecated.
    • run

      public void run() throws Exception
      Deprecated.
      Throws:
      Exception
    • initClassLoader

      protected void initClassLoader()
      Deprecated.
      Establish a classloader with custom paths (if any)
    • main

      public static void main(String[] args)
      Deprecated.