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

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

Introduction

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

The text is from its open source code.

Constructor

RootBeanDefinition(@Nullable Class beanClass)
Create a new RootBeanDefinition for a singleton.
RootBeanDefinition(String beanClassName)
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.
RootBeanDefinition(RootBeanDefinition original)
Create a new RootBeanDefinition as deep copy of the given bean definition.
RootBeanDefinition(BeanDefinition original)
Create a new RootBeanDefinition as deep copy of the given bean definition.
RootBeanDefinition()
Create a new RootBeanDefinition, to be configured through its bean properties and configuration methods.
RootBeanDefinition(@Nullable Class beanClass, @Nullable Supplier instanceSupplier)
Create a new RootBeanDefinition for a singleton bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).
RootBeanDefinition(@Nullable Class beanClass, String scope, @Nullable Supplier instanceSupplier)
Create a new RootBeanDefinition for a scoped bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).
RootBeanDefinition(@Nullable Class beanClass, int autowireMode, boolean dependencyCheck)
Create a new RootBeanDefinition for a singleton, using the given autowire mode.
RootBeanDefinition(@Nullable Class beanClass, @Nullable ConstructorArgumentValues cargs, @Nullable MutablePropertyValues pvs)
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.
RootBeanDefinition(String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs)
Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.

Method

voidaddQualifier(AutowireCandidateQualifier qualifier)
Register a qualifier to be used for autowire candidate resolution, keyed by the qualifier's type name.
RootBeanDefinitioncloneBeanDefinition()
voidcopyQualifiersFrom(AbstractBeanDefinition source)
Copy the qualifiers from the supplied AbstractBeanDefinition to this bean definition.
ObjectgetAttribute(String name)
ClassgetBeanClass()
Return the class of the wrapped bean (assuming it is resolved already).
StringgetBeanClassName()
Return the current bean class name of this bean definition.
ConstructorArgumentValuesgetConstructorArgumentValues()
Return constructor argument values for this bean (never null ).
intgetDependencyCheck()
Return the dependency check code.
String[]getDependsOn()
Return the bean names that this bean depends on.
StringgetDestroyMethodName()
Return the name of the destroy method.
StringgetFactoryBeanName()
Return the factory bean name, if any.
StringgetFactoryMethodName()
Return a factory method, if any.
StringgetInitMethodName()
Return the name of the initializer method.
SuppliergetInstanceSupplier()
Return a callback for creating an instance of the bean, if any.
MethodOverridesgetMethodOverrides()
Return information about methods to be overridden by the IoC container.
BeanDefinitiongetOriginatingBeanDefinition()
Return the originating BeanDefinition, or null if none.
StringgetParentName()
MutablePropertyValuesgetPropertyValues()
Return property values for this bean (never null ).
intgetResolvedAutowireMode()
Return the resolved autowire code, (resolving AUTOWIRE_AUTODETECT to AUTOWIRE_CONSTRUCTOR or AUTOWIRE_BY_TYPE).
StringgetResourceDescription()
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).
ClassgetTargetType()
Return the target type of this bean definition, if known (either specified in advance or resolved on first instantiation).
booleanhasBeanClass()
Return whether this definition specifies a bean class.
booleanhasConstructorArgumentValues()
Return if there are constructor argument values defined for this bean.
booleanhasPropertyValues()
Return if there are property values values defined for this bean.
booleanisAbstract()
Return whether this bean is "abstract", i.e.
booleanisEnforceDestroyMethod()
Indicate whether the configured destroy method is the default.
booleanisEnforceInitMethod()
Indicate whether the configured init method is the default.
booleanisExternallyManagedConfigMember(Member configMember)
booleanisExternallyManagedDestroyMethod(String destroyMethod)
booleanisExternallyManagedInitMethod(String initMethod)
booleanisFactoryMethod(Method candidate)
Check whether the given candidate qualifies as a factory method.
booleanisLazyInit()
Return whether this bean should be lazily initialized, i.e.
booleanisLenientConstructorResolution()
Return whether to resolve constructors in lenient mode or in strict mode.
booleanisNonPublicAccessAllowed()
Return whether to allow access to non-public constructors and methods.
booleanisPrototype()
Return whether this a Prototype, with an independent instance returned for each call.
booleanisSingleton()
Return whether this a Singleton, with a single shared instance returned from all calls.
booleanisSynthetic()
Return whether this bean definition is 'synthetic', that is, not defined by the application itself.
voidoverrideFrom(BeanDefinition other)
Override settings in this bean definition (presumably a copied parent from a parent-child inheritance relationship) from the given bean definition (presumably the child).
voidprepareMethodOverrides()
Validate and prepare the method overrides defined for this bean.
voidregisterExternallyManagedConfigMember(Member configMember)
ClassresolveBeanClass(@Nullable ClassLoader classLoader)
Determine the class of the wrapped bean, resolving it from a specified class name if necessary.
voidsetAbstract(boolean abstractFlag)
Set if this bean is "abstract", i.e.
voidsetAttribute(String name, @Nullable Object value)
voidsetAutowireCandidate(boolean autowireCandidate)
Set whether this bean is a candidate for getting autowired into some other bean.
voidsetAutowireMode(int autowireMode)
Set the autowire mode.
voidsetBeanClass(@Nullable Class beanClass)
Specify the class for this bean.
voidsetBeanClassName(@Nullable String beanClassName)
Specify the bean class name of this bean definition.
voidsetConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues)
Specify constructor argument values for this bean.
voidsetDependencyCheck(int dependencyCheck)
Set the dependency check code.
voidsetDependsOn(@Nullable String... dependsOn)
Set the names of the beans that this bean depends on being initialized.
voidsetDestroyMethodName(@Nullable String destroyMethodName)
Set the name of the destroy method.
voidsetFactoryBeanName(@Nullable String factoryBeanName)
Specify the factory bean to use, if any.
voidsetFactoryMethodName(@Nullable String factoryMethodName)
Specify a factory method, if any.
voidsetInitMethodName(@Nullable String initMethodName)
Set the name of the initializer method.
voidsetLazyInit(boolean lazyInit)
Set whether this bean should be lazily initialized.
voidsetOriginatingBeanDefinition(BeanDefinition originatingBd)
Set the originating (e.g.
voidsetPrimary(boolean primary)
Set whether this bean is a primary autowire candidate.
voidsetPropertyValues(MutablePropertyValues propertyValues)
Specify property values for this bean, if any.
voidsetRole(int role)
Set the role hint for this BeanDefinition .
voidsetScope(@Nullable String scope)
Set the name of the target scope for the bean.
voidsetSource(@Nullable Object source)
Set the configuration source Object for this metadata element.
voidsetSynthetic(boolean synthetic)
Set whether this bean definition is 'synthetic', that is, not defined by the application itself (for example, an infrastructure bean such as a helper for auto-proxying, created through ).
voidsetTargetType(ResolvableType targetType)
Specify a generics-containing target type of this bean definition, if known in advance.
voidsetTargetType(@Nullable Class targetType)
Specify the target type of this bean definition, if known in advance.
voidvalidate()
Validate this bean definition.