profile

fun profile(profile: String, init: BeanDefinitionDsl.() -> Unit)

Take in account bean definitions enclosed in the provided lambda when the profile is accepted.

See also