• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 11:44:38 PDT 2020 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ResolvableDeserializer (jackson-databind 2.11.0.rc1 API)</title>
8<meta name="date" content="2020-03-24">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="ResolvableDeserializer (jackson-databind 2.11.0.rc1 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":6};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/ResolvableDeserializer.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/deser/NullValueProvider.html" title="interface in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/deser/SettableAnyProperty.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" target="_top">Frames</a></li>
58<li><a href="ResolvableDeserializer.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li>Constr&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li>Constr&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.deser</div>
97<h2 title="Interface ResolvableDeserializer" class="title">Interface ResolvableDeserializer</h2>
98</div>
99<div class="contentContainer">
100<div class="description">
101<ul class="blockList">
102<li class="blockList">
103<dl>
104<dt>All Known Implementing Classes:</dt>
105<dd><a href="../../../../../com/fasterxml/jackson/databind/deser/impl/BeanAsArrayBuilderDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.impl">BeanAsArrayBuilderDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/impl/BeanAsArrayDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.impl">BeanAsArrayDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializer.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerBase.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerBase</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/BuilderBasedDeserializer.html" title="class in com.fasterxml.jackson.databind.deser">BuilderBasedDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/DelegatingDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">DelegatingDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/EnumMapDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">EnumMapDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/MapDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">MapDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdDelegatingDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">StdDelegatingDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdNodeBasedDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">StdNodeBasedDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/ThrowableDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">ThrowableDeserializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/UntypedObjectDeserializer.html" title="class in com.fasterxml.jackson.databind.deser.std">UntypedObjectDeserializer</a></dd>
106</dl>
107<hr>
108<br>
109<pre>public interface <span class="typeNameLabel">ResolvableDeserializer</span></pre>
110<div class="block">Interface used to indicate deserializers that want to do post-processing
111 after construction but before being returned to caller (and possibly cached)
112 and used.
113 This is typically used to resolve references
114 to other contained types; for example, bean deserializers use this callback
115 to locate deserializers for contained field types.
116 Main reason for using a callback (instead of trying to resolve dependencies
117 immediately) is to make it possible to cleanly handle self-references;
118 otherwise it would be easy to get into infinite recursion.
119<p>
120 Note that <a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html#resolve-com.fasterxml.jackson.databind.DeserializationContext-"><code>resolve(com.fasterxml.jackson.databind.DeserializationContext)</code></a> method does NOT allow returning anything
121 (specifically, a new deserializer instance): reason for this is that
122 allowing this would not work with proper handling of cyclic dependencies,
123 which are resolved by two-phase processing, where initially constructed
124 deserializer is added as known deserializer, and only after this
125 resolution is done. Resolution is the part that results in lookups for
126 dependant deserializers, which may include handling references to
127 deserializer itself.
128<p>
129 Note that in cases where deserializer needs both contextualization and
130 resolution -- that is, implements both this interface and <a href="../../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a>
131 -- resolution via this interface occurs first, and contextual
132 resolution (using <a href="../../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a>) later on.</div>
133</li>
134</ul>
135</div>
136<div class="summary">
137<ul class="blockList">
138<li class="blockList">
139<!-- ========== METHOD SUMMARY =========== -->
140<ul class="blockList">
141<li class="blockList"><a name="method.summary">
142<!--   -->
143</a>
144<h3>Method Summary</h3>
145<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
146<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
147<tr>
148<th class="colFirst" scope="col">Modifier and Type</th>
149<th class="colLast" scope="col">Method and Description</th>
150</tr>
151<tr id="i0" class="altColor">
152<td class="colFirst"><code>void</code></td>
153<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html#resolve-com.fasterxml.jackson.databind.DeserializationContext-">resolve</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a>&nbsp;ctxt)</code>
154<div class="block">Method called after deserializer instance has been constructed
155 (and registered as necessary by provider objects),
156 but before it has returned it to the caller.</div>
157</td>
158</tr>
159</table>
160</li>
161</ul>
162</li>
163</ul>
164</div>
165<div class="details">
166<ul class="blockList">
167<li class="blockList">
168<!-- ============ METHOD DETAIL ========== -->
169<ul class="blockList">
170<li class="blockList"><a name="method.detail">
171<!--   -->
172</a>
173<h3>Method Detail</h3>
174<a name="resolve-com.fasterxml.jackson.databind.DeserializationContext-">
175<!--   -->
176</a>
177<ul class="blockListLast">
178<li class="blockList">
179<h4>resolve</h4>
180<pre>void&nbsp;resolve(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a>&nbsp;ctxt)
181      throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
182<div class="block">Method called after deserializer instance has been constructed
183 (and registered as necessary by provider objects),
184 but before it has returned it to the caller.
185 Called object can then resolve its dependencies to other types,
186 including self-references (direct or indirect).</div>
187<dl>
188<dt><span class="paramLabel">Parameters:</span></dt>
189<dd><code>ctxt</code> - Context to use for accessing configuration, resolving
190    secondary deserializers</dd>
191<dt><span class="throwsLabel">Throws:</span></dt>
192<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
193</dl>
194</li>
195</ul>
196</li>
197</ul>
198</li>
199</ul>
200</div>
201</div>
202<!-- ========= END OF CLASS DATA ========= -->
203<!-- ======= START OF BOTTOM NAVBAR ====== -->
204<div class="bottomNav"><a name="navbar.bottom">
205<!--   -->
206</a>
207<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
208<a name="navbar.bottom.firstrow">
209<!--   -->
210</a>
211<ul class="navList" title="Navigation">
212<li><a href="../../../../../overview-summary.html">Overview</a></li>
213<li><a href="package-summary.html">Package</a></li>
214<li class="navBarCell1Rev">Class</li>
215<li><a href="class-use/ResolvableDeserializer.html">Use</a></li>
216<li><a href="package-tree.html">Tree</a></li>
217<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
218<li><a href="../../../../../index-all.html">Index</a></li>
219<li><a href="../../../../../help-doc.html">Help</a></li>
220</ul>
221</div>
222<div class="subNav">
223<ul class="navList">
224<li><a href="../../../../../com/fasterxml/jackson/databind/deser/NullValueProvider.html" title="interface in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
225<li><a href="../../../../../com/fasterxml/jackson/databind/deser/SettableAnyProperty.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
226</ul>
227<ul class="navList">
228<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" target="_top">Frames</a></li>
229<li><a href="ResolvableDeserializer.html" target="_top">No&nbsp;Frames</a></li>
230</ul>
231<ul class="navList" id="allclasses_navbar_bottom">
232<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
233</ul>
234<div>
235<script type="text/javascript"><!--
236  allClassesLink = document.getElementById("allclasses_navbar_bottom");
237  if(window==top) {
238    allClassesLink.style.display = "block";
239  }
240  else {
241    allClassesLink.style.display = "none";
242  }
243  //-->
244</script>
245</div>
246<div>
247<ul class="subNavList">
248<li>Summary:&nbsp;</li>
249<li>Nested&nbsp;|&nbsp;</li>
250<li>Field&nbsp;|&nbsp;</li>
251<li>Constr&nbsp;|&nbsp;</li>
252<li><a href="#method.summary">Method</a></li>
253</ul>
254<ul class="subNavList">
255<li>Detail:&nbsp;</li>
256<li>Field&nbsp;|&nbsp;</li>
257<li>Constr&nbsp;|&nbsp;</li>
258<li><a href="#method.detail">Method</a></li>
259</ul>
260</div>
261<a name="skip.navbar.bottom">
262<!--   -->
263</a></div>
264<!-- ======== END OF BOTTOM NAVBAR ======= -->
265<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
266</body>
267</html>
268