Skip to content

Commit fbb428f

Browse files
committed
Polishing
Issue: SPR-16014
1 parent efce790 commit fbb428f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/docs/asciidoc/kotlin.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ fun beans() = beans {
220220
}
221221
----
222222

223-
In this example, `ref<Routes>()` is a shortcut for `applicationContext.getBean(Routes::class.java)`.
223+
In this example, `bean<Routes>()` is using autowiring by constructor and `ref<Routes>()`
224+
is a shortcut for `applicationContext.getBean(Routes::class.java)`.
224225

225226
This `beans()` function can then be used to register beans on the application context.
226227

0 commit comments

Comments
 (0)