| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.8) on Thu Oct 22 13:32:16 CDT 2020 --> |
| <title>PlusDescriptorProcessor (Jetty :: Javadoc Build 10.0.0.beta3 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-10-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.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.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="PlusDescriptorProcessor (Jetty :: Javadoc Build 10.0.0.beta3 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/PlusDescriptorProcessor.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>Nested | </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.plus.webapp</a></div> |
| <h2 title="Class PlusDescriptorProcessor" class="title">Class PlusDescriptorProcessor</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../webapp/IterativeDescriptorProcessor.html" title="class in org.eclipse.jetty.webapp">org.eclipse.jetty.webapp.IterativeDescriptorProcessor</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor</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/DescriptorProcessor.html" title="interface in org.eclipse.jetty.webapp">DescriptorProcessor</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">PlusDescriptorProcessor</span> |
| extends <a href="../../webapp/IterativeDescriptorProcessor.html" title="class in org.eclipse.jetty.webapp">IterativeDescriptorProcessor</a></pre> |
| <div class="block">PlusDescriptorProcessor</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== 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.webapp.IterativeDescriptorProcessor"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.webapp.<a href="../../webapp/IterativeDescriptorProcessor.html" title="class in org.eclipse.jetty.webapp">IterativeDescriptorProcessor</a></h3> |
| <code><a href="../../webapp/IterativeDescriptorProcessor.html#__signature">__signature</a>, <a href="../../webapp/IterativeDescriptorProcessor.html#_visitors">_visitors</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()">PlusDescriptorProcessor</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>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addInjections(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node,java.lang.String,java.lang.Class)">addInjections</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node, |
| java.lang.String jndiName, |
| java.lang.Class<?> valueClass)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterate over the <code><injection-target></code> entries for a node</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bindEntry(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)">bindEntry</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass)</code></th> |
| <td class="colLast"> |
| <div class="block">Bind a resource with the given name from web.xml of the given type |
| with a jndi resource from either the server or the webapp's naming |
| environment.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bindEnvEntry(java.lang.String,java.lang.Object)">bindEnvEntry</a></span>​(java.lang.String name, |
| java.lang.Object value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bindMessageDestinationRef(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)">bindMessageDestinationRef</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bindResourceEnvRef(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)">bindResourceEnvRef</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bindResourceRef(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)">bindResourceRef</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass)</code></th> |
| <td class="colLast"> |
| <div class="block">Bind a resource reference.</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="#end(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)">end</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor)</code></th> |
| <td class="colLast"> </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="#makeEnvEntryInjectionsAndBindings(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node,java.lang.String,java.lang.String,java.lang.String)">makeEnvEntryInjectionsAndBindings</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node, |
| java.lang.String name, |
| java.lang.String type, |
| java.lang.String value)</code></th> |
| <td class="colLast"> |
| <div class="block">Make injections and any java:comp/env bindings necessary given an env-entry declaration.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)">start</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitEnvEntry(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visitEnvEntry</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">JavaEE 5.4.1.3</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitMessageDestinationRef(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visitMessageDestinationRef</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Common Annotations Spec section 2.3:</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitPostConstruct(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visitPostConstruct</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">If web.xml has at least 1 post-construct, then all post-constructs in fragments |
| are ignored.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitPreDestroy(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visitPreDestroy</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">pre-destroy is the name of a class and method to call just as |
| the instance is being destroyed</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitResourceEnvRef(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visitResourceEnvRef</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Common Annotations Spec section 2.3:</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitResourceRef(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visitResourceRef</a></span>​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Common Annotations Spec section 2.3:</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.webapp.IterativeDescriptorProcessor"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.webapp.<a href="../../webapp/IterativeDescriptorProcessor.html" title="class in org.eclipse.jetty.webapp">IterativeDescriptorProcessor</a></h3> |
| <code><a href="../../webapp/IterativeDescriptorProcessor.html#process(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)">process</a>, <a href="../../webapp/IterativeDescriptorProcessor.html#registerVisitor(java.lang.String,java.lang.reflect.Method)">registerVisitor</a>, <a href="../../webapp/IterativeDescriptorProcessor.html#visit(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)">visit</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>PlusDescriptorProcessor</h4> |
| <pre>public PlusDescriptorProcessor()</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="start(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>start</h4> |
| <pre class="methodSignature">public void start​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../webapp/IterativeDescriptorProcessor.html#start(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)">start</a></code> in class <code><a href="../../webapp/IterativeDescriptorProcessor.html" title="class in org.eclipse.jetty.webapp">IterativeDescriptorProcessor</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="end(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>end</h4> |
| <pre class="methodSignature">public void end​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../webapp/IterativeDescriptorProcessor.html#end(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor)">end</a></code> in class <code><a href="../../webapp/IterativeDescriptorProcessor.html" title="class in org.eclipse.jetty.webapp">IterativeDescriptorProcessor</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitEnvEntry(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitEnvEntry</h4> |
| <pre class="methodSignature">public void visitEnvEntry​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node) |
| throws java.lang.Exception</pre> |
| <div class="block">JavaEE 5.4.1.3</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to process jndi bindings</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitResourceRef(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitResourceRef</h4> |
| <pre class="methodSignature">public void visitResourceRef​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node) |
| throws java.lang.Exception</pre> |
| <div class="block">Common Annotations Spec section 2.3: |
| <p> |
| resource-ref is for: |
| <ul> |
| <li>javax.sql.DataSource</li> |
| <li>javax.jms.ConnectionFactory</li> |
| <li>javax.jms.QueueConnectionFactory</li> |
| <li>javax.jms.TopicConnectionFactory</li> |
| <li>javax.mail.Session</li> |
| <li>java.net.URL</li> |
| <li>javax.resource.cci.ConnectionFactory</li> |
| <li>org.omg.CORBA_2_3.ORB</li> |
| <li>any other connection factory defined by a resource adapter</li> |
| </ul> |
| |
| If web.xml contains a resource-ref with injection targets, all resource-ref entries |
| of the same name are ignored in web fragments. If web.xml does not contain any |
| injection-targets, then they are merged from all the fragments. |
| If web.xml does not contain a resource-ref element of same name, but 2 fragments |
| declare the same name it is an error. |
| resource-ref entries are ONLY for connection factories |
| the resource-ref says how the app will reference the jndi lookup relative |
| to java:comp/env, but it is up to the deployer to map this reference to |
| a real resource in the environment. At the moment, we insist that the |
| jetty.xml file name of the resource has to be exactly the same as the |
| name in web.xml deployment descriptor, but it shouldn't have to be |
| |
| <p> |
| Maintenance update 3.0a to spec: |
| <p> |
| Update Section 8.2.3.h.ii with the following - If a resource reference |
| element is specified in two fragments, while absent from the main web.xml, |
| and all the attributes and child elements of the resource reference element |
| are identical, the resource reference will be merged into the main web.xml. |
| It is considered an error if a resource reference element has the same name |
| specified in two fragments, while absent from the main web.xml and the attributes |
| and child elements are not identical in the two fragments. For example, if two |
| web fragments declare a <code><resource-ref></code> with the same <code><resource-ref-name></code> element |
| but the type in one is specified as javax.sql.DataSource while the type in the |
| other is that of a java mail resource, then an error must be reported and the |
| application MUST fail to deploy.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to bind nodes, or load classes</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitResourceEnvRef(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitResourceEnvRef</h4> |
| <pre class="methodSignature">public void visitResourceEnvRef​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node) |
| throws java.lang.Exception</pre> |
| <div class="block">Common Annotations Spec section 2.3: |
| <p> |
| resource-env-ref is for: |
| <ul> |
| <li>javax.transaction.UserTransaction</li> |
| <li>javax.resource.cci.InteractionSpec</li> |
| <li>anything else that is not a connection factory</li> |
| </ul></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to load classes, or bind jndi entries</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitMessageDestinationRef(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitMessageDestinationRef</h4> |
| <pre class="methodSignature">public void visitMessageDestinationRef​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node) |
| throws java.lang.Exception</pre> |
| <div class="block">Common Annotations Spec section 2.3: |
| <p> |
| message-destination-ref is for: |
| <ul> |
| <li>javax.jms.Queue</li> |
| <li>javax.jms.Topic</li> |
| </ul></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to load classes or bind jndi entries</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitPostConstruct(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitPostConstruct</h4> |
| <pre class="methodSignature">public void visitPostConstruct​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</pre> |
| <div class="block">If web.xml has at least 1 post-construct, then all post-constructs in fragments |
| are ignored. Otherwise, post-constructs from fragments are merged. |
| post-construct is the name of a class and method to call after all |
| resources have been setup but before the class is put into use</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitPreDestroy(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitPreDestroy</h4> |
| <pre class="methodSignature">public void visitPreDestroy​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node)</pre> |
| <div class="block">pre-destroy is the name of a class and method to call just as |
| the instance is being destroyed</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addInjections(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node,java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addInjections</h4> |
| <pre class="methodSignature">public void addInjections​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node, |
| java.lang.String jndiName, |
| java.lang.Class<?> valueClass)</pre> |
| <div class="block">Iterate over the <code><injection-target></code> entries for a node</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>descriptor</code> - the descriptor</dd> |
| <dd><code>node</code> - the xml node</dd> |
| <dd><code>jndiName</code> - the jndi name</dd> |
| <dd><code>valueClass</code> - the value class</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="bindEnvEntry(java.lang.String,java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bindEnvEntry</h4> |
| <pre class="methodSignature">public void bindEnvEntry​(java.lang.String name, |
| java.lang.Object value) |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the jndi name</dd> |
| <dd><code>value</code> - the value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to bind entry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="makeEnvEntryInjectionsAndBindings(org.eclipse.jetty.webapp.WebAppContext,org.eclipse.jetty.webapp.Descriptor,org.eclipse.jetty.xml.XmlParser.Node,java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>makeEnvEntryInjectionsAndBindings</h4> |
| <pre class="methodSignature">public void makeEnvEntryInjectionsAndBindings​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| <a href="../../webapp/Descriptor.html" title="class in org.eclipse.jetty.webapp">Descriptor</a> descriptor, |
| <a href="../../xml/XmlParser.Node.html" title="class in org.eclipse.jetty.xml">XmlParser.Node</a> node, |
| java.lang.String name, |
| java.lang.String type, |
| java.lang.String value) |
| throws java.lang.Exception</pre> |
| <div class="block">Make injections and any java:comp/env bindings necessary given an env-entry declaration. |
| The handling of env-entries is different to other resource declarations like resource-ref, resource-env-ref etc |
| because we allow the EnvEntry (@see org.eclipse.jetty.plus.jndi.EnvEntry) class that is configured externally to the webapp |
| to specify a value that can override a value present in a web.xml descriptor.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the WebAppContext of the env-entry</dd> |
| <dd><code>descriptor</code> - the web.xml, web-default.xml, web-override.xml or web-fragment.xml</dd> |
| <dd><code>node</code> - the parsed xml representation of the env-entry declaration</dd> |
| <dd><code>name</code> - the name field of the env-entry</dd> |
| <dd><code>type</code> - the type field of the env-entry</dd> |
| <dd><code>value</code> - the value field of the env-entry</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="bindResourceRef(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bindResourceRef</h4> |
| <pre class="methodSignature">public void bindResourceRef​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass) |
| throws java.lang.Exception</pre> |
| <div class="block">Bind a resource reference. |
| <p> |
| If a resource reference with the same name is in a jetty-env.xml |
| file, it will already have been bound.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>name</code> - the jndi name</dd> |
| <dd><code>typeClass</code> - the type class</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - if unable to bind resource</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="bindResourceEnvRef(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bindResourceEnvRef</h4> |
| <pre class="methodSignature">public void bindResourceEnvRef​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass) |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="bindMessageDestinationRef(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bindMessageDestinationRef</h4> |
| <pre class="methodSignature">public void bindMessageDestinationRef​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass) |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="bindEntry(org.eclipse.jetty.webapp.WebAppContext,java.lang.String,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>bindEntry</h4> |
| <pre class="methodSignature">protected void bindEntry​(<a href="../../webapp/WebAppContext.html" title="class in org.eclipse.jetty.webapp">WebAppContext</a> context, |
| java.lang.String name, |
| java.lang.Class<?> typeClass) |
| throws java.lang.Exception</pre> |
| <div class="block">Bind a resource with the given name from web.xml of the given type |
| with a jndi resource from either the server or the webapp's naming |
| environment. |
| <p> |
| As the servlet spec does not cover the mapping of names in web.xml with |
| names from the execution environment, jetty uses the concept of a Link, which is |
| a subclass of the NamingEntry class. A Link defines a mapping of a name |
| from web.xml with a name from the execution environment (ie either the server or the |
| webapp's naming environment).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the context</dd> |
| <dd><code>name</code> - name of the resource from web.xml</dd> |
| <dd><code>typeClass</code> - the type class</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - the exception</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/PlusDescriptorProcessor.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>Nested | </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–2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |