org.springframework.beans.factory.parsing

Class BeanComponentDefinition

    • Constructor Detail

      • BeanComponentDefinition

        public BeanComponentDefinition(BeanDefinition beanDefinition,
                                       java.lang.String beanName)
        Create a new BeanComponentDefinition for the given bean.
        Parameters:
        beanDefinition - the BeanDefinition
        beanName - the name of the bean
      • BeanComponentDefinition

        public BeanComponentDefinition(BeanDefinition beanDefinition,
                                       java.lang.String beanName,
                                       @Nullable
                                       java.lang.String[] aliases)
        Create a new BeanComponentDefinition for the given bean.
        Parameters:
        beanDefinition - the BeanDefinition
        beanName - the name of the bean
        aliases - alias names for the bean, or null if none
      • BeanComponentDefinition

        public BeanComponentDefinition(BeanDefinitionHolder beanDefinitionHolder)
        Create a new BeanComponentDefinition for the given bean.
        Parameters:
        beanDefinitionHolder - the BeanDefinitionHolder encapsulating the bean definition as well as the name of the bean