Class Runner


  • @Deprecated
    public class Runner
    extends java.lang.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 Detail

      • PLUS_CONFIGURATION_CLASSES

        public static final java.lang.String[] PLUS_CONFIGURATION_CLASSES
        Deprecated.
      • CONTAINER_INCLUDE_JAR_PATTERN

        public static final java.lang.String CONTAINER_INCLUDE_JAR_PATTERN
        Deprecated.
        See Also:
        Constant Field Values
      • DEFAULT_CONTEXT_PATH

        public static final java.lang.String DEFAULT_CONTEXT_PATH
        Deprecated.
        See Also:
        Constant Field Values
      • _server

        protected Server _server
        Deprecated.
      • _classLoader

        protected java.net.URLClassLoader _classLoader
        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.
      • _serverUriFile

        protected java.lang.String _serverUriFile
        Deprecated.
    • Constructor Detail

      • Runner

        public Runner()
        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
      • 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.