spring-framework / org.springframework.beans.factory.groovy / GroovyBeanDefinitionReader / <init>

<init>

GroovyBeanDefinitionReader(registry: BeanDefinitionRegistry)

Create a new GroovyBeanDefinitionReader for the given BeanDefinitionRegistry.

Parameters

registry - the BeanDefinitionRegistry to load bean definitions into

GroovyBeanDefinitionReader(xmlBeanDefinitionReader: XmlBeanDefinitionReader)

Create a new GroovyBeanDefinitionReader based on the given XmlBeanDefinitionReader, loading bean definitions into its BeanDefinitionRegistry and delegating Groovy DSL loading to it.

The supplied XmlBeanDefinitionReader should typically be pre-configured with XML validation disabled.

Parameters

xmlBeanDefinitionReader - the XmlBeanDefinitionReader to derive the registry from and to delegate Groovy DSL loading to