## 类的使用
org.springframework.beans.factory.BeanDefinitionStoreException

- 使用BeanDefinitionStoreException的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.config | SPI interfaces and configuration-related convenience classes for bean factories.
  org.springframework.beans.factory.groovy | Support package for Groovy-based bean definitions.
  org.springframework.beans.factory.parsing | Support infrastructure for bean definition parsing.
  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" XSD.

- - ### org.springframework.beans.factory.config中BeanDefinitionStoreException的使用

    抛出BeanDefinitionStoreException的org.springframework.beans.factory.config中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ConfigurableBeanFactory.`registerAlias(String beanName, String alias)` Given a bean name, create an alias.

  - ### org.springframework.beans.factory.groovy中BeanDefinitionStoreException的使用

    抛出BeanDefinitionStoreException的org.springframework.beans.factory.groovy中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | GroovyBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.support.EncodedResource encodedResource)` Load bean definitions from the specified Groovy script or XML file.
    `int` | GroovyBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource resource)` Load bean definitions from the specified Groovy script or XML file.

  - ### org.springframework.beans.factory.parsing中BeanDefinitionStoreException的使用

    org.springframework.beans.factory.parsing中BeanDefinitionStoreException的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `BeanDefinitionParsingException` Exception thrown when a bean definition reader encounters an error during the parsing process.

  - ### org.springframework.beans.factory.support中BeanDefinitionStoreException的使用

    抛出BeanDefinitionStoreException的org.springframework.beans.factory.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected void` | AbstractBeanFactory.`checkMergedBeanDefinition(RootBeanDefinition mbd, String beanName, Object[] args)` Check the given merged bean definition, potentially throwing validation exceptions.
    `static String` | BeanDefinitionReaderUtils.`generateBeanName(BeanDefinition beanDefinition, BeanDefinitionRegistry registry)` Generate a bean name for the given top-level bean definition, unique within the given bean factory.
    `static String` | BeanDefinitionReaderUtils.`generateBeanName(BeanDefinition definition, BeanDefinitionRegistry registry, boolean isInnerBean)` Generate a bean name for the given bean definition, unique within the given bean factory.
    `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.
    `int` | PropertiesBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.support.EncodedResource encodedResource)` Load bean definitions from the specified properties file.
    `int` | PropertiesBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.support.EncodedResource encodedResource, String prefix)` Load bean definitions from the specified properties file.
    `int` | AbstractBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource... resources)`
    `int` | BeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource... resources)` Load bean definitions from the specified resources.
    `int` | BeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource resource)` Load bean definitions from the specified resource.
    `int` | PropertiesBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource resource)` Load bean definitions from the specified properties file, using all property keys (i.e. not filtering by prefix).
    `int` | PropertiesBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource resource, String prefix)` Load bean definitions from the specified properties file.
    `int` | AbstractBeanDefinitionReader.`loadBeanDefinitions(String... locations)`
    `int` | BeanDefinitionReader.`loadBeanDefinitions(String... locations)` Load bean definitions from the specified resource locations.
    `int` | AbstractBeanDefinitionReader.`loadBeanDefinitions(String location)`
    `int` | BeanDefinitionReader.`loadBeanDefinitions(String location)` Load bean definitions from the specified resource location.
    `int` | AbstractBeanDefinitionReader.`loadBeanDefinitions(String location, Set<org.springframework.core.io.Resource> actualResources)` Load bean definitions from the specified resource location.
    `static void` | BeanDefinitionReaderUtils.`registerBeanDefinition(BeanDefinitionHolder definitionHolder, BeanDefinitionRegistry registry)` Register the given bean definition with the given bean factory.
    `void` | BeanDefinitionRegistry.`registerBeanDefinition(String beanName, BeanDefinition beanDefinition)` Register a new bean definition with this registry.
    `void` | DefaultListableBeanFactory.`registerBeanDefinition(String beanName, BeanDefinition beanDefinition)`
    `void` | SimpleBeanDefinitionRegistry.`registerBeanDefinition(String beanName, BeanDefinition beanDefinition)`
    `int` | PropertiesBeanDefinitionReader.`registerBeanDefinitions(ResourceBundle rb)` Register bean definitions contained in a resource bundle, using all property keys (i.e. not filtering by prefix).
    `int` | PropertiesBeanDefinitionReader.`registerBeanDefinitions(ResourceBundle rb, String prefix)` Register bean definitions contained in a ResourceBundle.
    `static String` | BeanDefinitionReaderUtils.`registerWithGeneratedName(AbstractBeanDefinition definition, BeanDefinitionRegistry registry)` Register the given bean definition with a generated name, unique within the given bean factory.

  - ### org.springframework.beans.factory.xml中BeanDefinitionStoreException的使用

    org.springframework.beans.factory.xml中BeanDefinitionStoreException的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `XmlBeanDefinitionStoreException` XML-specific BeanDefinitionStoreException subclass that wraps a `SAXException`, typically a `SAXParseException` which contains information about the error location.

    抛出BeanDefinitionStoreException的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected int` | XmlBeanDefinitionReader.`doLoadBeanDefinitions(InputSource inputSource, org.springframework.core.io.Resource resource)` Actually load bean definitions from the specified XML file.
    `int` | XmlBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.support.EncodedResource encodedResource)` Load bean definitions from the specified XML file.
    `int` | XmlBeanDefinitionReader.`loadBeanDefinitions(InputSource inputSource)` Load bean definitions from the specified XML file.
    `int` | XmlBeanDefinitionReader.`loadBeanDefinitions(InputSource inputSource, String resourceDescription)` Load bean definitions from the specified XML file.
    `int` | XmlBeanDefinitionReader.`loadBeanDefinitions(org.springframework.core.io.Resource resource)` Load bean definitions from the specified XML file.
    `int` | XmlBeanDefinitionReader.`registerBeanDefinitions(Document doc, org.springframework.core.io.Resource resource)` Register the bean definitions contained in the given DOM document.
    `void` | BeanDefinitionDocumentReader.`registerBeanDefinitions(Document doc, XmlReaderContext readerContext)` Read bean definitions from the given DOM document and register them with the registry in the given reader context.
    `protected String` | AbstractBeanDefinitionParser.`resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)` Resolve the ID for the supplied `BeanDefinition`.