blob: 930de8249fefd848190c1491f83c5ef518eaac60 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Tue Mar 30 10:43:01 CDT 2021 -->
<title>MetaInfConfiguration (Jetty :: Project 9.4.39.v20210325 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-03-30">
<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 (Jetty :: Project 9.4.39.v20210325 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":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 = false;
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&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<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>
<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>
<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&nbsp;org.eclipse.jetty.webapp.<a href="Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3>
<code><a href="Configuration.ClassList.html" title="class in org.eclipse.jetty.webapp">Configuration.ClassList</a>, <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">&nbsp;</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&lt;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#__allScanTypes">__allScanTypes</a></span></code></th>
<td class="colLast">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>
<tr class="altColor">
<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">&nbsp;</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_FRAGMENTS">METAINF_FRAGMENTS</a></span></code></th>
<td class="colLast">&nbsp;</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_RESOURCES">METAINF_RESOURCES</a></span></code></th>
<td class="colLast">&nbsp;</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_TLDS">METAINF_TLDS</a></span></code></th>
<td class="colLast">&nbsp;</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">&nbsp;</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&nbsp;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">&nbsp;</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">&nbsp;</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>java.util.Collection&lt;java.net.URL&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTlds(java.io.File)">getTlds</a></span>&#8203;(java.io.File&nbsp;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="i1" class="rowColor">
<td class="colFirst"><code>java.util.Collection&lt;java.net.URL&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTlds(java.net.URI)">getTlds</a></span>&#8203;(java.net.URI&nbsp;uri)</code></th>
<td class="colLast">
<div class="block">Find all .tld files in the given jar.</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="#postConfigure(org.eclipse.jetty.webapp.WebAppContext)">postConfigure</a></span>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context)</code></th>
<td class="colLast">
<div class="block">Clear down after configuration.</div>
</td>
</tr>
<tr id="i3" 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>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context)</code></th>
<td class="colLast">
<div class="block">Set up for configuration.</div>
</td>
</tr>
<tr id="i4" 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>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;jar,
java.util.concurrent.ConcurrentHashMap&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,&#8203;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;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="i5" 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>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;target,
java.util.concurrent.ConcurrentHashMap&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,&#8203;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;cache)</code></th>
<td class="colLast">
<div class="block">Scan for META-INF/resources dir in the given jar.</div>
</td>
</tr>
<tr id="i6" 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>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;jar,
java.util.concurrent.ConcurrentHashMap&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,&#8203;java.util.Collection&lt;java.net.URL&gt;&gt;&nbsp;cache)</code></th>
<td class="colLast">
<div class="block">Discover META-INF/*.tld files in the given jar</div>
</td>
</tr>
<tr id="i7" 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)">scanJars</a></span>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
java.util.Collection&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;jars,
boolean&nbsp;useCaches)</code></th>
<td class="colLast">
<div class="block">For backwards compatibility.</div>
</td>
</tr>
<tr id="i8" 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,java.util.List)">scanJars</a></span>&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
java.util.Collection&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;jars,
boolean&nbsp;useCaches,
java.util.List&lt;java.lang.String&gt;&nbsp;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&nbsp;org.eclipse.jetty.webapp.<a href="AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></h3>
<code><a href="AbstractConfiguration.html#cloneConfigure(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.WebAppContext)">cloneConfigure</a>, <a href="AbstractConfiguration.html#configure(org.eclipse.jetty.webapp.WebAppContext)">configure</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></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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="__allScanTypes">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>__allScanTypes</h4>
<pre>public static final&nbsp;java.util.List&lt;java.lang.String&gt; __allScanTypes</pre>
</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="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MetaInfConfiguration</h4>
<pre>public&nbsp;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&nbsp;void&nbsp;preConfigure&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context)
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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</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>&nbsp;in interface&nbsp;<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>&nbsp;in class&nbsp;<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="scanJars(org.eclipse.jetty.webapp.WebAppContext,java.util.Collection,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanJars</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;scanJars&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
java.util.Collection&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;jars,
boolean&nbsp;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&nbsp;void&nbsp;scanJars&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
java.util.Collection&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;jars,
boolean&nbsp;useCaches,
java.util.List&lt;java.lang.String&gt;&nbsp;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&nbsp;void&nbsp;scanForResources&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;target,
java.util.concurrent.ConcurrentHashMap&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,&#8203;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;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&nbsp;void&nbsp;scanForFragment&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;jar,
java.util.concurrent.ConcurrentHashMap&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,&#8203;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&gt;&nbsp;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&nbsp;void&nbsp;scanForTlds&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;jar,
java.util.concurrent.ConcurrentHashMap&lt;<a href="../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>,&#8203;java.util.Collection&lt;java.net.URL&gt;&gt;&nbsp;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&nbsp;void&nbsp;postConfigure&#8203;(<a href="WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context)
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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>&nbsp;in class&nbsp;<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&nbsp;java.util.Collection&lt;java.net.URL&gt;&nbsp;getTlds&#8203;(java.io.File&nbsp;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="blockListLast">
<li class="blockList">
<h4>getTlds</h4>
<pre class="methodSignature">public&nbsp;java.util.Collection&lt;java.net.URL&gt;&nbsp;getTlds&#8203;(java.net.URI&nbsp;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>
</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&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>