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

getReader

fun getReader(): GroovyBeanDefinitionReader

Exposes the underlying GroovyBeanDefinitionReader for convenient access to the loadBeanDefinition methods on it as well as the ability to specify an inline Groovy bean definition closure.

See Also
GroovyBeanDefinitionReader#loadBeanDefinitions(org.springframework.core.io.Resource...)GroovyBeanDefinitionReader#loadBeanDefinitions(String...)