blob: 63e20f2d47002178dfc657484a48f98e2f3b3518 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Thu Jun 07 14:26:35 EDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AnnotationConfiguration (Jetty :: Project 9.3.24.v20180605 API)</title>
<meta name="date" content="2018-06-07">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AnnotationConfiguration (Jetty :: Project 9.3.24.v20180605 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":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";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.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">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html" target="_top">Frames</a></li>
<li><a href="AnnotationConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.jetty.osgi.annotations</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="../../../../../org/eclipse/jetty/webapp/AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">org.eclipse.jetty.webapp.AbstractConfiguration</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/eclipse/jetty/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><a href="../../../../../org/eclipse/jetty/webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">AnnotationConfiguration</span>
extends <a href="../../../../../org/eclipse/jetty/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 ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationConfiguration.BundleParserTask</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="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="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></h3>
<code><a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.ClassInheritanceMap.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ClassInheritanceMap</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.ContainerClassNameResolver.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ContainerClassNameResolver</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.ParserTask.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ParserTask</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.ServletContainerInitializerComparator.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ServletContainerInitializerComparator</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.ServletContainerInitializerOrdering.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.ServletContainerInitializerOrdering</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.TimeStatistic.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.TimeStatistic</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.WebAppClassNameResolver.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration.WebAppClassNameResolver</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="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="../../../../../org/eclipse/jetty/webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3>
<code><a href="../../../../../org/eclipse/jetty/webapp/Configuration.ClassList.html" title="class in org.eclipse.jetty.webapp">Configuration.ClassList</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.annotations.<a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></h3>
<code><a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_classInheritanceHandler">_classInheritanceHandler</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_containerClassNameResolver">_containerClassNameResolver</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_containerInitializerAnnotationHandlers">_containerInitializerAnnotationHandlers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_containerPathStats">_containerPathStats</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_discoverableAnnotationHandlers">_discoverableAnnotationHandlers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_loadedInitializers">_loadedInitializers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_parserTasks">_parserTasks</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_sciExcludePattern">_sciExcludePattern</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_webAppClassNameResolver">_webAppClassNameResolver</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_webInfClassesStats">_webInfClassesStats</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#Z:Z_webInfLibStats">_webInfLibStats</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#CLASS_INHERITANCE_MAP">CLASS_INHERITANCE_MAP</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#CONTAINER_INITIALIZER_STARTER">CONTAINER_INITIALIZER_STARTER</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#CONTAINER_INITIALIZERS">CONTAINER_INITIALIZERS</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#DEFAULT_MAX_SCAN_WAIT">DEFAULT_MAX_SCAN_WAIT</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#DEFAULT_MULTI_THREADED">DEFAULT_MULTI_THREADED</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#MAX_SCAN_WAIT">MAX_SCAN_WAIT</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#MULTI_THREADED">MULTI_THREADED</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#SERVLET_CONTAINER_INITIALIZER_EXCLUSION_PATTERN">SERVLET_CONTAINER_INITIALIZER_EXCLUSION_PATTERN</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#SERVLET_CONTAINER_INITIALIZER_ORDER">SERVLET_CONTAINER_INITIALIZER_ORDER</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.webapp.Configuration">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.jetty.webapp.<a href="../../../../../org/eclipse/jetty/webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3>
<code><a href="../../../../../org/eclipse/jetty/webapp/Configuration.html#ATTR">ATTR</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#AnnotationConfiguration--">AnnotationConfiguration</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/jetty/annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#createAnnotationParser-int-">createAnnotationParser</a></span>(int&nbsp;javaTargetVersion)</code>
<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>protected <a href="../../../../../org/eclipse/jetty/annotations/ClassNameResolver.html" title="interface in org.eclipse.jetty.annotations">ClassNameResolver</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#createClassNameResolver-org.eclipse.jetty.webapp.WebAppContext-">createClassNameResolver</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context)</code>
<div class="block">Returns the same classname resolver than for the webInfjar scanner</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/jetty/annotations/ClassNameResolver.html" title="interface in org.eclipse.jetty.annotations">ClassNameResolver</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#createClassNameResolver-org.eclipse.jetty.webapp.WebAppContext-boolean-boolean-boolean-boolean-">createClassNameResolver</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
boolean&nbsp;excludeSysClass,
boolean&nbsp;excludeServerClass,
boolean&nbsp;excludeEverythingElse,
boolean&nbsp;overrideIsParenLoaderIsPriority)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseBundle-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.osgi.annotations.AnnotationParser-org.osgi.framework.Bundle-org.osgi.framework.Bundle-">parseBundle</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseFragmentBundle-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.osgi.annotations.AnnotationParser-org.osgi.framework.Bundle-org.osgi.framework.Bundle-">parseFragmentBundle</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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>
<div class="block">Scan a fragment bundle for servlet annotations</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseRequiredBundle-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.osgi.annotations.AnnotationParser-org.osgi.framework.Bundle-org.osgi.framework.Bundle-">parseRequiredBundle</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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>
<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>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseWebBundle-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.osgi.annotations.AnnotationParser-org.osgi.framework.Bundle-">parseWebBundle</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a>&nbsp;parser,
org.osgi.framework.Bundle&nbsp;webbundle)</code>
<div class="block">Scan a bundle required by the webbundle for servlet annotations</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseWebInfLib-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.annotations.AnnotationParser-">parseWebInfLib</a></span>(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;parser)</code>
<div class="block">Here is the order in which jars and osgi artifacts are scanned for discoverable annotations.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.annotations.<a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html" title="class in org.eclipse.jetty.annotations">AnnotationConfiguration</a></h3>
<code><a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#addDiscoverableAnnotationHandler-org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler-">addDiscoverableAnnotationHandler</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#cloneConfigure-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.webapp.WebAppContext-">cloneConfigure</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#configure-org.eclipse.jetty.webapp.WebAppContext-">configure</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#createServletContainerInitializerAnnotationHandlers-org.eclipse.jetty.webapp.WebAppContext-java.util.List-">createServletContainerInitializerAnnotationHandlers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#deconfigure-org.eclipse.jetty.webapp.WebAppContext-">deconfigure</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#getFragmentFromJar-org.eclipse.jetty.util.resource.Resource-java.util.List-">getFragmentFromJar</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#getInitializerOrdering-org.eclipse.jetty.webapp.WebAppContext-">getInitializerOrdering</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#getJarFor-javax.servlet.ServletContainerInitializer-">getJarFor</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#getMaxScanWait-org.eclipse.jetty.webapp.WebAppContext-">getMaxScanWait</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#getNonExcludedInitializers-org.eclipse.jetty.webapp.WebAppContext-">getNonExcludedInitializers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#isFromContainerClassPath-org.eclipse.jetty.webapp.WebAppContext-javax.servlet.ServletContainerInitializer-">isFromContainerClassPath</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#isFromExcludedJar-org.eclipse.jetty.webapp.WebAppContext-javax.servlet.ServletContainerInitializer-org.eclipse.jetty.util.resource.Resource-">isFromExcludedJar</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#isMetaDataComplete-org.eclipse.jetty.webapp.WebDescriptor-">isMetaDataComplete</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#isUseMultiThreading-org.eclipse.jetty.webapp.WebAppContext-">isUseMultiThreading</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#matchesExclusionPattern-javax.servlet.ServletContainerInitializer-">matchesExclusionPattern</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#parseContainerPath-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.annotations.AnnotationParser-">parseContainerPath</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#parseWebInfClasses-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.annotations.AnnotationParser-">parseWebInfClasses</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#postConfigure-org.eclipse.jetty.webapp.WebAppContext-">postConfigure</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#preConfigure-org.eclipse.jetty.webapp.WebAppContext-">preConfigure</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#scanForAnnotations-org.eclipse.jetty.webapp.WebAppContext-">scanForAnnotations</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.webapp.AbstractConfiguration">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.webapp.<a href="../../../../../org/eclipse/jetty/webapp/AbstractConfiguration.html" title="class in org.eclipse.jetty.webapp">AbstractConfiguration</a></h3>
<code><a href="../../../../../org/eclipse/jetty/webapp/AbstractConfiguration.html#destroy-org.eclipse.jetty.webapp.WebAppContext-">destroy</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="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>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AnnotationConfiguration--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AnnotationConfiguration</h4>
<pre>public&nbsp;AnnotationConfiguration()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createAnnotationParser-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAnnotationParser</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/jetty/annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a>&nbsp;createAnnotationParser(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="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#createAnnotationParser-int-">createAnnotationParser</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/jetty/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 name="parseWebInfLib-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.annotations.AnnotationParser-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseWebInfLib</h4>
<pre>public&nbsp;void&nbsp;parseWebInfLib(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/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="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#parseWebInfLib-org.eclipse.jetty.webapp.WebAppContext-org.eclipse.jetty.annotations.AnnotationParser-">parseWebInfLib</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/jetty/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 name="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>protected&nbsp;void&nbsp;parseFragmentBundle(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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 name="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>protected&nbsp;void&nbsp;parseWebBundle(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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 name="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>protected&nbsp;void&nbsp;parseRequiredBundle(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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 name="parseBundle-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>parseBundle</h4>
<pre>protected&nbsp;void&nbsp;parseBundle(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
<a href="../../../../../org/eclipse/jetty/osgi/annotations/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>
<a name="createClassNameResolver-org.eclipse.jetty.webapp.WebAppContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createClassNameResolver</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/jetty/annotations/ClassNameResolver.html" title="interface in org.eclipse.jetty.annotations">ClassNameResolver</a>&nbsp;createClassNameResolver(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context)</pre>
<div class="block">Returns the same classname resolver than for the webInfjar scanner</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the web app context</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the class name resolver</dd>
</dl>
</li>
</ul>
<a name="createClassNameResolver-org.eclipse.jetty.webapp.WebAppContext-boolean-boolean-boolean-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createClassNameResolver</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/jetty/annotations/ClassNameResolver.html" title="interface in org.eclipse.jetty.annotations">ClassNameResolver</a>&nbsp;createClassNameResolver(<a href="../../../../../org/eclipse/jetty/webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a>&nbsp;context,
boolean&nbsp;excludeSysClass,
boolean&nbsp;excludeServerClass,
boolean&nbsp;excludeEverythingElse,
boolean&nbsp;overrideIsParenLoaderIsPriority)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.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">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html" target="_top">Frames</a></li>
<li><a href="AnnotationConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration">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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2018 <a href="http://webtide.com">Webtide</a>. All rights reserved.</small></p>
</body>
</html>