spring-framework / org.springframework.beans.factory.parsing / BeanComponentDefinition / <init>

<init>

BeanComponentDefinition(beanDefinition: BeanDefinition, beanName: String)

Create a new BeanComponentDefinition for the given bean.

Parameters

beanDefinition - the BeanDefinition

beanName - the name of the bean

BeanComponentDefinition(beanDefinition: BeanDefinition, beanName: String, @Nullable aliases: Array<String>)

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(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