|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RootBeanDefinition | |
---|---|
org.springframework.beans.factory.support | Classes supporting the org.springframework.beans.factory package. |
Uses of RootBeanDefinition in org.springframework.beans.factory.support |
---|
Methods in org.springframework.beans.factory.support that return RootBeanDefinition | |
---|---|
RootBeanDefinition |
AbstractBeanFactory.getMergedBeanDefinition(String name)
Return a RootBeanDefinition for the given bean name, merging a child bean definition with its parent if necessary. |
protected RootBeanDefinition |
AbstractBeanFactory.getMergedBeanDefinition(String beanName,
BeanDefinition bd)
Return a RootBeanDefinition for the given top-level bean, by merging with the parent if the given bean's definition is a child bean definition. |
protected RootBeanDefinition |
AbstractBeanFactory.getMergedBeanDefinition(String name,
boolean includingAncestors)
Return a RootBeanDefinition, even by traversing parent if the parameter is a child definition. |
Methods in org.springframework.beans.factory.support with parameters of type RootBeanDefinition | |
---|---|
protected void |
AbstractAutowireCapableBeanFactory.autowireByName(String beanName,
RootBeanDefinition mergedBeanDefinition,
BeanWrapper bw,
MutablePropertyValues pvs)
Fill in any missing property values with references to other beans in this factory if autowire is set to "byName". |
protected void |
AbstractAutowireCapableBeanFactory.autowireByType(String beanName,
RootBeanDefinition mergedBeanDefinition,
BeanWrapper bw,
MutablePropertyValues pvs)
Abstract method defining "autowire by type" (bean properties by type) behavior. |
protected BeanWrapper |
AbstractAutowireCapableBeanFactory.autowireConstructor(String beanName,
RootBeanDefinition mergedBeanDefinition)
"autowire constructor" (with constructor arguments by type) behavior. |
protected void |
AbstractAutowireCapableBeanFactory.checkDependencies(String beanName,
RootBeanDefinition mergedBeanDefinition,
BeanWrapper bw,
PropertyValues pvs)
Perform a dependency check that all properties exposed have been set, if desired. |
protected void |
AbstractBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mergedBeanDefinition,
String beanName,
Class requiredType,
Object[] args)
Check the given merged bean definition, potentially throwing validation exceptions. |
protected abstract Object |
AbstractBeanFactory.createBean(String beanName,
RootBeanDefinition mergedBeanDefinition,
Object[] args)
Create a bean instance for the given bean definition. |
protected Object |
AbstractAutowireCapableBeanFactory.createBean(String beanName,
RootBeanDefinition mergedBeanDefinition,
Object[] args)
Central method of this class: creates a bean instance, populates the bean instance, applies post-processors, etc. |
protected Class |
AbstractBeanFactory.getTypeForFactoryMethod(String beanName,
RootBeanDefinition mergedBeanDefinition)
Determine the bean type for the given bean definition, as far as possible. |
protected Class |
AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(String beanName,
RootBeanDefinition mergedBeanDefinition)
This implementation determines the type matching createBean 's
different creation strategies. |
Object |
SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
|
Object |
InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
Return an instance of the bean with the given name in this factory. |
Object |
SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
|
Object |
InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
Return an instance of the bean with the given name in this factory, creating it via the given constructor. |
Object |
SimpleInstantiationStrategy.instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Object factoryBean,
Method factoryMethod,
Object[] args)
|
Object |
InstantiationStrategy.instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Object factoryBean,
Method factoryMethod,
Object[] args)
Return an instance of the bean with the given name in this factory, creating it via the given factory method. |
protected BeanWrapper |
AbstractAutowireCapableBeanFactory.instantiateBean(String beanName,
RootBeanDefinition mergedBeanDefinition)
Instantiate the given bean using its default constructor. |
protected BeanWrapper |
AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(String beanName,
RootBeanDefinition mergedBeanDefinition,
Object[] explicitArgs)
Instantiate the bean using a named factory method. |
protected Object |
SimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition. |
protected Object |
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
|
protected Object |
SimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition. |
protected Object |
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
|
protected void |
AbstractAutowireCapableBeanFactory.invokeInitMethods(String beanName,
Object bean,
RootBeanDefinition mergedBeanDefinition)
Give a bean a chance to react now all its properties are set, and a chance to know about its owning bean factory (this object). |
protected void |
AbstractAutowireCapableBeanFactory.populateBean(String beanName,
RootBeanDefinition mergedBeanDefinition,
BeanWrapper bw)
Populate the bean instance in the given BeanWrapper with the property values from the bean definition. |
protected void |
AbstractBeanFactory.registerDisposableBeanIfNecessary(String beanName,
Object bean,
RootBeanDefinition mergedBeanDefinition)
Add the given bean to the list of disposable beans in this factory, registering its DisposableBean interface and/or the given destroy method to be called on factory shutdown (if applicable). |
protected String[] |
AbstractAutowireCapableBeanFactory.unsatisfiedNonSimpleProperties(RootBeanDefinition mergedBeanDefinition,
BeanWrapper bw)
Return an array of non-simple bean properties that are unsatisfied. |
Constructors in org.springframework.beans.factory.support with parameters of type RootBeanDefinition | |
---|---|
RootBeanDefinition(RootBeanDefinition original)
Create a new RootBeanDefinition as deep copy of the given bean definition. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |