Skip to content

Commit

Permalink
Use beans builder function instead of BeanDefinitionDsl constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Nov 22, 2019
1 parent 34e4b4b commit 00845b7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ open class ConfigurationDsl(private val dsl: ConfigurationDsl.() -> Unit): Abstr
* @sample org.springframework.fu.kofu.samples.beansDsl
*/
fun beans(dsl: BeanDefinitionDsl.() -> Unit) {
BeanDefinitionDsl(dsl).initialize(context)
org.springframework.context.support.beans(dsl).initialize(context)
}

/**
Expand Down

0 comments on commit 00845b7

Please sign in to comment.