@Autowire default mode
If annotated with @Autowired
it will inject the bean with the matching type (An exception will be thrown if there are more than one of a type). To specify a name use the @Qualifier
annotation.
Springs @Autowire
wires by type. For wiring by name you can also use
@Resource(name = "id")