Polishing

Issue: SPR-16014
This commit is contained in:
Sebastien Deleuze 2017-09-27 01:34:47 +02:00
parent efce7902c4
commit fbb428f032
1 changed files with 2 additions and 1 deletions

View File

@ -220,7 +220,8 @@ fun beans() = beans {
}
----
In this example, `ref<Routes>()` is a shortcut for `applicationContext.getBean(Routes::class.java)`.
In this example, `bean<Routes>()` is using autowiring by constructor and `ref<Routes>()`
is a shortcut for `applicationContext.getBean(Routes::class.java)`.
This `beans()` function can then be used to register beans on the application context.