<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dependency Injection on Yonatan Karp-Rudin</title><link>https://yonatankarp.com/tags/dependency-injection/</link><description>Recent content in Dependency Injection on Yonatan Karp-Rudin</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 11 Feb 2022 00:00:00 +0100</lastBuildDate><atom:link href="https://yonatankarp.com/tags/dependency-injection/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Inject Multiple Implementations in the Spring Framework</title><link>https://yonatankarp.com/blog/inject-multiple-implementations-spring/</link><pubDate>Fri, 11 Feb 2022 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/inject-multiple-implementations-spring/</guid><description>&lt;div class="editors-note"&gt;&#10;&lt;p&gt;&lt;strong&gt;Editor&amp;rsquo;s Note:&lt;/strong&gt; This post was updated to add a section on controlling the order in which Spring injects beans into a &lt;code&gt;List&lt;/code&gt;, using the &lt;code&gt;@Order&lt;/code&gt; annotation and the &lt;code&gt;Ordered&lt;/code&gt; interface.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Recently, I had a discussion with one of my colleagues during a code review. We talked about a hidden gem in Spring (as well as other frameworks like Micronaut) that could simplify our code.&lt;/p&gt;</description></item></channel></rss>