Example usage for Java org.springframework.beans.factory.support AbstractBeanDefinition fields, constructors, methods, implement or subclass
The text is from its open source code.
String | SCOPE_DEFAULT Constant for the default scope name: "" , equivalent to singleton status unless overridden from a parent bean definition (if applicable). |
int | AUTOWIRE_NO Constant that indicates no external autowiring at all. |
int | AUTOWIRE_BY_NAME Constant that indicates autowiring bean properties by name. |
int | AUTOWIRE_BY_TYPE Constant that indicates autowiring bean properties by type. |
int | AUTOWIRE_CONSTRUCTOR Constant that indicates autowiring a constructor. |
int | AUTOWIRE_AUTODETECT Constant that indicates determining an appropriate autowire strategy through introspection of the bean class. |
int | DEPENDENCY_CHECK_NONE Constant that indicates no dependency check at all. |
int | DEPENDENCY_CHECK_OBJECTS Constant that indicates dependency checking for object references. |
int | DEPENDENCY_CHECK_SIMPLE Constant that indicates dependency checking for "simple" properties. |
int | DEPENDENCY_CHECK_ALL Constant that indicates dependency checking for all properties (object references as well as "simple" properties). |
String | INFER_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. |
void | addQualifier(AutowireCandidateQualifier qualifier) Register a qualifier to be used for autowire candidate resolution, keyed by the qualifier's type name. |
Object | getAttribute(String name) |
Class> | getBeanClass() Return the class of the wrapped bean (assuming it is resolved already). |
String | getBeanClassName() Return the current bean class name of this bean definition. |
ConstructorArgumentValues | getConstructorArgumentValues() Return constructor argument values for this bean (never null ). |
int | getDependencyCheck() Return the dependency check code. |
String[] | getDependsOn() Return the bean names that this bean depends on. |
String | getDestroyMethodName() Return the name of the destroy method. |
String | getFactoryBeanName() Return the factory bean name, if any. |
String | getFactoryMethodName() Return a factory method, if any. |
String | getInitMethodName() Return the name of the initializer method. |
MethodOverrides | getMethodOverrides() Return information about methods to be overridden by the IoC container. |
MutablePropertyValues | getPropertyValues() Return property values for this bean (never null ). |
Set | getQualifiers() Return all registered qualifiers. |
String | getResourceDescription() Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors). |
String | getScope() Return the name of the target scope for the bean. |
boolean | hasBeanClass() Return whether this definition specifies a bean class. |
boolean | hasConstructorArgumentValues() Return if there are constructor argument values defined for this bean. |
boolean | isAbstract() Return whether this bean is "abstract", i.e. |
boolean | isLazyInit() Return whether this bean should be lazily initialized, i.e. |
boolean | isSingleton() Return whether this a Singleton, with a single shared instance returned from all calls. |
void | overrideFrom(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). |
Class> | resolveBeanClass(@Nullable ClassLoader classLoader) Determine the class of the wrapped bean, resolving it from a specified class name if necessary. |
void | setAbstract(boolean abstractFlag) Set if this bean is "abstract", i.e. |
void | setAttribute(String name, @Nullable Object value) |
void | setAutowireCandidate(boolean autowireCandidate) Set whether this bean is a candidate for getting autowired into some other bean. |
void | setAutowireMode(int autowireMode) Set the autowire mode. |
void | setBeanClass(@Nullable Class> beanClass) Specify the class for this bean. |
void | setBeanClassName(@Nullable String beanClassName) Specify the bean class name of this bean definition. |
void | setConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) Specify constructor argument values for this bean. |
void | setDependencyCheck(int dependencyCheck) Set the dependency check code. |
void | setDependsOn(@Nullable String... dependsOn) Set the names of the beans that this bean depends on being initialized. |
void | setDescription(@Nullable String description) Set a human-readable description of this bean definition. |
void | setDestroyMethodName(@Nullable String destroyMethodName) Set the name of the destroy method. |
void | setEnforceDestroyMethod(boolean enforceDestroyMethod) Specify whether or not the configured destroy method is the default. |
void | setEnforceInitMethod(boolean enforceInitMethod) Specify whether or not the configured init method is the default. |
void | setFactoryBeanName(@Nullable String factoryBeanName) Specify the factory bean to use, if any. |
void | setFactoryMethodName(@Nullable String factoryMethodName) Specify a factory method, if any. |
void | setInitMethodName(@Nullable String initMethodName) Set the name of the initializer method. |
void | setLazyInit(boolean lazyInit) Set whether this bean should be lazily initialized. |
void | setLenientConstructorResolution(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). |
void | setPrimary(boolean primary) Set whether this bean is a primary autowire candidate. |
void | setPropertyValues(MutablePropertyValues propertyValues) Specify property values for this bean, if any. |
void | setResource(@Nullable Resource resource) Set the resource that this bean definition came from (for the purpose of showing context in case of errors). |
void | setResourceDescription(@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). |
void | setRole(int role) Set the role hint for this BeanDefinition . |
void | setScope(@Nullable String scope) Set the name of the target scope for the bean. |
void | setSource(@Nullable Object source) Set the configuration source Object for this metadata element. |