open static fun genericBeanDefinition(): BeanDefinitionBuilder
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition.
open static fun genericBeanDefinition(beanClassName: String): BeanDefinitionBuilder
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition.
beanClassName - the class name for the bean that the definition is being created for
open static fun genericBeanDefinition(beanClass: Class<*>): BeanDefinitionBuilder
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition.
beanClass - the Class of the bean that the definition is being created for
open static fun <T : Any> genericBeanDefinition(@Nullable beanClass: Class<T>, instanceSupplier: Supplier<T>): BeanDefinitionBuilder
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition.
beanClass - the Class of the bean that the definition is being created for
instanceSupplier - a callback for creating an instance of the bean
Since
5.0