Spring Series — Setter Injection

Samier Mahagna
Apr 30, 2021

Previous part of the series — Dependency Injection:

Setter injection is a pattern that describes injecting dependencies by calling setter methods on a class.

We can revisit this definition but before we do, let’s create a new coach implementation and see what it looks like.

--

--

Samier Mahagna

Software Developer - Dedicated to the idea that all of life's problems can be solved with collaborative and creative thought