We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efce790 commit fbb428fCopy full SHA for fbb428f
src/docs/asciidoc/kotlin.adoc
@@ -220,7 +220,8 @@ fun beans() = beans {
220
}
221
----
222
223
-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>()`
224
+is a shortcut for `applicationContext.getBean(Routes::class.java)`.
225
226
This `beans()` function can then be used to register beans on the application context.
227
0 commit comments