Package org.eclipse.jetty.quickstart
Class QuickStartDescriptorProcessor
- java.lang.Object
-
- org.eclipse.jetty.webapp.IterativeDescriptorProcessor
-
- org.eclipse.jetty.quickstart.QuickStartDescriptorProcessor
-
- All Implemented Interfaces:
DescriptorProcessor
public class QuickStartDescriptorProcessor extends IterativeDescriptorProcessor
QuickStartDescriptorProcessor Handle extended elements for quickstart-web.xml
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
__signature, _visitors
-
-
Constructor Summary
Constructors Constructor Description QuickStartDescriptorProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end(WebAppContext context, Descriptor descriptor)
void
start(WebAppContext context, Descriptor descriptor)
void
visitContainerInitializer(WebAppContext context, ContainerInitializer containerInitializer)
void
visitContextParam(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Process a context-param elementvoid
visitMetaInfResource(WebAppContext context, Resource dir)
void
visitServletMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Process a servlet-mapping element-
Methods inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
process, registerVisitor, visit
-
-
-
-
Method Detail
-
start
public void start(WebAppContext context, Descriptor descriptor)
-
end
public void end(WebAppContext context, Descriptor descriptor)
- Specified by:
end
in classIterativeDescriptorProcessor
- See Also:
IterativeDescriptorProcessor.end(org.eclipse.jetty.webapp.WebAppContext, org.eclipse.jetty.webapp.Descriptor)
-
visitServletMapping
public void visitServletMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Process a servlet-mapping element- Parameters:
context
- the webappdescriptor
- the xml file to processnode
- the servlet-mapping element in the xml file to process
-
visitContextParam
public void visitContextParam(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws java.lang.Exception
Process a context-param element- Parameters:
context
- the webappdescriptor
- the xml file to processnode
- the context-param node in the xml file- Throws:
java.lang.Exception
- if some resources cannot be read
-
visitContainerInitializer
public void visitContainerInitializer(WebAppContext context, ContainerInitializer containerInitializer)
-
visitMetaInfResource
public void visitMetaInfResource(WebAppContext context, Resource dir)
-
-