Class NoListenerConfiguration

  • All Implemented Interfaces:
    org.eclipse.jetty.util.component.LifeCycle

    public class NoListenerConfiguration
    extends org.eclipse.jetty.util.component.AbstractLifeCycle
    Kills off the WebAppMain ServletContextListener.

    This is so that the harness can create the Jenkins object. with the home directory of our choice.

    Author:
    Kohsuke Kawaguchi
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
    • Constructor Summary

      Constructors 
      Constructor Description
      NoListenerConfiguration​(org.eclipse.jetty.webapp.WebAppContext context)  
    • Constructor Detail

      • NoListenerConfiguration

        public NoListenerConfiguration​(org.eclipse.jetty.webapp.WebAppContext context)
    • Method Detail

      • doStart

        protected void doStart()
        Overrides:
        doStart in class org.eclipse.jetty.util.component.AbstractLifeCycle