Java org.springframework.beans.factory.support BeanDefinitionBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans.factory.support BeanDefinitionBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans.factory.support BeanDefinitionBuilder.

The text is from its open source code.

Method

BeanDefinitionBuilderaddConstructorArgReference(String beanName)
Add a reference to a named bean as a constructor arg.
BeanDefinitionBuilderaddConstructorArgValue(@Nullable Object value)
Add an indexed constructor arg value.
BeanDefinitionBuilderaddDependsOn(String beanName)
Append the specified bean name to the list of beans that this definition depends on.
BeanDefinitionBuilderaddPropertyReference(String name, String beanName)
Add a reference to the specified bean name under the property specified.
BeanDefinitionBuilderaddPropertyValue(String name, @Nullable Object value)
Add the supplied property value under the given property name.
BeanDefinitionBuilderchildBeanDefinition(String parentName)
Create a new BeanDefinitionBuilder used to construct a ChildBeanDefinition .
BeanDefinitionBuildergenericBeanDefinition()
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition .
BeanDefinitionBuildergenericBeanDefinition(String beanClassName)
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition .
BeanDefinitionBuildergenericBeanDefinition(Class beanClass)
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition .
BeanDefinitionBuildergenericBeanDefinition(Class beanClass, Supplier instanceSupplier)
Create a new BeanDefinitionBuilder used to construct a GenericBeanDefinition .
AbstractBeanDefinitiongetBeanDefinition()
Validate and return the created BeanDefinition object.
AbstractBeanDefinitiongetRawBeanDefinition()
Return the current BeanDefinition object in its raw (unvalidated) form.
BeanDefinitionBuilderrootBeanDefinition(String beanClassName)
Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition .
BeanDefinitionBuilderrootBeanDefinition(Class beanClass)
Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition .
BeanDefinitionBuilderrootBeanDefinition(String beanClassName, @Nullable String factoryMethodName)
Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition .
BeanDefinitionBuilderrootBeanDefinition(Class beanClass, @Nullable String factoryMethodName)
Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition .
BeanDefinitionBuildersetAbstract(boolean flag)
Set whether or not this definition is abstract.
BeanDefinitionBuildersetAutowireMode(int autowireMode)
Set the autowire mode for this definition.
BeanDefinitionBuildersetDestroyMethodName(@Nullable String methodName)
Set the destroy method for this definition.
BeanDefinitionBuildersetFactoryMethod(String factoryMethod)
Set the name of a static factory method to use for this definition, to be called on this bean's class.
BeanDefinitionBuildersetInitMethodName(@Nullable String methodName)
Set the init method for this definition.
BeanDefinitionBuildersetLazyInit(boolean lazy)
Set whether beans for this definition should be lazily initialized or not.
BeanDefinitionBuildersetParentName(String parentName)
Set the name of the parent definition of this bean definition.
BeanDefinitionBuildersetRole(int role)
Set the role of this definition.
BeanDefinitionBuildersetScope(@Nullable String scope)
Set the scope of this definition.