Skip to content

Commit

Permalink
deploy: 5d4671e
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Dec 31, 2024
1 parent 4a1ca62 commit d6eacf2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Quarkus</title>
<link>https://quarkus.io</link>
<description>Quarkus: Supersonic Subatomic Java</description>
<lastBuildDate>Mon, 30 Dec 2024 03:09:22 +0000</lastBuildDate>
<lastBuildDate>Tue, 31 Dec 2024 03:06:33 +0000</lastBuildDate>


<item>
Expand Down
15 changes: 15 additions & 0 deletions version/main/guides/resteasy.html
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,21 @@ <h3 id="lifecycle-of-resources"><a class="anchor" href="#lifecycle-of-resources"
<div class="paragraph">
<p>An explicit CDI scope annotation (<code>@RequestScoped</code>, <code>@ApplicationScoped</code>, etc.) always overrides the default behavior and specifies the lifecycle of resource instances.</p>
</div>
<div class="admonitionblock warning">
<table>
<tr>
<td class="icon">
<i class="fa icon-warning" title="Warning"></i>
</td>
<td class="content">
<div class="paragraph">
<p><code>@Context</code> elements are not injected via CDI and, as such, may not be injected via constructor injection.
Inject <code>@Context</code> elements in fields of your resources instead.</p>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit d6eacf2

Please sign in to comment.