org.springframework.beans.factory.support

Class BeanDefinitionOverrideException

    • Constructor Detail

      • BeanDefinitionOverrideException

        public BeanDefinitionOverrideException(java.lang.String beanName,
                                               BeanDefinition beanDefinition,
                                               BeanDefinition existingDefinition)
        Create a new BeanDefinitionOverrideException for the given new and existing definition.
        Parameters:
        beanName - the name of the bean
        beanDefinition - the newly registered bean definition
        existingDefinition - the existing bean definition for the same name