From fbb428f0322b759b5d17bc966db8d631466581cf Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Wed, 27 Sep 2017 01:34:47 +0200 Subject: [PATCH] Polishing Issue: SPR-16014 --- src/docs/asciidoc/kotlin.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docs/asciidoc/kotlin.adoc b/src/docs/asciidoc/kotlin.adoc index 19f6d823c8..b56e376c20 100644 --- a/src/docs/asciidoc/kotlin.adoc +++ b/src/docs/asciidoc/kotlin.adoc @@ -220,7 +220,8 @@ fun beans() = beans { } ---- -In this example, `ref()` is a shortcut for `applicationContext.getBean(Routes::class.java)`. +In this example, `bean()` is using autowiring by constructor and `ref()` +is a shortcut for `applicationContext.getBean(Routes::class.java)`. This `beans()` function can then be used to register beans on the application context.