Uses of Class
org.eclipse.jetty.webapp.WebAppContext
-
Packages that use WebAppContext Package Description org.eclipse.jetty.annotations Jetty Annotations : Support for Servlet Annotationsorg.eclipse.jetty.plus.annotation Jetty Plus : Limited JEE Annotation Supportorg.eclipse.jetty.plus.webapp Jetty Plus : Limited Additional JEE Webapp Supportorg.eclipse.jetty.webapp Jetty Util : Modular Web Application Support -
-
Uses of WebAppContext in org.eclipse.jetty.annotations
Fields in org.eclipse.jetty.annotations declared as WebAppContext Modifier and Type Field Description protected WebAppContext
AbstractDiscoverableAnnotationHandler. _context
protected WebAppContext
DeclareRolesAnnotationHandler. _context
protected WebAppContext
MultiPartConfigAnnotationHandler. _context
protected WebAppContext
PostConstructAnnotationHandler. _context
protected WebAppContext
ResourceAnnotationHandler. _context
protected WebAppContext
RunAsAnnotationHandler. _context
protected WebAppContext
ResourcesAnnotationHandler. _wac
Methods in org.eclipse.jetty.annotations with parameters of type WebAppContext Modifier and Type Method Description void
AnnotationConfiguration. cloneConfigure(WebAppContext template, WebAppContext context)
void
AnnotationConfiguration. configure(WebAppContext context)
void
AnnotationConfiguration. createServletContainerInitializerAnnotationHandlers(WebAppContext context, java.util.List<javax.servlet.ServletContainerInitializer> scis)
AnnotationConfiguration.ServletContainerInitializerOrdering
AnnotationConfiguration. getInitializerOrdering(WebAppContext context)
Jetty-specific extension that allows an ordering to be applied across ALL ServletContainerInitializers.protected int
AnnotationConfiguration. getMaxScanWait(WebAppContext context)
Work out how long we should wait for the async scanning to occur.java.util.List<javax.servlet.ServletContainerInitializer>
AnnotationConfiguration. getNonExcludedInitializers(WebAppContext context)
Get SCIs that are not excluded from considerationboolean
AnnotationConfiguration. isFromContainerClassPath(WebAppContext context, javax.servlet.ServletContainerInitializer sci)
Test if the ServletContainerInitializer is from the container classpathboolean
AnnotationConfiguration. isFromExcludedJar(WebAppContext context, javax.servlet.ServletContainerInitializer sci, Resource sciResource)
Check to see if the ServletContainerIntializer loaded via the ServiceLoader came from a jar that is excluded by the fragment ordering.boolean
AnnotationConfiguration. isFromWebInfClasses(WebAppContext context, Resource sci)
Test if the ServletContainerInitializer is from WEB-INF/classesprotected boolean
AnnotationConfiguration. isUseMultiThreading(WebAppContext context)
Check if we should use multiple threads to scan for annotations or notvoid
AnnotationConfiguration. parseContainerPath(WebAppContext context, AnnotationParser parser)
Scan jars on container path.void
AnnotationConfiguration. parseWebInfClasses(WebAppContext context, AnnotationParser parser)
Scan classes in WEB-INF/classesvoid
AnnotationConfiguration. parseWebInfLib(WebAppContext context, AnnotationParser parser)
Scan jars in WEB-INF/libvoid
AnnotationConfiguration. postConfigure(WebAppContext context)
void
AnnotationConfiguration. preConfigure(WebAppContext context)
void
AnnotationDecorator. registerHandlers(WebAppContext context)
protected void
AnnotationConfiguration. scanForAnnotations(WebAppContext context)
Perform scanning of classes for annotations -
Uses of WebAppContext in org.eclipse.jetty.plus.annotation
Methods in org.eclipse.jetty.plus.annotation with parameters of type WebAppContext Modifier and Type Method Description void
ContainerInitializer. callStartup(WebAppContext context)
void
ContainerInitializer. resolveClasses(WebAppContext context, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> classMap)
-
Uses of WebAppContext in org.eclipse.jetty.plus.webapp
Fields in org.eclipse.jetty.plus.webapp declared as WebAppContext Modifier and Type Field Description protected WebAppContext
PlusDecorator. _context
Methods in org.eclipse.jetty.plus.webapp with parameters of type WebAppContext Modifier and Type Method Description void
PlusDescriptorProcessor. addInjections(WebAppContext context, Descriptor descriptor, XmlParser.Node node, java.lang.String jndiName, java.lang.Class<?> valueClass)
Iterate over the<injection-target>
entries for a nodeprotected void
PlusDescriptorProcessor. bindEntry(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass)
Bind a resource with the given name from web.xml of the given type with a jndi resource from either the server or the webapp's naming environment.void
EnvConfiguration. bindEnvEntries(WebAppContext context)
Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.void
PlusDescriptorProcessor. bindMessageDestinationRef(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass)
void
PlusDescriptorProcessor. bindResourceEnvRef(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass)
void
PlusDescriptorProcessor. bindResourceRef(WebAppContext context, java.lang.String name, java.lang.Class<?> typeClass)
Bind a resource reference.void
PlusConfiguration. bindUserTransaction(WebAppContext context)
void
PlusConfiguration. cloneConfigure(WebAppContext template, WebAppContext context)
void
EnvConfiguration. configure(WebAppContext context)
void
PlusConfiguration. configure(WebAppContext context)
protected void
EnvConfiguration. createEnvContext(WebAppContext wac)
void
EnvConfiguration. deconfigure(WebAppContext context)
Remove jndi setup from startvoid
PlusConfiguration. deconfigure(WebAppContext context)
void
EnvConfiguration. destroy(WebAppContext context)
Remove all jndi setupvoid
PlusDescriptorProcessor. end(WebAppContext context, Descriptor descriptor)
protected void
PlusConfiguration. lockCompEnv(WebAppContext wac)
void
PlusConfiguration. postConfigure(WebAppContext context)
void
EnvConfiguration. preConfigure(WebAppContext context)
void
PlusConfiguration. preConfigure(WebAppContext context)
void
PlusDescriptorProcessor. start(WebAppContext context, Descriptor descriptor)
protected void
PlusConfiguration. unlockCompEnv(WebAppContext wac)
void
PlusDescriptorProcessor. visitEnvEntry(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
JavaEE 5.4.1.3void
PlusDescriptorProcessor. visitMessageDestinationRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Common Annotations Spec section 2.3:void
PlusDescriptorProcessor. visitPostConstruct(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
If web.xml has at least 1 post-construct, then all post-constructs in fragments are ignored.void
PlusDescriptorProcessor. visitPreDestroy(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
pre-destroy is the name of a class and method to call just as the instance is being destroyedvoid
PlusDescriptorProcessor. visitResourceEnvRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Common Annotations Spec section 2.3:void
PlusDescriptorProcessor. visitResourceRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Common Annotations Spec section 2.3:Constructors in org.eclipse.jetty.plus.webapp with parameters of type WebAppContext Constructor Description PlusDecorator(WebAppContext context)
-
Uses of WebAppContext in org.eclipse.jetty.webapp
Fields in org.eclipse.jetty.webapp declared as WebAppContext Modifier and Type Field Description protected WebAppContext
DiscoveredAnnotation. _context
protected WebAppContext
WebInfConfiguration.ContainerPathNameMatcher. _context
protected WebAppContext
WebInfConfiguration.WebAppPathNameMatcher. _context
Methods in org.eclipse.jetty.webapp that return WebAppContext Modifier and Type Method Description static WebAppContext
WebAppContext. getCurrentWebAppContext()
Methods in org.eclipse.jetty.webapp with parameters of type WebAppContext Modifier and Type Method Description void
StandardDescriptorProcessor. addFilterMapping(java.lang.String filterName, XmlParser.Node node, WebAppContext context, Descriptor descriptor)
ServletMapping
StandardDescriptorProcessor. addServletMapping(java.lang.String servletName, XmlParser.Node node, WebAppContext context, Descriptor descriptor)
void
FragmentConfiguration. addWebFragments(WebAppContext context, MetaData metaData)
Add in fragment descriptors that have already been discovered by MetaInfConfigurationvoid
StandardDescriptorProcessor. addWelcomeFiles(WebAppContext context, XmlParser.Node node)
void
AbstractConfiguration. cloneConfigure(WebAppContext template, WebAppContext context)
void
Configuration. cloneConfigure(WebAppContext template, WebAppContext context)
Clone configuration instance.void
WebInfConfiguration. cloneConfigure(WebAppContext template, WebAppContext context)
void
AbstractConfiguration. configure(WebAppContext context)
void
CloneConfiguration. configure(WebAppContext context)
void
Configuration. configure(WebAppContext context)
Configure WebApp.void
JettyWebXmlConfiguration. configure(WebAppContext context)
Configure Apply web-jetty.xml configurationvoid
WebInfConfiguration. configure(WebAppContext context)
void
WebXmlConfiguration. configure(WebAppContext context)
Process web-default.xml, web.xml, override-web.xmlvoid
WebInfConfiguration. configureTempDirectory(java.io.File dir, WebAppContext context)
void
AbstractConfiguration. deconfigure(WebAppContext context)
void
CloneConfiguration. deconfigure(WebAppContext context)
void
Configuration. deconfigure(WebAppContext context)
DeConfigure WebApp.void
WebInfConfiguration. deconfigure(WebAppContext context)
void
WebXmlConfiguration. deconfigure(WebAppContext context)
void
AbstractConfiguration. destroy(WebAppContext context)
void
Configuration. destroy(WebAppContext context)
Destroy WebApp.abstract void
IterativeDescriptorProcessor. end(WebAppContext context, Descriptor descriptor)
void
StandardDescriptorProcessor. end(WebAppContext context, Descriptor descriptor)
void
WebInfConfiguration. findAndFilterContainerPaths(WebAppContext context)
Find jars and directories that are on the container's classpath and apply an optional filter.void
WebInfConfiguration. findAndFilterWebAppPaths(WebAppContext context)
Finds the jars that are either physically or virtually in WEB-INF/lib, and applies an optional filter to their full pathnames.protected java.util.List<Resource>
WebInfConfiguration. findClassDirs(WebAppContext context)
protected java.util.List<Resource>
WebInfConfiguration. findExtraClasspathDirs(WebAppContext context)
Get class dirs from WebAppContext.getExtraClasspath as resourcesprotected java.util.List<Resource>
WebInfConfiguration. findExtraClasspathJars(WebAppContext context)
Get jars from WebAppContext.getExtraClasspath as resourcesprotected java.util.List<Resource>
WebInfConfiguration. findJars(WebAppContext context)
Look for jars that should be treated as if they are in WEB-INF/libvoid
FragmentConfiguration. findWebFragments(WebAppContext context, MetaData metaData)
Deprecated.protected Resource
WebInfConfiguration. findWebInfClassesDir(WebAppContext context)
GetWEB-INF/classes
dirprotected java.util.List<Resource>
WebInfConfiguration. findWebInfLibJars(WebAppContext context)
Look for jars inWEB-INF/lib
protected Resource
WebXmlConfiguration. findWebXml(WebAppContext context)
static java.lang.String
WebInfConfiguration. getCanonicalNameForWebAppTmpDir(WebAppContext context)
Create a canonical name for a webapp temp directory.void
WebInfConfiguration. makeTempDirectory(java.io.File parent, WebAppContext context)
void
AbstractConfiguration. postConfigure(WebAppContext context)
void
Configuration. postConfigure(WebAppContext context)
Clear down after configuration.void
FragmentConfiguration. postConfigure(WebAppContext context)
void
MetaInfConfiguration. postConfigure(WebAppContext context)
void
AbstractConfiguration. preConfigure(WebAppContext context)
void
Configuration. preConfigure(WebAppContext context)
Set up for configuration.void
FragmentConfiguration. preConfigure(WebAppContext context)
void
MetaInfConfiguration. preConfigure(WebAppContext context)
void
WebInfConfiguration. preConfigure(WebAppContext context)
void
WebXmlConfiguration. preConfigure(WebAppContext context)
void
DescriptorProcessor. process(WebAppContext context, Descriptor descriptor)
void
IterativeDescriptorProcessor. process(WebAppContext context, Descriptor descriptor)
void
MetaData. resolve(WebAppContext context)
Resolve all servlet/filter/listener metadata from all sources: descriptors and annotations.void
WebInfConfiguration. resolveTempDirectory(WebAppContext context)
Get a temporary directory in which to unpack the war etc etc.void
MetaInfConfiguration. scanForFragment(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.void
MetaInfConfiguration. scanForResources(WebAppContext context, Resource target, java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.void
MetaInfConfiguration. scanForTlds(WebAppContext context, Resource jar, java.util.concurrent.ConcurrentHashMap<Resource,java.util.Collection<java.net.URL>> cache)
Discover META-INF/*.tld files in the given jarvoid
MetaInfConfiguration. scanJars(WebAppContext context, java.util.Collection<Resource> jars, boolean useCaches)
For backwards compatibility.void
MetaInfConfiguration. scanJars(WebAppContext context, java.util.Collection<Resource> jars, boolean useCaches, java.util.List<java.lang.String> scanTypes)
Look into the jars to discover info in META-INF.abstract void
IterativeDescriptorProcessor. start(WebAppContext context, Descriptor descriptor)
void
StandardDescriptorProcessor. start(WebAppContext context, Descriptor descriptor)
void
WebInfConfiguration. unpack(WebAppContext context)
protected void
IterativeDescriptorProcessor. visit(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitContextParam(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitDenyUncoveredHttpMethods(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Servlet spec 3.1.void
StandardDescriptorProcessor. visitDisplayName(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitDistributable(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitErrorPage(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitFilter(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitFilterMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitJspConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitListener(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitLocaleEncodingList(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitLoginConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitMimeMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitSecurityConstraint(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitSecurityRole(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitServlet(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitServletMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitSessionConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitTagLib(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
void
StandardDescriptorProcessor. visitWelcomeFileList(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Constructors in org.eclipse.jetty.webapp with parameters of type WebAppContext Constructor Description ContainerPathNameMatcher(WebAppContext context, java.util.regex.Pattern pattern)
DiscoveredAnnotation(WebAppContext context, java.lang.String className)
DiscoveredAnnotation(WebAppContext context, java.lang.String className, Resource resource)
WebAppPathNameMatcher(WebAppContext context, java.util.regex.Pattern pattern)
-