environment
fun environment(condition: ConfigurableEnvironment.() -> Boolean, init: BeanDefinitionDsl.() -> Unit)
Content copied to clipboard
Take in account bean definitions enclosed in the provided lambda only when the specified environment-based predicate is true.
Parameters
condition
the predicate to fulfill in order to take in account the inner bean definition block