@Autowired

From NovaOrdis Knowledge Base
Revision as of 21:53, 14 November 2018 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Dependency

dependencies {
    implementation('org.springframework:spring-beans')
}

Overview

@Autowired can be used to inject DataSources, ...

Autowiring a Bean by Name

TODO

@Autowired
@Qualifier("myBean")