Package org.eclipse.jetty.quickstart
Class QuickStartDescriptorProcessor
java.lang.Object
org.eclipse.jetty.webapp.IterativeDescriptorProcessor
org.eclipse.jetty.quickstart.QuickStartDescriptorProcessor
- All Implemented Interfaces:
DescriptorProcessor
QuickStartDescriptorProcessor
Handle extended elements for quickstart-web.xml
-
Field Summary
Fields inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
__signature, _visitors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
end
(WebAppContext context, Descriptor descriptor) void
start
(WebAppContext context, Descriptor descriptor) void
visitContainerInitializer
(WebAppContext context, ContainerInitializer containerInitializer) Deprecated.void
visitContextParam
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Process a context-param elementvoid
visitMetaInfResource
(WebAppContext context, Resource dir) void
visitServletContainerInitializerHolder
(WebAppContext context, ServletContainerInitializerHolder sciHolder) Ensure the ServletContainerInitializerHolder will be started by adding it to the context.void
visitServletMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Process a servlet-mapping elementMethods inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
process, registerVisitor, visit
-
Constructor Details
-
QuickStartDescriptorProcessor
public QuickStartDescriptorProcessor()
-
-
Method Details
-
start
- Specified by:
start
in classIterativeDescriptorProcessor
-
end
- Specified by:
end
in classIterativeDescriptorProcessor
-
visitServletMapping
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 Exception Process a context-param element- Parameters:
context
- the webappdescriptor
- the xml file to processnode
- the context-param node in the xml file- Throws:
Exception
- if some resources cannot be read
-
visitContainerInitializer
@Deprecated public void visitContainerInitializer(WebAppContext context, ContainerInitializer containerInitializer) Deprecated. -
visitServletContainerInitializerHolder
public void visitServletContainerInitializerHolder(WebAppContext context, ServletContainerInitializerHolder sciHolder) Ensure the ServletContainerInitializerHolder will be started by adding it to the context.- Parameters:
context
- the context to which to add the ServletContainerInitializerHoldersciHolder
- the ServletContainerInitializerHolder
-
visitMetaInfResource
-