| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.9.1) on Mon Dec 07 10:59:53 CST 2020 --> |
| <title>MetaInfConfiguration (Eclipse Jetty API Doc - v11.0.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-12-07"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="MetaInfConfiguration (Eclipse Jetty API Doc - v11.0.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/MetaInfConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.webapp</a></div> |
| <h2 title="Class MetaInfConfiguration" class="title">Class MetaInfConfiguration</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">org.eclipse.jetty.webapp.AbstractConfiguration</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.webapp.MetaInfConfiguration</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="../ant/AntMetaInfConfiguration.html" title="class in org.eclipse.jetty.ant">AntMetaInfConfiguration</a></code>, <code><a href="../maven/plugin/MavenMetaInfConfiguration.html" title="class in org.eclipse.jetty.maven.plugin">MavenMetaInfConfiguration</a></code>, <code><a href="../osgi/boot/OSGiMetaInfConfiguration.html" title="class in org.eclipse.jetty.osgi.boot">OSGiMetaInfConfiguration</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">MetaInfConfiguration</span> |
| extends <a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></pre> |
| <div class="block">MetaInfConfiguration |
| <p> |
| |
| Scan META-INF of jars to find: |
| <ul> |
| <li>tlds</li> |
| <li>web-fragment.xml</li> |
| <li>resources</li> |
| </ul> |
| |
| The jars which are scanned are: |
| <ol> |
| <li>those from the container classpath whose pattern matched the WebInfConfiguration.CONTAINER_JAR_PATTERN</li> |
| <li>those from WEB-INF/lib</li> |
| </ol></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="MetaInfConfiguration.ContainerPathNameMatcher.html" title="class in org.eclipse.jetty.webapp">MetaInfConfiguration.ContainerPathNameMatcher</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">ContainerPathNameMatcher |
| |
| Matches names of jars on the container classpath |
| against a pattern.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="MetaInfConfiguration.WebAppPathNameMatcher.html" title="class in org.eclipse.jetty.webapp">MetaInfConfiguration.WebAppPathNameMatcher</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">WebAppPathNameMatcher |
| |
| Matches names of jars or dirs on the webapp classpath |
| against a pattern.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.webapp.Configuration"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.<a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3> |
| <code><a href="Configuration.Wrapper.html" title="class in org.eclipse.jetty.webapp">Configuration.Wrapper</a>, <a href="Configuration.WrapperFunction.html" title="interface in org.eclipse.jetty.webapp">Configuration.WrapperFunction</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.util.List<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#__allScanTypes">__allScanTypes</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CACHED_CONTAINER_FRAGMENTS">CACHED_CONTAINER_FRAGMENTS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CACHED_CONTAINER_RESOURCES">CACHED_CONTAINER_RESOURCES</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CACHED_CONTAINER_TLDS">CACHED_CONTAINER_TLDS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CONTAINER_JAR_PATTERN">CONTAINER_JAR_PATTERN</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_USE_CONTAINER_METAINF_CACHE">DEFAULT_USE_CONTAINER_METAINF_CACHE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#METAINF_FRAGMENTS">METAINF_FRAGMENTS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#METAINF_RESOURCES">METAINF_RESOURCES</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#METAINF_TLDS">METAINF_TLDS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RESOURCE_DIRS">RESOURCE_DIRS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">If set, to a list of URLs, these resources are added to the context |
| resource base as a resource collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#USE_CONTAINER_METAINF_CACHE">USE_CONTAINER_METAINF_CACHE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WEBINF_JAR_PATTERN">WEBINF_JAR_PATTERN</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.webapp.Configuration"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.eclipse.jetty.webapp.<a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3> |
| <code><a href="Configuration.html#ATTR">ATTR</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">MetaInfConfiguration</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configure(org.eclipse.jetty.webapp.WebAppContext)">configure</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Configure WebApp.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAndFilterContainerPaths(org.eclipse.jetty.webapp.WebAppContext)">findAndFilterContainerPaths</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Find jars and directories that are on the container's classpath |
| and apply an optional filter.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAndFilterWebAppPaths(org.eclipse.jetty.webapp.WebAppContext)">findAndFilterWebAppPaths</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Finds the jars that are either physically or virtually in |
| WEB-INF/lib, and applies an optional filter to their full |
| pathnames.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findClassDirs(org.eclipse.jetty.webapp.WebAppContext)">findClassDirs</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findExtraClasspathDirs(org.eclipse.jetty.webapp.WebAppContext)">findExtraClasspathDirs</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Get class dirs from WebAppContext.getExtraClasspath as resources</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findExtraClasspathJars(org.eclipse.jetty.webapp.WebAppContext)">findExtraClasspathJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Get jars from WebAppContext.getExtraClasspath as resources</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findJars(org.eclipse.jetty.webapp.WebAppContext)">findJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Look for jars that should be treated as if they are in WEB-INF/lib</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findWebInfClassesDir(org.eclipse.jetty.webapp.WebAppContext)">findWebInfClassesDir</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Get <code>WEB-INF/classes</code> dir</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findWebInfLibJars(org.eclipse.jetty.webapp.WebAppContext)">findWebInfLibJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Look for jars in <code>WEB-INF/lib</code></div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.List<java.net.URI></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllContainerJars(org.eclipse.jetty.webapp.WebAppContext)">getAllContainerJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>java.util.Collection<java.net.URL></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTlds(java.io.File)">getTlds</a></span>​(java.io.File dir)</code></th> |
| <td class="colLast"> |
| <div class="block">Find all .tld files in all subdirs of the given dir.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>java.util.Collection<java.net.URL></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTlds(java.net.URI)">getTlds</a></span>​(java.net.URI uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Find all .tld files in the given jar.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#postConfigure(org.eclipse.jetty.webapp.WebAppContext)">postConfigure</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Clear down after configuration.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#preConfigure(org.eclipse.jetty.webapp.WebAppContext)">preConfigure</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Set up for configuration.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanForFragment(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource,java.util.concurrent.ConcurrentHashMap)">scanForFragment</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> jar, |
| java.util.concurrent.ConcurrentHashMap<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,​<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> cache)</code></th> |
| <td class="colLast"> |
| <div class="block">Scan for META-INF/web-fragment.xml file in the given jar.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanForResources(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource,java.util.concurrent.ConcurrentHashMap)">scanForResources</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> target, |
| java.util.concurrent.ConcurrentHashMap<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,​<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> cache)</code></th> |
| <td class="colLast"> |
| <div class="block">Scan for META-INF/resources dir in the given jar.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanForTlds(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource,java.util.concurrent.ConcurrentHashMap)">scanForTlds</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> jar, |
| java.util.concurrent.ConcurrentHashMap<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,​java.util.Collection<java.net.URL>> cache)</code></th> |
| <td class="colLast"> |
| <div class="block">Discover META-INF/*.tld files in the given jar</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanJars(org.eclipse.jetty.webapp.WebAppContext)">scanJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanJars(org.eclipse.jetty.webapp.WebAppContext,java.util.Collection,boolean)">scanJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.util.Collection<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> jars, |
| boolean useCaches)</code></th> |
| <td class="colLast"> |
| <div class="block">For backwards compatibility.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanJars(org.eclipse.jetty.webapp.WebAppContext,java.util.Collection,boolean,java.util.List)">scanJars</a></span>​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.util.Collection<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> jars, |
| boolean useCaches, |
| java.util.List<java.lang.String> scanTypes)</code></th> |
| <td class="colLast"> |
| <div class="block">Look into the jars to discover info in META-INF.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.webapp.AbstractConfiguration"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.webapp.<a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></h3> |
| <code><a href="AbstractConfiguration.html#abort(org.eclipse.jetty.webapp.WebAppContext)">abort</a>, <a href="AbstractConfiguration.html#addDependencies(java.lang.Class...)">addDependencies</a>, <a href="AbstractConfiguration.html#addDependencies(java.lang.String...)">addDependencies</a>, <a href="AbstractConfiguration.html#addDependents(java.lang.Class...)">addDependents</a>, <a href="AbstractConfiguration.html#addDependents(java.lang.String...)">addDependents</a>, <a href="AbstractConfiguration.html#cloneConfigure(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.WebAppContext)">cloneConfigure</a>, <a href="AbstractConfiguration.html#deconfigure(org.eclipse.jetty.webapp.WebAppContext)">deconfigure</a>, <a href="AbstractConfiguration.html#destroy(org.eclipse.jetty.webapp.WebAppContext)">destroy</a>, <a href="AbstractConfiguration.html#expose(java.lang.String...)">expose</a>, <a href="AbstractConfiguration.html#getDependencies()">getDependencies</a>, <a href="AbstractConfiguration.html#getDependents()">getDependents</a>, <a href="AbstractConfiguration.html#getServerClasses()">getServerClasses</a>, <a href="AbstractConfiguration.html#getSystemClasses()">getSystemClasses</a>, <a href="AbstractConfiguration.html#hide(java.lang.String...)">hide</a>, <a href="AbstractConfiguration.html#isEnabledByDefault()">isEnabledByDefault</a>, <a href="AbstractConfiguration.html#protect(java.lang.String...)">protect</a>, <a href="AbstractConfiguration.html#protectAndExpose(java.lang.String...)">protectAndExpose</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.webapp.Configuration"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.webapp.<a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3> |
| <code><a href="Configuration.html#isAvailable()">isAvailable</a>, <a href="Configuration.html#replaces()">replaces</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="USE_CONTAINER_METAINF_CACHE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>USE_CONTAINER_METAINF_CACHE</h4> |
| <pre>public static final java.lang.String USE_CONTAINER_METAINF_CACHE</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.USE_CONTAINER_METAINF_CACHE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="DEFAULT_USE_CONTAINER_METAINF_CACHE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_USE_CONTAINER_METAINF_CACHE</h4> |
| <pre>public static final boolean DEFAULT_USE_CONTAINER_METAINF_CACHE</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.DEFAULT_USE_CONTAINER_METAINF_CACHE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="CACHED_CONTAINER_TLDS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CACHED_CONTAINER_TLDS</h4> |
| <pre>public static final java.lang.String CACHED_CONTAINER_TLDS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.CACHED_CONTAINER_TLDS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="CACHED_CONTAINER_FRAGMENTS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CACHED_CONTAINER_FRAGMENTS</h4> |
| <pre>public static final java.lang.String CACHED_CONTAINER_FRAGMENTS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.CACHED_CONTAINER_FRAGMENTS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="CACHED_CONTAINER_RESOURCES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CACHED_CONTAINER_RESOURCES</h4> |
| <pre>public static final java.lang.String CACHED_CONTAINER_RESOURCES</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.CACHED_CONTAINER_RESOURCES">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="METAINF_TLDS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>METAINF_TLDS</h4> |
| <pre>public static final java.lang.String METAINF_TLDS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.METAINF_TLDS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="METAINF_FRAGMENTS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>METAINF_FRAGMENTS</h4> |
| <pre>public static final java.lang.String METAINF_FRAGMENTS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.METAINF_FRAGMENTS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="METAINF_RESOURCES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>METAINF_RESOURCES</h4> |
| <pre>public static final java.lang.String METAINF_RESOURCES</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.METAINF_RESOURCES">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="CONTAINER_JAR_PATTERN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CONTAINER_JAR_PATTERN</h4> |
| <pre>public static final java.lang.String CONTAINER_JAR_PATTERN</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.CONTAINER_JAR_PATTERN">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="WEBINF_JAR_PATTERN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>WEBINF_JAR_PATTERN</h4> |
| <pre>public static final java.lang.String WEBINF_JAR_PATTERN</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.WEBINF_JAR_PATTERN">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="__allScanTypes"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>__allScanTypes</h4> |
| <pre>public static final java.util.List<java.lang.String> __allScanTypes</pre> |
| </li> |
| </ul> |
| <a id="RESOURCE_DIRS"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RESOURCE_DIRS</h4> |
| <pre>public static final java.lang.String RESOURCE_DIRS</pre> |
| <div class="block">If set, to a list of URLs, these resources are added to the context |
| resource base as a resource collection.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.webapp.MetaInfConfiguration.RESOURCE_DIRS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>MetaInfConfiguration</h4> |
| <pre>public MetaInfConfiguration()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="preConfigure(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>preConfigure</h4> |
| <pre class="methodSignature">public void preConfigure​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="Configuration.html#preConfigure(org.eclipse.jetty.webapp.WebAppContext)">Configuration</a></code></span></div> |
| <div class="block">Set up for configuration. |
| <p> |
| Typically this step discovers configuration resources. |
| Calls to preConfigure may alter the Configurations configured on the |
| WebAppContext, so long as configurations prior to this configuration |
| are not altered.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="Configuration.html#preConfigure(org.eclipse.jetty.webapp.WebAppContext)">preConfigure</a></code> in interface <code><a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="AbstractConfiguration.html#preConfigure(org.eclipse.jetty.webapp.WebAppContext)">preConfigure</a></code> in class <code><a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - The context to configure</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to pre configure</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findAndFilterContainerPaths(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findAndFilterContainerPaths</h4> |
| <pre class="methodSignature">public void findAndFilterContainerPaths​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Find jars and directories that are on the container's classpath |
| and apply an optional filter. The filter is a pattern applied to the |
| full jar or directory names. If there is no pattern, then no jar |
| or dir is considered to match. |
| |
| Those jars that do match will be later examined for META-INF |
| information and annotations. |
| |
| To find them, examine the classloaders in the hierarchy above the |
| webapp classloader that are URLClassLoaders. For jdk-9 we also |
| look at the java.class.path, and the jdk.module.path.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the WebAppContext being deployed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findAndFilterWebAppPaths(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findAndFilterWebAppPaths</h4> |
| <pre class="methodSignature">public void findAndFilterWebAppPaths​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Finds the jars that are either physically or virtually in |
| WEB-INF/lib, and applies an optional filter to their full |
| pathnames. |
| |
| The filter selects which jars will later be examined for META-INF |
| information and annotations. If there is no pattern, then |
| all jars are considered selected.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the WebAppContext being deployed</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAllContainerJars(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllContainerJars</h4> |
| <pre class="methodSignature">protected java.util.List<java.net.URI> getAllContainerJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.net.URISyntaxException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.net.URISyntaxException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="configure(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>configure</h4> |
| <pre class="methodSignature">public void configure​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="Configuration.html#configure(org.eclipse.jetty.webapp.WebAppContext)">Configuration</a></code></span></div> |
| <div class="block">Configure WebApp. |
| <p> |
| Typically this step applies the discovered configuration resources to |
| either the <a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp"><code>WebAppContext</code></a> or the associated <a href="MetaData.html" title="class in org.eclipse.jetty.webapp"><code>MetaData</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="Configuration.html#configure(org.eclipse.jetty.webapp.WebAppContext)">configure</a></code> in interface <code><a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="AbstractConfiguration.html#configure(org.eclipse.jetty.webapp.WebAppContext)">configure</a></code> in class <code><a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - The context to configure</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to configure</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="scanJars(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanJars</h4> |
| <pre class="methodSignature">protected void scanJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="scanJars(org.eclipse.jetty.webapp.WebAppContext,java.util.Collection,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanJars</h4> |
| <pre class="methodSignature">public void scanJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.util.Collection<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> jars, |
| boolean useCaches) |
| throws java.lang.Exception</pre> |
| <div class="block">For backwards compatibility. This method will always scan for all types of data.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context for the scan</dd> |
| <dd><code>jars</code> - the jars to scan</dd> |
| <dd><code>useCaches</code> - if true, the scanned info is cached</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to scan the jars</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="scanJars(org.eclipse.jetty.webapp.WebAppContext,java.util.Collection,boolean,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanJars</h4> |
| <pre class="methodSignature">public void scanJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.util.Collection<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> jars, |
| boolean useCaches, |
| java.util.List<java.lang.String> scanTypes) |
| throws java.lang.Exception</pre> |
| <div class="block">Look into the jars to discover info in META-INF. If useCaches == true, then we will |
| cache the info discovered indexed by the jar in which it was discovered: this speeds |
| up subsequent context deployments.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context for the scan</dd> |
| <dd><code>jars</code> - the jars resources to scan</dd> |
| <dd><code>useCaches</code> - if true, cache the info discovered</dd> |
| <dd><code>scanTypes</code> - the type of things to look for in the jars</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to scan the jars</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="scanForResources(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource,java.util.concurrent.ConcurrentHashMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanForResources</h4> |
| <pre class="methodSignature">public void scanForResources​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> target, |
| java.util.concurrent.ConcurrentHashMap<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,​<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> cache) |
| throws java.lang.Exception</pre> |
| <div class="block">Scan for META-INF/resources dir in the given jar.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context for the scan</dd> |
| <dd><code>target</code> - the target resource to scan for</dd> |
| <dd><code>cache</code> - the resource cache</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to scan for resources</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="scanForFragment(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource,java.util.concurrent.ConcurrentHashMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanForFragment</h4> |
| <pre class="methodSignature">public void scanForFragment​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> jar, |
| java.util.concurrent.ConcurrentHashMap<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,​<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> cache) |
| throws java.lang.Exception</pre> |
| <div class="block">Scan for META-INF/web-fragment.xml file in the given jar.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context for the scan</dd> |
| <dd><code>jar</code> - the jar resource to scan for fragements in</dd> |
| <dd><code>cache</code> - the resource cache</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to scan for fragments</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="scanForTlds(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource,java.util.concurrent.ConcurrentHashMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanForTlds</h4> |
| <pre class="methodSignature">public void scanForTlds​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> jar, |
| java.util.concurrent.ConcurrentHashMap<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,​java.util.Collection<java.net.URL>> cache) |
| throws java.lang.Exception</pre> |
| <div class="block">Discover META-INF/*.tld files in the given jar</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context for the scan</dd> |
| <dd><code>jar</code> - the jar resources to scan tlds for</dd> |
| <dd><code>cache</code> - the resource cache</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to scan for tlds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="postConfigure(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postConfigure</h4> |
| <pre class="methodSignature">public void postConfigure​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="Configuration.html#postConfigure(org.eclipse.jetty.webapp.WebAppContext)">Configuration</a></code></span></div> |
| <div class="block">Clear down after configuration.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="Configuration.html#postConfigure(org.eclipse.jetty.webapp.WebAppContext)">postConfigure</a></code> in interface <code><a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="AbstractConfiguration.html#postConfigure(org.eclipse.jetty.webapp.WebAppContext)">postConfigure</a></code> in class <code><a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - The context to configure</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to post configure</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getTlds(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTlds</h4> |
| <pre class="methodSignature">public java.util.Collection<java.net.URL> getTlds​(java.io.File dir) |
| throws java.io.IOException</pre> |
| <div class="block">Find all .tld files in all subdirs of the given dir.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>dir</code> - the directory to scan</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of tlds found</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to scan the directory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getTlds(java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTlds</h4> |
| <pre class="methodSignature">public java.util.Collection<java.net.URL> getTlds​(java.net.URI uri) |
| throws java.io.IOException</pre> |
| <div class="block">Find all .tld files in the given jar.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the uri to jar file</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the collection of tlds as url references</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to scan the jar file</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findClassDirs(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findClassDirs</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> findClassDirs​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findJars(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findJars</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> findJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Look for jars that should be treated as if they are in WEB-INF/lib</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context to find the jars in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of jar resources found within context</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to find the jars</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findWebInfLibJars(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findWebInfLibJars</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> findWebInfLibJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Look for jars in <code>WEB-INF/lib</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context to find the lib jars in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of jars as <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource"><code>Resource</code></a></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to scan for lib jars</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findExtraClasspathJars(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findExtraClasspathJars</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> findExtraClasspathJars​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Get jars from WebAppContext.getExtraClasspath as resources</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context to find extra classpath jars in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of Resources with the extra classpath, or null if not found</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to resolve the extra classpath jars</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findWebInfClassesDir(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findWebInfClassesDir</h4> |
| <pre class="methodSignature">protected <a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> findWebInfClassesDir​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Get <code>WEB-INF/classes</code> dir</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context to look for the <code>WEB-INF/classes</code> directory</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the Resource for the <code>WEB-INF/classes</code> directory</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to find the <code>WEB-INF/classes</code> directory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findExtraClasspathDirs(org.eclipse.jetty.webapp.WebAppContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>findExtraClasspathDirs</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>> findExtraClasspathDirs​(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context) |
| throws java.lang.Exception</pre> |
| <div class="block">Get class dirs from WebAppContext.getExtraClasspath as resources</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context to look for extra classpaths in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of Resources to the extra classpath</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to resolve the extra classpath resources</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/MetaInfConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |