From 1440026fb49200f632cfeb6c1dd38968adf3c1ad Mon Sep 17 00:00:00 2001 From: Jussi Hallila Date: Fri, 8 Sep 2017 09:15:42 +0100 Subject: [PATCH] Change bean registration to use initialize This commit changes the reference documentation to conform with the updated API defined in https://github.com/spring-projects/spring-framework/commit/8b8a6766de01467c8b45b1b9664f0ab2d58f7c69 --- src/docs/asciidoc/kotlin.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/kotlin.adoc b/src/docs/asciidoc/kotlin.adoc index cfd04ce57a..f9035e41f7 100644 --- a/src/docs/asciidoc/kotlin.adoc +++ b/src/docs/asciidoc/kotlin.adoc @@ -227,7 +227,7 @@ This `beans()` function can then be used to register beans on the application co [source,kotlin] ---- val context = GenericApplicationContext().apply { - beans().invoke(this) + beans().initialize(this) refresh() } ----