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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  Runner.Classpath
      Deprecated.
      Classpath
    • 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 args
      protected void initClassLoader()
      Deprecated.
      Establish a classloader with custom paths (if any)
      static void main​(java.lang.String[] args)
      Deprecated.
       
      protected void prependHandler​(org.eclipse.jetty.server.Handler handler, org.eclipse.jetty.server.handler.HandlerCollection handlers)
      Deprecated.
       
      void run()
      Deprecated.
       
      void usage​(java.lang.String error)
      Deprecated.
      Generate helpful usage message and exit
      void version()
      Deprecated.
      Generate version message and exit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • _server

        protected org.eclipse.jetty.server.Server _server
        Deprecated.
      • _classLoader

        protected java.net.URLClassLoader _classLoader
        Deprecated.
      • _contexts

        protected org.eclipse.jetty.server.handler.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.
    • 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
      • prependHandler

        protected void prependHandler​(org.eclipse.jetty.server.Handler handler,
                                      org.eclipse.jetty.server.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.