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

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

Introduction

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

The text is from its open source code.

Field

StringSCOPE_DEFAULT
Constant for the default scope name: "" , equivalent to singleton status unless overridden from a parent bean definition (if applicable).
intAUTOWIRE_NO
Constant that indicates no external autowiring at all.
intAUTOWIRE_BY_NAME
Constant that indicates autowiring bean properties by name.
intAUTOWIRE_BY_TYPE
Constant that indicates autowiring bean properties by type.
intAUTOWIRE_CONSTRUCTOR
Constant that indicates autowiring a constructor.
intAUTOWIRE_AUTODETECT
Constant that indicates determining an appropriate autowire strategy through introspection of the bean class.
intDEPENDENCY_CHECK_NONE
Constant that indicates no dependency check at all.
intDEPENDENCY_CHECK_OBJECTS
Constant that indicates dependency checking for object references.
intDEPENDENCY_CHECK_SIMPLE
Constant that indicates dependency checking for "simple" properties.
intDEPENDENCY_CHECK_ALL
Constant that indicates dependency checking for all properties (object references as well as "simple" properties).
StringINFER_METHOD
Constant that indicates the container should attempt to infer the #setDestroyMethodName destroy method name for a bean as opposed to explicit specification of a method name.

Method

voidaddQualifier(AutowireCandidateQualifier qualifier)
Register a qualifier to be used for autowire candidate resolution, keyed by the qualifier's type name.
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.
MethodOverridesgetMethodOverrides()
Return information about methods to be overridden by the IoC container.
MutablePropertyValuesgetPropertyValues()
Return property values for this bean (never null ).
SetgetQualifiers()
Return all registered qualifiers.
StringgetResourceDescription()
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).
StringgetScope()
Return the name of the target scope for the bean.
booleanhasBeanClass()
Return whether this definition specifies a bean class.
booleanhasConstructorArgumentValues()
Return if there are constructor argument values defined for this bean.
booleanisAbstract()
Return whether this bean is "abstract", i.e.
booleanisLazyInit()
Return whether this bean should be lazily initialized, i.e.
booleanisSingleton()
Return whether this a Singleton, with a single shared instance returned from all calls.
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).
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.
voidsetDescription(@Nullable String description)
Set a human-readable description of this bean definition.
voidsetDestroyMethodName(@Nullable String destroyMethodName)
Set the name of the destroy method.
voidsetEnforceDestroyMethod(boolean enforceDestroyMethod)
Specify whether or not the configured destroy method is the default.
voidsetEnforceInitMethod(boolean enforceInitMethod)
Specify whether or not the configured init method is the default.
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.
voidsetLenientConstructorResolution(boolean lenientConstructorResolution)
Specify whether to resolve constructors in lenient mode ( true , which is the default) or to switch to strict resolution (throwing an exception in case of ambiguous constructors that all match when converting the arguments, whereas lenient mode would use the one with the 'closest' type matches).
voidsetPrimary(boolean primary)
Set whether this bean is a primary autowire candidate.
voidsetPropertyValues(MutablePropertyValues propertyValues)
Specify property values for this bean, if any.
voidsetResource(@Nullable Resource resource)
Set the resource that this bean definition came from (for the purpose of showing context in case of errors).
voidsetResourceDescription(@Nullable String resourceDescription)
Set a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).
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.