blob: 75a8956707738b3540498f90e5b825eaf31a8544 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.14.1) on Mon Apr 04 09:09:38 CDT 2022 -->
<title>AnnotationConfiguration (Eclipse Jetty API Doc - v10.0.9)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-04-04">
<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="AnnotationConfiguration (Eclipse Jetty API Doc - v10.0.9)";
}
}
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 = 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/AnnotationConfiguration.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>Field&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.osgi.annotations</a></div>
<h2 title="Class AnnotationConfiguration" class="title">Class AnnotationConfiguration</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../webapp/AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">org.eclipse.jetty.webapp.AbstractConfiguration</a></li>
<li>
<ul class="inheritance">
<li><a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">org.eclipse.jetty.annotations.AnnotationConfiguration</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.osgi.annotations.AnnotationConfiguration</li>
</ul>
</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="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">AnnotationConfiguration</span>
extends <a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></pre>
<div class="block">Extend the AnnotationConfiguration to support OSGi:
Look for annotations inside WEB-INF/lib and also in the fragments and required bundles.
Discover them using a scanner adapted to OSGi instead of the jarscanner.</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">&nbsp;</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&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationConfiguration.BundleParserTask</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.annotations.<a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></h3>
<code><a href="../../annotations/AnnotationConfiguration.ClassInheritanceMap.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ClassInheritanceMap</a>, <a href="../../annotations/AnnotationConfiguration.DiscoveredServletContainerInitializerHolder.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.DiscoveredServletContainerInitializerHolder</a>, <a href="../../annotations/AnnotationConfiguration.ParserTask.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ParserTask</a>, <a href="../../annotations/AnnotationConfiguration.ServletContainerInitializerComparator.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ServletContainerInitializerComparator</a>, <a href="../../annotations/AnnotationConfiguration.ServletContainerInitializerOrdering.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ServletContainerInitializerOrdering</a>, <a href="../../annotations/AnnotationConfiguration.TimeStatistic.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.TimeStatistic</a></code></li>
</ul>
<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="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3>
<code><a href="../../webapp/Configuration.Wrapper.html" title="class in org.eclipse.jetty.webapp">Configuration.Wrapper</a>, <a href="../../webapp/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>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.annotations.<a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></h3>
<code><a href="../../annotations/AnnotationConfiguration.html#_classInheritanceHandler">_classInheritanceHandler</a>, <a href="../../annotations/AnnotationConfiguration.html#_containerInitializerAnnotationHandlers">_containerInitializerAnnotationHandlers</a>, <a href="../../annotations/AnnotationConfiguration.html#_containerPathStats">_containerPathStats</a>, <a href="../../annotations/AnnotationConfiguration.html#_discoverableAnnotationHandlers">_discoverableAnnotationHandlers</a>, <a href="../../annotations/AnnotationConfiguration.html#_parserTasks">_parserTasks</a>, <a href="../../annotations/AnnotationConfiguration.html#_sciExcludePattern">_sciExcludePattern</a>, <a href="../../annotations/AnnotationConfiguration.html#_sciHolders">_sciHolders</a>, <a href="../../annotations/AnnotationConfiguration.html#_webInfClassesStats">_webInfClassesStats</a>, <a href="../../annotations/AnnotationConfiguration.html#_webInfLibStats">_webInfLibStats</a>, <a href="../../annotations/AnnotationConfiguration.html#CLASS_INHERITANCE_MAP">CLASS_INHERITANCE_MAP</a>, <a href="../../annotations/AnnotationConfiguration.html#CONTAINER_INITIALIZER_STARTER">CONTAINER_INITIALIZER_STARTER</a>, <a href="../../annotations/AnnotationConfiguration.html#CONTAINER_INITIALIZERS">CONTAINER_INITIALIZERS</a>, <a href="../../annotations/AnnotationConfiguration.html#DEFAULT_MAX_SCAN_WAIT">DEFAULT_MAX_SCAN_WAIT</a>, <a href="../../annotations/AnnotationConfiguration.html#DEFAULT_MULTI_THREADED">DEFAULT_MULTI_THREADED</a>, <a href="../../annotations/AnnotationConfiguration.html#MAX_SCAN_WAIT">MAX_SCAN_WAIT</a>, <a href="../../annotations/AnnotationConfiguration.html#MULTI_THREADED">MULTI_THREADED</a>, <a href="../../annotations/AnnotationConfiguration.html#SERVLET_CONTAINER_INITIALIZER_EXCLUSION_PATTERN">SERVLET_CONTAINER_INITIALIZER_EXCLUSION_PATTERN</a>, <a href="../../annotations/AnnotationConfiguration.html#SERVLET_CONTAINER_INITIALIZER_ORDER">SERVLET_CONTAINER_INITIALIZER_ORDER</a></code></li>
</ul>
<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="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3>
<code><a href="../../webapp/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()">AnnotationConfiguration</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>protected <a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createAnnotationParser(int)">createAnnotationParser</a></span>&#8203;(int&nbsp;javaTargetVersion)</code></th>
<td class="colLast">
<div class="block">This parser scans the bundles using the OSGi APIs instead of assuming a jar.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><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="#getJarFor(javax.servlet.ServletContainerInitializer)">getJarFor</a></span>&#8203;(javax.servlet.ServletContainerInitializer&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle,org.osgi.framework.Bundle)">parseBundle</a></span>&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle,
org.osgi.framework.Bundle&nbsp;bundle)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseFragmentBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle,org.osgi.framework.Bundle)">parseFragmentBundle</a></span>&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle,
org.osgi.framework.Bundle&nbsp;fragmentBundle)</code></th>
<td class="colLast">
<div class="block">Scan a fragment bundle for servlet annotations</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseRequiredBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle,org.osgi.framework.Bundle)">parseRequiredBundle</a></span>&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle,
org.osgi.framework.Bundle&nbsp;requiredBundle)</code></th>
<td class="colLast">
<div class="block">Scan a bundle required by the webbundle for servlet annotations</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseWebBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle)">parseWebBundle</a></span>&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle)</code></th>
<td class="colLast">
<div class="block">Scan a bundle required by the webbundle for servlet annotations</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="#parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">parseWebInfClasses</a></span>&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;parser)</code></th>
<td class="colLast">
<div class="block">Scan classes in WEB-INF/classes.</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="#parseWebInfLib(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">parseWebInfLib</a></span>&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;parser)</code></th>
<td class="colLast">
<div class="block">Here is the order in which jars and osgi artifacts are scanned for discoverable annotations.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.Class&lt;? extends <a href="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replaces()">replaces</a></span>()</code></th>
<td class="colLast">
<div class="block">Get a class that this class replaces/extends.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.annotations.<a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></h3>
<code><a href="../../annotations/AnnotationConfiguration.html#addDiscoverableAnnotationHandler(org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler)">addDiscoverableAnnotationHandler</a>, <a href="../../annotations/AnnotationConfiguration.html#cloneConfigure(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.WebAppContext)">cloneConfigure</a>, <a href="../../annotations/AnnotationConfiguration.html#configure(org.eclipse.jetty.webapp.WebAppContext)">configure</a>, <a href="../../annotations/AnnotationConfiguration.html#createServletContainerInitializerAnnotationHandlers(org.eclipse.jetty.webapp.WebAppContext,java.util.List)">createServletContainerInitializerAnnotationHandlers</a>, <a href="../../annotations/AnnotationConfiguration.html#getInitializerOrdering(org.eclipse.jetty.webapp.WebAppContext)">getInitializerOrdering</a>, <a href="../../annotations/AnnotationConfiguration.html#getMaxScanWait(org.eclipse.jetty.webapp.WebAppContext)">getMaxScanWait</a>, <a href="../../annotations/AnnotationConfiguration.html#getNonExcludedInitializers(org.eclipse.jetty.webapp.WebAppContext)">getNonExcludedInitializers</a>, <a href="../../annotations/AnnotationConfiguration.html#isFromContainerClassPath(org.eclipse.jetty.webapp.WebAppContext,javax.servlet.ServletContainerInitializer)">isFromContainerClassPath</a>, <a href="../../annotations/AnnotationConfiguration.html#isFromExcludedJar(org.eclipse.jetty.webapp.WebAppContext,javax.servlet.ServletContainerInitializer,org.eclipse.jetty.util.resource.Resource)">isFromExcludedJar</a>, <a href="../../annotations/AnnotationConfiguration.html#isFromWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.util.resource.Resource)">isFromWebInfClasses</a>, <a href="../../annotations/AnnotationConfiguration.html#isUseMultiThreading(org.eclipse.jetty.webapp.WebAppContext)">isUseMultiThreading</a>, <a href="../../annotations/AnnotationConfiguration.html#matchesExclusionPattern(javax.servlet.ServletContainerInitializer)">matchesExclusionPattern</a>, <a href="../../annotations/AnnotationConfiguration.html#parseContainerPath(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">parseContainerPath</a>, <a href="../../annotations/AnnotationConfiguration.html#postConfigure(org.eclipse.jetty.webapp.WebAppContext)">postConfigure</a>, <a href="../../annotations/AnnotationConfiguration.html#preConfigure(org.eclipse.jetty.webapp.WebAppContext)">preConfigure</a>, <a href="../../annotations/AnnotationConfiguration.html#scanForAnnotations(org.eclipse.jetty.webapp.WebAppContext)">scanForAnnotations</a></code></li>
</ul>
<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="../../webapp/AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></h3>
<code><a href="../../webapp/AbstractConfiguration.html#abort(org.eclipse.jetty.webapp.WebAppContext)">abort</a>, <a href="../../webapp/AbstractConfiguration.html#addDependencies(java.lang.Class...)">addDependencies</a>, <a href="../../webapp/AbstractConfiguration.html#addDependencies(java.lang.String...)">addDependencies</a>, <a href="../../webapp/AbstractConfiguration.html#addDependents(java.lang.Class...)">addDependents</a>, <a href="../../webapp/AbstractConfiguration.html#addDependents(java.lang.String...)">addDependents</a>, <a href="../../webapp/AbstractConfiguration.html#deconfigure(org.eclipse.jetty.webapp.WebAppContext)">deconfigure</a>, <a href="../../webapp/AbstractConfiguration.html#destroy(org.eclipse.jetty.webapp.WebAppContext)">destroy</a>, <a href="../../webapp/AbstractConfiguration.html#expose(java.lang.String...)">expose</a>, <a href="../../webapp/AbstractConfiguration.html#getDependencies()">getDependencies</a>, <a href="../../webapp/AbstractConfiguration.html#getDependents()">getDependents</a>, <a href="../../webapp/AbstractConfiguration.html#getServerClasses()">getServerClasses</a>, <a href="../../webapp/AbstractConfiguration.html#getSystemClasses()">getSystemClasses</a>, <a href="../../webapp/AbstractConfiguration.html#hide(java.lang.String...)">hide</a>, <a href="../../webapp/AbstractConfiguration.html#isEnabledByDefault()">isEnabledByDefault</a>, <a href="../../webapp/AbstractConfiguration.html#protect(java.lang.String...)">protect</a>, <a href="../../webapp/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&nbsp;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&nbsp;org.eclipse.jetty.webapp.<a href="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3>
<code><a href="../../webapp/Configuration.html#isAvailable()">isAvailable</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= 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>AnnotationConfiguration</h4>
<pre>public&nbsp;AnnotationConfiguration()</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="replaces()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaces</h4>
<pre class="methodSignature">public&nbsp;java.lang.Class&lt;? extends <a href="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a>&gt;&nbsp;replaces()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../webapp/Configuration.html#replaces()">Configuration</a></code></span></div>
<div class="block">Get a class that this class replaces/extends.
If this is added to <a href="../../webapp/Configurations.html" title="class in org.eclipse.jetty.webapp"><code>Configurations</code></a> collection that already contains a
configuration of the replaced class or that reports to replace the same class, then
it is replaced with this instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The class this Configuration replaces/extends or null if it replaces no other configuration</dd>
</dl>
</li>
</ul>
<a id="createAnnotationParser(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAnnotationParser</h4>
<pre class="methodSignature">protected&nbsp;<a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;createAnnotationParser&#8203;(int&nbsp;javaTargetVersion)</pre>
<div class="block">This parser scans the bundles using the OSGi APIs instead of assuming a jar.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../annotations/AnnotationConfiguration.html#createAnnotationParser(int)">createAnnotationParser</a></code>&nbsp;in class&nbsp;<code><a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>javaTargetVersion</code> - The java platform to scan for.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new AnnotationParser. This method can be overridden to use a different implementation of
the AnnotationParser. Note that this is considered internal API.</dd>
</dl>
</li>
</ul>
<a id="getJarFor(javax.servlet.ServletContainerInitializer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJarFor</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a>&nbsp;getJarFor&#8203;(javax.servlet.ServletContainerInitializer&nbsp;service)
throws java.net.MalformedURLException,
java.io.IOException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../annotations/AnnotationConfiguration.html#getJarFor(javax.servlet.ServletContainerInitializer)">getJarFor</a></code>&nbsp;in class&nbsp;<code><a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.net.MalformedURLException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a id="parseWebInfLib(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseWebInfLib</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;parseWebInfLib&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;parser)
throws java.lang.Exception</pre>
<div class="block">Here is the order in which jars and osgi artifacts are scanned for discoverable annotations.
<ol>
<li>The container jars are scanned.</li>
<li>The WEB-INF/classes are scanned</li>
<li>The osgi fragment to the web bundle are parsed.</li>
<li>The WEB-INF/lib are scanned</li>
<li>The required bundles are parsed</li>
</ol></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../annotations/AnnotationConfiguration.html#parseWebInfLib(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">parseWebInfLib</a></code>&nbsp;in class&nbsp;<code><a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the context for the scan</dd>
<dd><code>parser</code> - the annotation parser to use</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if unable to scan and/or parse</dd>
</dl>
</li>
</ul>
<a id="parseFragmentBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle,org.osgi.framework.Bundle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFragmentBundle</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;parseFragmentBundle&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle,
org.osgi.framework.Bundle&nbsp;fragmentBundle)
throws java.lang.Exception</pre>
<div class="block">Scan a fragment bundle for servlet annotations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The webapp context</dd>
<dd><code>parser</code> - The parser</dd>
<dd><code>webbundle</code> - The current webbundle</dd>
<dd><code>fragmentBundle</code> - The OSGi fragment bundle to scan</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if unable to parse fragment bundle</dd>
</dl>
</li>
</ul>
<a id="parseWebBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseWebBundle</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;parseWebBundle&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle)
throws java.lang.Exception</pre>
<div class="block">Scan a bundle required by the webbundle for servlet annotations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The webapp context</dd>
<dd><code>parser</code> - The parser</dd>
<dd><code>webbundle</code> - The current webbundle</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if unable to parse the web bundle</dd>
</dl>
</li>
</ul>
<a id="parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseWebInfClasses</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;parseWebInfClasses&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;parser)
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../annotations/AnnotationConfiguration.html#parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">AnnotationConfiguration</a></code></span></div>
<div class="block">Scan classes in WEB-INF/classes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../annotations/AnnotationConfiguration.html#parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)">parseWebInfClasses</a></code>&nbsp;in class&nbsp;<code><a href="../../annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the context for the scan</dd>
<dd><code>parser</code> - the annotation parser to use</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if unable to scan and/or parse</dd>
</dl>
</li>
</ul>
<a id="parseRequiredBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle,org.osgi.framework.Bundle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseRequiredBundle</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;parseRequiredBundle&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle,
org.osgi.framework.Bundle&nbsp;requiredBundle)
throws java.lang.Exception</pre>
<div class="block">Scan a bundle required by the webbundle for servlet annotations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The webapp context</dd>
<dd><code>parser</code> - The parser</dd>
<dd><code>webbundle</code> - The current webbundle</dd>
<dd><code>requiredBundle</code> - The OSGi required bundle to scan</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if unable to parse the required bundle</dd>
</dl>
</li>
</ul>
<a id="parseBundle(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.osgi.annotations.AnnotationParser,org.osgi.framework.Bundle,org.osgi.framework.Bundle)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>parseBundle</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;parseBundle&#8203;(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle,
org.osgi.framework.Bundle&nbsp;bundle)
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></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/AnnotationConfiguration.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>Field&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;2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>