Class QuickStartDescriptorProcessor

java.lang.Object
org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor
org.eclipse.jetty.ee10.quickstart.QuickStartDescriptorProcessor
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.ee10.webapp.DescriptorProcessor

public class QuickStartDescriptorProcessor extends org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor implements Closeable
QuickStartDescriptorProcessor Handle extended elements for quickstart-web.xml
  • Field Summary

    Fields inherited from class org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor

    __signature, _visitors
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    end(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor)
     
    void
    start(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor)
     
    void
    visitContextParam(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor, org.eclipse.jetty.xml.XmlParser.Node node)
    Process a context-param element
    void
    visitMetaInfResource(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.util.resource.Resource dir)
     
    void
    visitServletContainerInitializerHolder(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.servlet.ServletContainerInitializerHolder sciHolder)
    Ensure the ServletContainerInitializerHolder will be started by adding it to the context.
    void
    visitServletMapping(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor, org.eclipse.jetty.xml.XmlParser.Node node)
    Process a servlet-mapping element

    Methods inherited from class org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor

    process, registerVisitor, visit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QuickStartDescriptorProcessor

      public QuickStartDescriptorProcessor()
  • Method Details

    • start

      public void start(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor)
      Specified by:
      start in class org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor
    • end

      public void end(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor)
      Specified by:
      end in class org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • visitServletMapping

      public void visitServletMapping(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor, org.eclipse.jetty.xml.XmlParser.Node node)
      Process a servlet-mapping element
      Parameters:
      context - the webapp
      descriptor - the xml file to process
      node - the servlet-mapping element in the xml file to process
    • visitContextParam

      public void visitContextParam(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.webapp.Descriptor descriptor, org.eclipse.jetty.xml.XmlParser.Node node) throws Exception
      Process a context-param element
      Parameters:
      context - the webapp
      descriptor - the xml file to process
      node - the context-param node in the xml file
      Throws:
      Exception - if some resources cannot be read
    • visitServletContainerInitializerHolder

      public void visitServletContainerInitializerHolder(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.ee10.servlet.ServletContainerInitializerHolder sciHolder)
      Ensure the ServletContainerInitializerHolder will be started by adding it to the context.
      Parameters:
      context - the context to which to add the ServletContainerInitializerHolder
      sciHolder - the ServletContainerInitializerHolder
    • visitMetaInfResource

      public void visitMetaInfResource(org.eclipse.jetty.ee10.webapp.WebAppContext context, org.eclipse.jetty.util.resource.Resource dir)