| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.10) on Mon Feb 22 09:51:41 CST 2021 --> |
| <title>AnnotationConfiguration (Jetty :: Project 9.4.37.v20210219 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-02-22"> |
| <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 (Jetty :: Project 9.4.37.v20210219 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"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"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/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 Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.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"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AnnotationConfiguration.BundleParserTask.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationConfiguration.BundleParserTask</a></span></code></th> |
| <td class="colLast"> </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 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.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 org.eclipse.jetty.webapp.<a href="../../webapp/Configuration.html" title="interface in org.eclipse.jetty.webapp">Configuration</a></h3> |
| <code><a href="../../webapp/Configuration.ClassList.html" title="class in org.eclipse.jetty.webapp">Configuration.ClassList</a>, <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 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#_loadedInitializers">_loadedInitializers</a>, <a href="../../annotations/AnnotationConfiguration.html#_parserTasks">_parserTasks</a>, <a href="../../annotations/AnnotationConfiguration.html#_sciExcludePattern">_sciExcludePattern</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 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"> </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"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>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>​(int 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>​(javax.servlet.ServletContainerInitializer service)</code></th> |
| <td class="colLast"> </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>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle webbundle, |
| org.osgi.framework.Bundle bundle)</code></th> |
| <td class="colLast"> </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>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle webbundle, |
| org.osgi.framework.Bundle 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>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle webbundle, |
| org.osgi.framework.Bundle 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>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle 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>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a> 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>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a> 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> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.annotations.AnnotationConfiguration"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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#getFragmentFromJar(org.eclipse.jetty.util.resource.Resource,java.util.List)">getFragmentFromJar</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#isMetaDataComplete(org.eclipse.jetty.webapp.WebDescriptor)">isMetaDataComplete</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 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#deconfigure(org.eclipse.jetty.webapp.WebAppContext)">deconfigure</a>, <a href="../../webapp/AbstractConfiguration.html#destroy(org.eclipse.jetty.webapp.WebAppContext)">destroy</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AnnotationConfiguration</h4> |
| <pre>public 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="createAnnotationParser(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAnnotationParser</h4> |
| <pre class="methodSignature">protected <a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a> createAnnotationParser​(int 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> in class <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 <a href="../../util/resource/Resource.html" title="class in org.eclipse.jetty.util.resource">Resource</a> getJarFor​(javax.servlet.ServletContainerInitializer service) |
| throws 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> in class <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.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 void parseWebInfLib​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a> 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> in class <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 void parseFragmentBundle​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle webbundle, |
| org.osgi.framework.Bundle 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 void parseWebBundle​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle 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 void parseWebInfClasses​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../annotations/AnnotationParser.html" title="class in org.eclipse.jetty.annotations">AnnotationParser</a> parser) |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../annotations/AnnotationConfiguration.html#parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.annotations.AnnotationParser)"><code>AnnotationConfiguration.parseWebInfClasses(org.eclipse.jetty.webapp.WebAppContext, org.eclipse.jetty.annotations.AnnotationParser)</code></a></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 void parseRequiredBundle​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle webbundle, |
| org.osgi.framework.Bundle 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 void parseBundle​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="AnnotationParser.html" title="class in org.eclipse.jetty.osgi.annotations">AnnotationParser</a> parser, |
| org.osgi.framework.Bundle webbundle, |
| org.osgi.framework.Bundle 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 Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |