AnnotatedBeanDefinitionReader(registry: BeanDefinitionRegistry)
Create a new AnnotatedBeanDefinitionReader for the given registry. If the registry is EnvironmentCapable, e.g. is an ApplicationContext, the Environment will be inherited, otherwise a new StandardEnvironment will be created and used.
registry - the BeanFactory to load bean definitions into, in the form of a BeanDefinitionRegistry
See Also
#AnnotatedBeanDefinitionReader(BeanDefinitionRegistry, Environment)#setEnvironment(Environment)
AnnotatedBeanDefinitionReader(registry: BeanDefinitionRegistry, environment: Environment)
Create a new AnnotatedBeanDefinitionReader for the given registry and using the given Environment.
registry - the BeanFactory to load bean definitions into, in the form of a BeanDefinitionRegistry
environment - the Environment to use when evaluating bean definition profiles.
Since
3.1