| Constructor: |
public RootBeanDefinition() {
super();
}
Create a new RootBeanDefinition, to be configured through its bean
properties and configuration methods. |
public RootBeanDefinition(Class beanClass) {
super();
setBeanClass(beanClass);
}
Create a new RootBeanDefinition for a singleton. Parameters:
beanClass - the class of the bean to instantiate
|
public RootBeanDefinition(RootBeanDefinition original) {
super((BeanDefinition) original);
}
Create a new RootBeanDefinition as deep copy of the given
bean definition. Parameters:
original - the original bean definition to copy from
|
RootBeanDefinition(BeanDefinition original) {
super(original);
}
Create a new RootBeanDefinition as deep copy of the given
bean definition. Parameters:
original - the original bean definition to copy from
|
public RootBeanDefinition(Class beanClass,
boolean singleton) {
super();
setBeanClass(beanClass);
setSingleton(singleton);
}
Create a new RootBeanDefinition with the given singleton status. Parameters:
beanClass - the class of the bean to instantiate
singleton - the singleton status of the bean
|
public RootBeanDefinition(Class beanClass,
int autowireMode) {
super();
setBeanClass(beanClass);
setAutowireMode(autowireMode);
}
Create a new RootBeanDefinition for a singleton,
using the given autowire mode. Parameters:
beanClass - the class of the bean to instantiate
autowireMode - by name or type, using the constants in this interface
|
public RootBeanDefinition(Class beanClass,
MutablePropertyValues pvs) {
super(null, pvs);
setBeanClass(beanClass);
}
Create a new RootBeanDefinition for a singleton,
providing property values. Parameters:
beanClass - the class of the bean to instantiate
pvs - the property values to apply
|
public RootBeanDefinition(Class beanClass,
int autowireMode,
boolean dependencyCheck) {
super();
setBeanClass(beanClass);
setAutowireMode(autowireMode);
if (dependencyCheck && getResolvedAutowireMode() != AUTOWIRE_CONSTRUCTOR) {
setDependencyCheck(RootBeanDefinition.DEPENDENCY_CHECK_OBJECTS);
}
}
Create a new RootBeanDefinition for a singleton,
using the given autowire mode. Parameters:
beanClass - the class of the bean to instantiate
autowireMode - by name or type, using the constants in this interface
dependencyCheck - whether to perform a dependency check for objects
(not applicable to autowiring a constructor, thus ignored there)
|
public RootBeanDefinition(Class beanClass,
MutablePropertyValues pvs,
boolean singleton) {
super(null, pvs);
setBeanClass(beanClass);
setSingleton(singleton);
}
Create a new RootBeanDefinition with the given singleton status,
providing property values. Parameters:
beanClass - the class of the bean to instantiate
pvs - the property values to apply
singleton - the singleton status of the bean
|
public RootBeanDefinition(Class beanClass,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs) {
super(cargs, pvs);
setBeanClass(beanClass);
}
Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values. Parameters:
beanClass - the class of the bean to instantiate
cargs - the constructor argument values to apply
pvs - the property values to apply
|
public RootBeanDefinition(String beanClassName,
ConstructorArgumentValues cargs,
MutablePropertyValues pvs) {
super(cargs, pvs);
setBeanClassName(beanClassName);
}
Parameters:
beanClassName - the name of the class to instantiate
cargs - the constructor argument values to apply
pvs - the property values to apply
|