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

Uses of Class org.springframework.beans.factory.support.BeanDefinitionBuilder (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

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

Packages that use BeanDefinitionBuilder
org.springframework.beans.factory.support Classes supporting the org.springframework.beans.factory package. 
org.springframework.beans.factory.xml Contains an abstract XML-based BeanFactory implementation, including a standard "spring-beans" DTD. 
 

Uses of BeanDefinitionBuilder in org.springframework.beans.factory.support
 

Methods in org.springframework.beans.factory.support that return BeanDefinitionBuilder
 BeanDefinitionBuilder BeanDefinitionBuilder.addConstructorArg(Object value)
          Add an indexed constructor arg value.
 BeanDefinitionBuilder BeanDefinitionBuilder.addConstructorArgReference(String beanName)
          Add a reference to a named bean as a constructor arg.
 BeanDefinitionBuilder BeanDefinitionBuilder.addDependsOn(String beanName)
          Append the specified bean name to the list of beans that this definition depends on.
 BeanDefinitionBuilder BeanDefinitionBuilder.addPropertyReference(String name, String beanName)
          Add a reference to the specified bean name under the property specified.
 BeanDefinitionBuilder BeanDefinitionBuilder.addPropertyValue(String name, Object value)
          Add the supplied property value under the given name.
static BeanDefinitionBuilder BeanDefinitionBuilder.childBeanDefinition(String parentBeanName)
          Create a new BeanDefinitionBuilder used to construct a ChildBeanDefinition.
static BeanDefinitionBuilder BeanDefinitionBuilder.rootBeanDefinition(Class beanClass)
          Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition.
static BeanDefinitionBuilder BeanDefinitionBuilder.rootBeanDefinition(Class beanClass, String factoryMethodName)
          Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition.
static BeanDefinitionBuilder BeanDefinitionBuilder.rootBeanDefinition(String beanClassName)
          Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition.
static BeanDefinitionBuilder BeanDefinitionBuilder.rootBeanDefinition(String beanClassName, String factoryMethodName)
          Create a new BeanDefinitionBuilder used to construct a RootBeanDefinition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setAbstract(boolean flag)
          Set whether or not this definition is abstract.
 BeanDefinitionBuilder BeanDefinitionBuilder.setAutowireMode(int autowireMode)
          Set the autowire mode for this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setDependencyCheck(int dependencyCheck)
          Set the depency check mode for this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setDestroyMethodName(String methodName)
          Set the destroy method for this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setFactoryBean(String factoryBean, String factoryMethod)
          Set the name of the factory bean to use for this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setFactoryMethod(String factoryMethod)
          Set the name of the factory method to use for this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setInitMethodName(String methodName)
          Set the init method for this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setLazyInit(boolean lazy)
          Set whether beans for this definition should be lazily initialized or not.
 BeanDefinitionBuilder BeanDefinitionBuilder.setResourceDescription(String resourceDescription)
          Set the description associated with this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setRole(int role)
          Set the role of this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setScope(String scope)
          Set the scope of this definition.
 BeanDefinitionBuilder BeanDefinitionBuilder.setSingleton(boolean singleton)
          Set whether or not this definition describes a singleton bean, as alternative to setScope.
 BeanDefinitionBuilder BeanDefinitionBuilder.setSource(Object source)
          Set the source of this definition.
 

Uses of BeanDefinitionBuilder in org.springframework.beans.factory.xml
 

Methods in org.springframework.beans.factory.xml with parameters of type BeanDefinitionBuilder
protected  void AbstractSingleBeanDefinitionParser.doParse(Element element, BeanDefinitionBuilder builder)
          Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.
protected  void AbstractSimpleBeanDefinitionParser.doParse(Element element, BeanDefinitionBuilder builder)
          Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.
protected  void AbstractSingleBeanDefinitionParser.doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
          Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.
protected  void AbstractSimpleBeanDefinitionParser.postProcess(BeanDefinitionBuilder beanDefinition, Element element)
          Hook method that derived classes can implement to inspect/change a bean definition after parsing is complete.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.