| org.springframework.beans.factory.support.AbstractBeanDefinition org.springframework.beans.factory.support.RootBeanDefinition
RootBeanDefinition | public class RootBeanDefinition extends AbstractBeanDefinition (Code) | | Root bean definitions are the most common type of bean definition.
They do not derive from a parent bean definition, and usually have a
class plus optionally constructor argument values and property values.
Note that root bean definitions do not have to specify a bean class:
This can be useful for deriving childs from such definitions, each with
its own bean class but inheriting common property values and other settings.
author: Rod Johnson author: Juergen Hoeller See Also: ChildBeanDefinition |
Constructor Summary | |
public | RootBeanDefinition() Create a new RootBeanDefinition, to be configured through its bean
properties and configuration methods. | public | RootBeanDefinition(Class beanClass) Create a new RootBeanDefinition for a singleton. | public | RootBeanDefinition(Class beanClass, boolean singleton) Create a new RootBeanDefinition with the given singleton status. | public | RootBeanDefinition(Class beanClass, int autowireMode) Create a new RootBeanDefinition for a singleton,
using the given autowire mode. | public | RootBeanDefinition(Class beanClass, int autowireMode, boolean dependencyCheck) Create a new RootBeanDefinition for a singleton,
using the given autowire mode. | public | RootBeanDefinition(Class beanClass, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton,
providing property values. | public | RootBeanDefinition(Class beanClass, MutablePropertyValues pvs, boolean singleton) Create a new RootBeanDefinition with the given singleton status,
providing property values. | public | RootBeanDefinition(Class beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values. | public | RootBeanDefinition(String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values. | public | RootBeanDefinition(RootBeanDefinition original) Create a new RootBeanDefinition as deep copy of the given
bean definition. |
preparedConstructorArguments | volatile Object[] preparedConstructorArguments(Code) | | Package-visible field for caching partly prepared constructor arguments
|
resolvedConstructorArguments | volatile Object[] resolvedConstructorArguments(Code) | | Package-visible field for caching fully resolved constructor arguments
|
resolvedConstructorOrFactoryMethod | volatile Object resolvedConstructorOrFactoryMethod(Code) | | Package-visible field for caching the resolved constructor or factory method
|
RootBeanDefinition | public RootBeanDefinition(Class beanClass)(Code) | | Create a new RootBeanDefinition for a singleton.
Parameters: beanClass - the class of the bean to instantiate |
RootBeanDefinition | public RootBeanDefinition(Class beanClass, boolean singleton)(Code) | | Create a new RootBeanDefinition with the given singleton status.
Parameters: beanClass - the class of the bean to instantiate Parameters: singleton - the singleton status of the bean |
RootBeanDefinition | public RootBeanDefinition(Class beanClass, int autowireMode)(Code) | | Create a new RootBeanDefinition for a singleton,
using the given autowire mode.
Parameters: beanClass - the class of the bean to instantiate Parameters: autowireMode - by name or type, using the constants in this interface |
RootBeanDefinition | public RootBeanDefinition(Class beanClass, int autowireMode, boolean dependencyCheck)(Code) | | Create a new RootBeanDefinition for a singleton,
using the given autowire mode.
Parameters: beanClass - the class of the bean to instantiate Parameters: autowireMode - by name or type, using the constants in this interface Parameters: dependencyCheck - whether to perform a dependency check for objects(not applicable to autowiring a constructor, thus ignored there) |
RootBeanDefinition | public RootBeanDefinition(Class beanClass, MutablePropertyValues pvs)(Code) | | Create a new RootBeanDefinition for a singleton,
providing property values.
Parameters: beanClass - the class of the bean to instantiate Parameters: pvs - the property values to apply |
RootBeanDefinition | public RootBeanDefinition(Class beanClass, MutablePropertyValues pvs, boolean singleton)(Code) | | Create a new RootBeanDefinition with the given singleton status,
providing property values.
Parameters: beanClass - the class of the bean to instantiate Parameters: pvs - the property values to apply Parameters: singleton - the singleton status of the bean |
RootBeanDefinition | public RootBeanDefinition(Class beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs)(Code) | | Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values.
Parameters: beanClass - the class of the bean to instantiate Parameters: cargs - the constructor argument values to apply Parameters: pvs - the property values to apply |
RootBeanDefinition | public RootBeanDefinition(String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs)(Code) | | Create a new RootBeanDefinition for a singleton,
providing constructor arguments and property values.
Takes a bean class name to avoid eager loading of the bean class.
Parameters: beanClassName - the name of the class to instantiate Parameters: cargs - the constructor argument values to apply Parameters: pvs - the property values to apply |
RootBeanDefinition | public RootBeanDefinition(RootBeanDefinition original)(Code) | | Create a new RootBeanDefinition as deep copy of the given
bean definition.
Parameters: original - the original bean definition to copy from |
|
|