Uses of Class
org.springframework.beans.factory.generator.config.BeanDefinitionRegistrar
Packages that use BeanDefinitionRegistrar
Package
Description
Classes used in generated code to ease bean registration.
-
Uses of BeanDefinitionRegistrar in org.springframework.beans.factory.generator.config
Methods in org.springframework.beans.factory.generator.config that return BeanDefinitionRegistrarModifier and TypeMethodDescriptionBeanDefinitionRegistrar.customize(BeanDefinitionRegistrar.ThrowableConsumer<RootBeanDefinition> bd) Customize theRootBeanDefinitionusing the specified consumer.static BeanDefinitionRegistrarInitialize the registration of an inner bean with the specified type.static BeanDefinitionRegistrarBeanDefinitionRegistrar.inner(ResolvableType beanType) Initialize the registration of an inner bean with the specified type.BeanDefinitionRegistrar.instanceSupplier(BeanDefinitionRegistrar.ThrowableFunction<BeanDefinitionRegistrar.BeanInstanceContext, ?> instanceContext) Specify how the bean instance should be created and initialized, using theBeanDefinitionRegistrar.BeanInstanceContextto resolve dependencies if necessary.BeanDefinitionRegistrar.instanceSupplier(BeanDefinitionRegistrar.ThrowableSupplier<?> instanceSupplier) Specify how the bean instance should be created and initialized.static BeanDefinitionRegistrarInitialize the registration of a bean with the specified name and type.static BeanDefinitionRegistrarBeanDefinitionRegistrar.of(String beanName, ResolvableType beanType) Initialize the registration of a bean with the specified name and type.BeanDefinitionRegistrar.withConstructor(Class<?>... parameterTypes) Specify the constructor to use to instantiate the bean.BeanDefinitionRegistrar.withFactoryMethod(Class<?> declaredType, String name, Class<?>... parameterTypes) Specify the factory method to use to instantiate the bean.