站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

Uses of Class org.springframework.beans.factory.support.RootBeanDefinition (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

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 beanName)
          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 beanName, 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.applyPropertyValues(String beanName, RootBeanDefinition mbd, BeanWrapper bw, PropertyValues pvs)
          Apply the given property values, resolving any runtime references to other beans in this bean factory.
protected  void AbstractAutowireCapableBeanFactory.autowireByName(String beanName, RootBeanDefinition mbd, 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 mbd, BeanWrapper bw, MutablePropertyValues pvs)
          Abstract method defining "autowire by type" (bean properties by type) behavior.
protected  BeanWrapper AbstractAutowireCapableBeanFactory.autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor ctor)
          "autowire constructor" (with constructor arguments by type) behavior.
protected  void AbstractAutowireCapableBeanFactory.checkDependencies(String beanName, RootBeanDefinition mbd, PropertyDescriptor[] pds, PropertyValues pvs)
          Perform a dependency check that all properties exposed have been set, if desired.
protected  void AbstractBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mbd, String beanName, Object[] args)
          Check the given merged bean definition, potentially throwing validation exceptions.
protected  Object AbstractAutowireCapableBeanFactory.createBean(String beanName, RootBeanDefinition mbd, 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 mbd, Object[] args)
          Create a bean instance for the given bean definition.
protected  BeanWrapper AbstractAutowireCapableBeanFactory.createBeanInstance(String beanName, RootBeanDefinition mbd, 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 mbd)
          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 mbd)
          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 mbd)
          Determine the bean type for the given FactoryBean definition, as far as possible.
protected  Class AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(String beanName, RootBeanDefinition mbd)
          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 mbd)
          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 mbd)
          Instantiate the given bean using its default constructor.
protected  BeanWrapper AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(String beanName, RootBeanDefinition mbd, 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 mbd)
          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 mbd, BeanWrapper bw)
          Populate the bean instance in the given BeanWrapper with the property values from the bean definition.
protected  Class AbstractAutowireCapableBeanFactory.predictBeanType(String beanName, RootBeanDefinition mbd)
          Predict the eventual bean type for the given bean.
protected  Class AbstractBeanFactory.predictBeanType(String beanName, RootBeanDefinition mbd)
          Predict the eventual bean type (of the processed bean instance) for the specified bean.
protected  void AbstractBeanFactory.registerDisposableBeanIfNecessary(String beanName, Object bean, RootBeanDefinition mbd)
          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 mbd)
          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 mbd, 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.
 

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  Class ScriptFactoryPostProcessor.createConfigInterface(RootBeanDefinition bd, Class[] interfaces)
          Create a config interface for the given bean definition, defining setter methods for the defined property values as well as an init method and a destroy method (if defined).
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).
protected  void ScriptFactoryPostProcessor.prepareScriptBeans(RootBeanDefinition bd, String scriptFactoryBeanName, String scriptedObjectBeanName)
          Prepare the script beans in the internal BeanFactory that this post-processor uses.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.