blob: f81e96561032a136fdfdb52b1b67c11ba9d29c51 [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 (version 1.7.0_80) on Wed Jun 07 15:10:55 EDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AnnotationConfiguration (Jetty :: Project 9.2.22.v20170606 API)</title>
<meta name="date" content="2017-06-07">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AnnotationConfiguration (Jetty :: Project 9.2.22.v20170606 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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 class="aboutLanguage"><em><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1149868-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations"><span class="strong">Next 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 Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All 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><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></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="strong">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="overviewSummary" 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><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationConfiguration.BundleParserTask</a></strong></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#_classInheritanceHandler">_classInheritanceHandler</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_containerClassNameResolver">_containerClassNameResolver</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_containerInitializerAnnotationHandlers">_containerInitializerAnnotationHandlers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_containerPathStats">_containerPathStats</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_discoverableAnnotationHandlers">_discoverableAnnotationHandlers</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_parserTasks">_parserTasks</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_sciExcludePattern">_sciExcludePattern</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_webAppClassNameResolver">_webAppClassNameResolver</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_webInfClassesStats">_webInfClassesStats</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#_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="overviewSummary" 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><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#AnnotationConfiguration()">AnnotationConfiguration</a></strong>()</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr 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><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#createAnnotationParser()">createAnnotationParser</a></strong>()</code>
<div class="block">This parser scans the bundles using the OSGi APIs instead of assuming a jar.</div>
</td>
</tr>
<tr 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><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#createClassNameResolver(org.eclipse.jetty.webapp.WebAppContext)">createClassNameResolver</a></strong>(<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 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><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#createClassNameResolver(org.eclipse.jetty.webapp.WebAppContext,%20boolean,%20boolean,%20boolean,%20boolean)">createClassNameResolver</a></strong>(<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 class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseBundle(org.eclipse.jetty.webapp.WebAppContext,%20org.eclipse.jetty.osgi.annotations.AnnotationParser,%20org.osgi.framework.Bundle,%20org.osgi.framework.Bundle)">parseBundle</a></strong>(<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 class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseFragmentBundle(org.eclipse.jetty.webapp.WebAppContext,%20org.eclipse.jetty.osgi.annotations.AnnotationParser,%20org.osgi.framework.Bundle,%20org.osgi.framework.Bundle)">parseFragmentBundle</a></strong>(<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 class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseRequiredBundle(org.eclipse.jetty.webapp.WebAppContext,%20org.eclipse.jetty.osgi.annotations.AnnotationParser,%20org.osgi.framework.Bundle,%20org.osgi.framework.Bundle)">parseRequiredBundle</a></strong>(<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 class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseWebBundle(org.eclipse.jetty.webapp.WebAppContext,%20org.eclipse.jetty.osgi.annotations.AnnotationParser,%20org.osgi.framework.Bundle)">parseWebBundle</a></strong>(<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 class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.html#parseWebInfLib(org.eclipse.jetty.webapp.WebAppContext,%20org.eclipse.jetty.annotations.AnnotationParser)">parseWebInfLib</a></strong>(<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,%20org.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,%20java.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,%20java.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,%20javax.servlet.ServletContainerInitializer)">isFromContainerClassPath</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#isFromExcludedJar(org.eclipse.jetty.webapp.WebAppContext,%20javax.servlet.ServletContainerInitializer,%20org.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,%20org.eclipse.jetty.annotations.AnnotationParser)">parseContainerPath</a>, <a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,%20org.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.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></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()">
<!-- -->
</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()</pre>
<div class="block">This parser scans the bundles using the OSGi APIs instead of assuming a jar.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#createAnnotationParser()">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="strong">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 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></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><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../org/eclipse/jetty/annotations/AnnotationConfiguration.html#parseWebInfLib(org.eclipse.jetty.webapp.WebAppContext,%20org.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="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></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 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Scan a fragment bundle for servlet annotations</div>
<dl><dt><span class="strong">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="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></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 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Scan a bundle required by the webbundle for servlet annotations</div>
<dl><dt><span class="strong">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 required bundle to scan</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></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 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Scan a bundle required by the webbundle for servlet annotations</div>
<dl><dt><span class="strong">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 required bundle to scan</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></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 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></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="strong">Parameters:</span></dt><dd><code>context</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd></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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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 class="aboutLanguage"><em><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1149868-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations"><span class="strong">Next 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 Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</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-2017 <a href="http://webtide.com">Webtide</a>. All Rights Reserved.</small></p>
</body>
</html>