The Spring Framework

Uses of Class
org.springframework.beans.factory.support.RootBeanDefinition

Packages that use RootBeanDefinition
org.springframework.beans.factory.support Classes supporting the org.springframework.beans.factory package. 
org.springframework.scripting.support Support classes for Spring's scripting 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 beanName, BeanDefinition bd, BeanDefinition containingBd)
          Return a RootBeanDefinition for the given 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  BeanWrapper ConstructorResolver.autowireConstructor(String beanName, RootBeanDefinition mergedBeanDefinition)
          "autowire constructor" (with constructor arguments by type) behavior.
protected  void AbstractAutowireCapableBeanFactory.checkDependencies(String beanName, RootBeanDefinition mergedBeanDefinition, PropertyDescriptor[] pds, PropertyValues pvs)
          Perform a dependency check that all properties exposed have been set, if desired.
protected  void AbstractBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mergedBeanDefinition, String beanName, Object[] args)
          Check the given merged bean definition, potentially throwing validation exceptions.
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 abstract  Object AbstractBeanFactory.createBean(String beanName, RootBeanDefinition mergedBeanDefinition, Object[] args)
          Create a bean instance for the given bean definition.
protected  BeanWrapper AbstractAutowireCapableBeanFactory.createBeanInstance(String beanName, RootBeanDefinition mergedBeanDefinition, Object[] args)
          Create a new instance for the specified bean, using an appropriate instantiation strategy: factory method, constructor autowiring, or simple instantiation.
protected  void AbstractBeanFactory.destroyBean(String beanName, Object beanInstance, RootBeanDefinition mergedBeanDefinition)
          Destroy the given bean instance (usually a prototype instance obtained from this factory) according to the given bean definition.
protected  Object AbstractBeanFactory.getObjectForBeanInstance(Object beanInstance, String name, RootBeanDefinition mbd)
          Get the object for the given bean instance, either the bean instance itself or its created object in case of a FactoryBean.
protected  Class AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(String beanName, RootBeanDefinition mergedBeanDefinition)
          This implementation checks the FactoryBean's getObjectType method on a plain instance of the FactoryBean, without bean properties applied yet.
protected  Class AbstractBeanFactory.getTypeForFactoryBean(String beanName, RootBeanDefinition mergedBeanDefinition)
          Determine the bean type for the given FactoryBean definition, as far as possible.
protected  Class AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(String beanName, RootBeanDefinition mergedBeanDefinition)
          This implementation determines the type matching createBean's different creation strategies.
protected  Class AbstractBeanFactory.getTypeForFactoryMethod(String beanName, RootBeanDefinition mergedBeanDefinition)
          Determine the bean type for the given bean definition which is based on a factory method.
protected  Object AbstractAutowireCapableBeanFactory.initializeBean(String beanName, Object bean, RootBeanDefinition mergedBeanDefinition)
          Initialize the given bean instance, applying factory callbacks as well as init methods and bean post processors.
 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.
 BeanWrapper ConstructorResolver.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  boolean AbstractBeanFactory.isBeanClassMatch(String beanName, RootBeanDefinition mbd, Class targetType)
          Check whether the bean class of the given bean definition matches the specified target type.
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  boolean AbstractBeanFactory.requiresDestruction(Object bean, RootBeanDefinition mergedBeanDefinition)
          Determine whether the given bean requires destruction on shutdown.
protected  Class AbstractBeanFactory.resolveBeanClass(RootBeanDefinition mbd, String beanName)
          Resolve the bean class for the specified bean definition, resolving a bean class name into a Class reference (if necessary) and storing the resolved Class in the bean definition for further use.
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
DisposableBeanAdapter(Object bean, String beanName, RootBeanDefinition mergedBeanDefinition, List beanPostProcessors)
          Create a new DisposableBeanAdapter for the given bean.
RootBeanDefinition(RootBeanDefinition original)
          Create a new RootBeanDefinition as deep copy of the given bean definition.
 

Uses of RootBeanDefinition in org.springframework.scripting.support
 

Methods in org.springframework.scripting.support that return RootBeanDefinition
protected  RootBeanDefinition ScriptFactoryPostProcessor.createScriptedObjectBeanDefinition(RootBeanDefinition bd, String scriptFactoryBeanName, ScriptSource scriptSource, Class[] interfaces)
          Create a bean definition for the scripted object, based on the given script definition, extracting the definition data that is relevant for the scripted object (that is, everything but bean class and constructor arguments).
protected  RootBeanDefinition ScriptFactoryPostProcessor.createScriptFactoryBeanDefinition(RootBeanDefinition bd)
          Create a ScriptFactory bean definition based on the given script definition, extracting only the definition data that is relevant for the ScriptFactory (that is, only bean class and constructor arguments).
 

Methods in org.springframework.scripting.support with parameters of type RootBeanDefinition
protected  RootBeanDefinition ScriptFactoryPostProcessor.createScriptedObjectBeanDefinition(RootBeanDefinition bd, String scriptFactoryBeanName, ScriptSource scriptSource, Class[] interfaces)
          Create a bean definition for the scripted object, based on the given script definition, extracting the definition data that is relevant for the scripted object (that is, everything but bean class and constructor arguments).
protected  RootBeanDefinition ScriptFactoryPostProcessor.createScriptFactoryBeanDefinition(RootBeanDefinition bd)
          Create a ScriptFactory bean definition based on the given script definition, extracting only the definition data that is relevant for the ScriptFactory (that is, only bean class and constructor arguments).
 


The Spring Framework

Copyright © 2002-2006 The Spring Framework.