spring-framework / org.springframework.context.support / GenericGroovyApplicationContext / setEnvironment

setEnvironment

open fun setEnvironment(environment: ConfigurableEnvironment): Unit

Delegates the given environment to underlying GroovyBeanDefinitionReader. Should be called before any call to #load.