O'Reilly logo
  • Charles Grossman thinks this is interesting:

When a variable, method or constructor is annotated with @Autowired, framework will find the relevant dependency and inject that dependency automatically. In the preceding case, the ReservationManager is looking for a ReservationService instance. Behind the scenes, the framework will wire the bean by finding it byType (check the autowiring section for more details).

From

Cover of Just Spring

Note

Core Concept