Class QuickStartWebApp

All Implemented Interfaces:
Handler, HandlerContainer, Attributes, ClassVisibilityChecker, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, Graceful, LifeCycle, WebAppClassLoader.Context

public class QuickStartWebApp extends WebAppContext
QuickStartWar
  • Field Details

    • LOG

      private static final Logger LOG
    • __configurationClasses

      public static final String[] __configurationClasses
    • _preconfigure

      private boolean _preconfigure
    • _autoPreconfigure

      private boolean _autoPreconfigure
    • _startWebapp

      private boolean _startWebapp
    • _preconfigProcessor

      private PreconfigureDescriptorProcessor _preconfigProcessor
    • _originAttribute

      private String _originAttribute
    • _generateOrigin

      private boolean _generateOrigin
    • __preconfigurationClasses

      public static final String[] __preconfigurationClasses
  • Constructor Details

    • QuickStartWebApp

      public QuickStartWebApp()
  • Method Details

    • isPreconfigure

      public boolean isPreconfigure()
    • setPreconfigure

      public void setPreconfigure(boolean preconfigure)
      Preconfigure webapp
      Parameters:
      preconfigure - If true, then starting the webapp will generate the WEB-INF/quickstart-web.xml rather than start the webapp.
    • isAutoPreconfigure

      public boolean isAutoPreconfigure()
    • setAutoPreconfigure

      public void setAutoPreconfigure(boolean autoPrecompile)
    • setOriginAttribute

      public void setOriginAttribute(String name)
    • getOriginAttribute

      public String getOriginAttribute()
      Returns:
      the originAttribute
    • getGenerateOrigin

      public boolean getGenerateOrigin()
      Returns:
      the generateOrigin
    • setGenerateOrigin

      public void setGenerateOrigin(boolean generateOrigin)
      Parameters:
      generateOrigin - the generateOrigin to set
    • contextInitialized

      public void contextInitialized() throws Exception
      Never call any listeners unless we are fully starting the webapp.
      Overrides:
      contextInitialized in class ContextHandler
      Throws:
      Exception
    • contextDestroyed

      public void contextDestroyed() throws Exception
      Never call any listeners unless we are fully starting the webapp.
      Overrides:
      contextDestroyed in class ContextHandler
      Throws:
      Exception
    • startWebapp

      protected void startWebapp() throws Exception
      Overrides:
      startWebapp in class WebAppContext
      Throws:
      Exception
    • stopWebapp

      protected void stopWebapp() throws Exception
      Overrides:
      stopWebapp in class WebAppContext
      Throws:
      Exception
    • doStart

      protected void doStart() throws Exception
      Description copied from class: ContainerLifeCycle
      Starts the managed lifecycle beans in the order they were added.
      Overrides:
      doStart in class WebAppContext
      Throws:
      Exception
      See Also:
    • generateQuickstartWebXml

      public void generateQuickstartWebXml(String extraXML) throws Exception
      Throws:
      Exception