Browse Source

Polishing

Issue: SPR-15659
pull/1510/head
Sebastien Deleuze 7 years ago
parent
commit
44e8cdcd89
  1. 7
      src/docs/asciidoc/kotlin.adoc

7
src/docs/asciidoc/kotlin.adoc

@ -256,9 +256,10 @@ This `beans()` function can then be used to register beans on your application c @@ -256,9 +256,10 @@ This `beans()` function can then be used to register beans on your application c
[source,kotlin]
----
val context = GenericApplicationContext()
beans().invoke(context)
context.refresh()
val context = GenericApplicationContext().apply {
beans().invoke(this)
refresh()
}
----
[NOTE]

Loading…
Cancel
Save