Constructor injection
Spring passing a bean what it needs as constructor arguments. It is the recommended way, and a single constructor needs no annotation.
Spring passing a bean what it needs as constructor arguments. It is the recommended way, and a single constructor needs no annotation.