Method Summary |
|
public boolean | equals(Object other) |
public int | getAutowireMode() Return the autowire mode as specified in the bean definition. |
public Class | getBeanClass() Return the class of the wrapped bean. |
public String | getBeanClassName() Return the class name of the wrapped bean. |
public ConstructorArgumentValues | getConstructorArgumentValues() Return constructor argument values for this bean (never null ). |
public int | getDependencyCheck() Return the dependency check code. |
public String[] | getDependsOn() Return the bean names that this bean depends on. |
public String | getDestroyMethodName() Return the name of the destroy method. |
public String | getFactoryBeanName() Returns the factory bean name, if any. |
public String | getFactoryMethodName() Return a factory method, if any. |
public String | getInitMethodName() Return the name of the initializer method. |
public MethodOverrides | getMethodOverrides() Return information about methods to be overridden by the IoC
container. |
public MutablePropertyValues | getPropertyValues() Return property values for this bean (never null ). |
public int | getResolvedAutowireMode() Return the resolved autowire code,
(resolving AUTOWIRE_AUTODETECT to AUTOWIRE_CONSTRUCTOR or AUTOWIRE_BY_TYPE). |
public String | getResourceDescription() Return a description of the resource that this bean definition
came from. |
public int | getRole() Return the role hint for this BeanDefinition . |
public String | getScope() Return the name of the target scope for the bean. |
public Object | getSource() |
public boolean | hasBeanClass() Return whether this definition specifies a bean class. |
public boolean | hasConstructorArgumentValues() Return if there are constructor argument values defined for this bean. |
public int | hashCode() |
public boolean | isAbstract() Return whether this bean is "abstract", i.e. |
public boolean | isAutowireCandidate() Return whether this bean is a candidate for getting autowired into
some other bean. |
public boolean | isEnforceDestroyMethod() Indicate whether the configured destroy method is the default. |
public boolean | isEnforceInitMethod() Indicate whether the configured init method is the default. |
public boolean | isLazyInit() Return whether this bean should be lazily initialized, i.e. |
public boolean | isPrototype() Return whether this a Prototype, with an independent instance
returned for each call. |
public boolean | isSingleton() Return whether this a Singleton, with a single shared instance
returned from all calls. |
public boolean | isSynthetic() Return whether this bean definition is 'synthetic', that is,
not defined by the application itself. |
public void | overrideFrom(AbstractBeanDefinition other) Override settings in this bean definition (assumably a copied parent
from a parent-child inheritance relationship) from the given bean
definition (assumably the child). |
protected void | prepareMethodOverride(MethodOverride mo) Validate and prepare the given method override. |
public void | prepareMethodOverrides() Validate and prepare the method overrides defined for this bean. |
public Class | resolveBeanClass(ClassLoader classLoader) Determine the class of the wrapped bean, resolving it from a
specified class name if necessary. |
public void | setAbstract(boolean abstractFlag) Set if this bean is "abstract", i.e. |
public void | setAutowireCandidate(boolean autowireCandidate) Set whether this bean is a candidate for getting autowired into
some other bean. |
public void | setAutowireMode(int autowireMode) Set the autowire mode. |
public void | setBeanClass(Class beanClass) Specify the class for this bean. |
public void | setBeanClassName(String beanClassName) Specify the class name for this bean. |
public void | setConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) Specify constructor argument values for this bean. |
public void | setDependencyCheck(int dependencyCheck) Set the dependency check code. |
public void | setDependsOn(String[] dependsOn) Set the names of the beans that this bean depends on being initialized.
The bean factory will guarantee that these beans get initialized before.
Note that dependencies are normally expressed through bean properties or
constructor arguments. |
public void | setDestroyMethodName(String destroyMethodName) Set the name of the destroy method. |
public void | setEnforceDestroyMethod(boolean enforceDestroyMethod) Specify whether or not the configured destroy method is the default. |
public void | setEnforceInitMethod(boolean enforceInitMethod) Specify whether or not the configured init method is the default. |
public void | setFactoryBeanName(String factoryBeanName) Specify the factory bean to use, if any. |
public void | setFactoryMethodName(String factoryMethodName) Specify a factory method, if any. |
public void | setInitMethodName(String initMethodName) Set the name of the initializer method. |
public void | setLazyInit(boolean lazyInit) Set whether this bean should be lazily initialized. |
public void | setMethodOverrides(MethodOverrides methodOverrides) Specify method overrides for the bean, if any. |
public void | setPropertyValues(MutablePropertyValues propertyValues) Specify property values for this bean, if any. |
public void | setResourceDescription(String resourceDescription) Set a description of the resource that this bean definition
came from (for the purpose of showing context in case of errors). |
public void | setRole(int role) Set the role hint for this BeanDefinition . |
public void | setScope(String scope) Set the name of the target scope for the bean. |
public void | setSingleton(boolean singleton) Set if this a Singleton, with a single, shared instance returned
on all calls. |
public void | setSource(Object source) Set the configuration source Object for this metadata element. |
public void | setSynthetic(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 <aop:config> ). |
public String | toString() |
public void | validate() Validate this bean definition. |