JavaScript is disabled on your browser.
Field Summary
Fields inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition
AUTOWIRE_AUTODETECT , AUTOWIRE_BY_NAME , AUTOWIRE_BY_TYPE , AUTOWIRE_CONSTRUCTOR , AUTOWIRE_NO , DEPENDENCY_CHECK_ALL , DEPENDENCY_CHECK_NONE , DEPENDENCY_CHECK_OBJECTS , DEPENDENCY_CHECK_SIMPLE , INFER_METHOD , SCOPE_DEFAULT
Constructor Summary
Constructors
Constructor and Description
ChildBeanDefinition (ChildBeanDefinition original)
Create a new ChildBeanDefinition as deep copy of the given
bean definition.
ChildBeanDefinition (java.lang.String parentName)
Create a new ChildBeanDefinition for the given parent, to be
configured through its bean properties and configuration methods.
ChildBeanDefinition (java.lang.String parentName,
java.lang.Class<?> beanClass,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent,
providing constructor arguments and property values.
ChildBeanDefinition (java.lang.String parentName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
ChildBeanDefinition (java.lang.String parentName,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
ChildBeanDefinition (java.lang.String parentName,
java.lang.String beanClassName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent,
providing constructor arguments and property values.
Method Summary
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition
addQualifier , applyDefaults , clone , copyQualifiersFrom , getAutowireMode , getBeanClass , getBeanClassName , getConstructorArgumentValues , getDependencyCheck , getDependsOn , getDescription , getDestroyMethodName , getFactoryBeanName , getFactoryMethodName , getInitMethodName , getInstanceSupplier , getMethodOverrides , getOriginatingBeanDefinition , getPropertyValues , getQualifier , getQualifiers , getResolvedAutowireMode , getResource , getResourceDescription , getRole , getScope , hasBeanClass , hasConstructorArgumentValues , hasMethodOverrides , hasPropertyValues , hasQualifier , isAbstract , isAutowireCandidate , isEnforceDestroyMethod , isEnforceInitMethod , isLazyInit , isLenientConstructorResolution , isNonPublicAccessAllowed , isPrimary , isPrototype , isSingleton , isSynthetic , overrideFrom , prepareMethodOverride , prepareMethodOverrides , resolveBeanClass , setAbstract , setAutowireCandidate , setAutowireMode , setBeanClass , setBeanClassName , setConstructorArgumentValues , setDependencyCheck , setDependsOn , setDescription , setDestroyMethodName , setEnforceDestroyMethod , setEnforceInitMethod , setFactoryBeanName , setFactoryMethodName , setInitMethodName , setInstanceSupplier , setLazyInit , setLenientConstructorResolution , setMethodOverrides , setNonPublicAccessAllowed , setOriginatingBeanDefinition , setPrimary , setPropertyValues , setResource , setResourceDescription , setRole , setScope , setSynthetic
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Constructor Detail
ChildBeanDefinition
public ChildBeanDefinition(java.lang.String parentName,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
Parameters:
parentName
- the name of the parent bean
pvs
- the additional property values of the child
ChildBeanDefinition
public ChildBeanDefinition(java.lang.String parentName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
Parameters:
parentName
- the name of the parent bean
cargs
- the constructor argument values to apply
pvs
- the additional property values of the child
ChildBeanDefinition
public ChildBeanDefinition(java.lang.String parentName,
java.lang.Class<?> beanClass,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent,
providing constructor arguments and property values.
Parameters:
parentName
- the name of the parent bean
beanClass
- the class of the bean to instantiate
cargs
- the constructor argument values to apply
pvs
- the property values to apply
ChildBeanDefinition
public ChildBeanDefinition(java.lang.String parentName,
java.lang.String beanClassName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent,
providing constructor arguments and property values.
Takes a bean class name to avoid eager loading of the bean class.
Parameters:
parentName
- the name of the parent bean
beanClassName
- the name of the class to instantiate
cargs
- the constructor argument values to apply
pvs
- the property values to apply
Method Detail
setParentName
public void setParentName(@Nullable
java.lang.String parentName)
Set the name of the parent definition of this bean definition, if any.
getParentName
@Nullable
public java.lang.String getParentName()
Return the name of the parent definition of this bean definition, if any.