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

setEnvironment

open fun setEnvironment(environment: ConfigurableEnvironment): Unit

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