Uses of Class
org.springframework.beans.factory.BeanDefinitionStoreException
Packages that use BeanDefinitionStoreException
Package
Description
SPI interfaces and configuration-related convenience classes for bean factories.
Support package for Groovy-based bean definitions.
Support infrastructure for bean definition parsing.
Classes supporting the
org.springframework.beans.factory
package.Contains an abstract XML-based
BeanFactory
implementation,
including a standard "spring-beans" XSD.Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
-
Uses of BeanDefinitionStoreException in org.springframework.beans.factory.config
Methods in org.springframework.beans.factory.config that throw BeanDefinitionStoreExceptionModifier and TypeMethodDescriptionvoid
ConfigurableBeanFactory.registerAlias
(String beanName, String alias) Given a bean name, create an alias. -
Uses of BeanDefinitionStoreException in org.springframework.beans.factory.groovy
Methods in org.springframework.beans.factory.groovy that throw BeanDefinitionStoreExceptionModifier and TypeMethodDescriptionint
GroovyBeanDefinitionReader.loadBeanDefinitions
(Resource resource) Load bean definitions from the specified Groovy script or XML file.int
GroovyBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource) Load bean definitions from the specified Groovy script or XML file. -
Uses of BeanDefinitionStoreException in org.springframework.beans.factory.parsing
Subclasses of BeanDefinitionStoreException in org.springframework.beans.factory.parsingModifier and TypeClassDescriptionclass
Exception thrown when a bean definition reader encounters an error during the parsing process. -
Uses of BeanDefinitionStoreException in org.springframework.beans.factory.support
Subclasses of BeanDefinitionStoreException in org.springframework.beans.factory.supportModifier and TypeClassDescriptionclass
Subclass ofBeanDefinitionStoreException
indicating an invalid override attempt: typically registering a new definition for the same bean name whileDefaultListableBeanFactory.isAllowBeanDefinitionOverriding()
isfalse
.Methods in org.springframework.beans.factory.support that throw BeanDefinitionStoreExceptionModifier and TypeMethodDescriptionstatic 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
AbstractBeanDefinitionReader.loadBeanDefinitions
(String location) int
AbstractBeanDefinitionReader.loadBeanDefinitions
(String... locations) int
AbstractBeanDefinitionReader.loadBeanDefinitions
(String location, Set<Resource> actualResources) Load bean definitions from the specified resource location.int
AbstractBeanDefinitionReader.loadBeanDefinitions
(Resource... resources) int
BeanDefinitionReader.loadBeanDefinitions
(String location) Load bean definitions from the specified resource location.int
BeanDefinitionReader.loadBeanDefinitions
(String... locations) Load bean definitions from the specified resource locations.int
BeanDefinitionReader.loadBeanDefinitions
(Resource resource) Load bean definitions from the specified resource.int
BeanDefinitionReader.loadBeanDefinitions
(Resource... resources) Load bean definitions from the specified resources.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(Resource resource) Deprecated.Load bean definitions from the specified properties file, using all property keys (i.e.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(Resource resource, String prefix) Deprecated.Load bean definitions from the specified properties file.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource) Deprecated.Load bean definitions from the specified properties file.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource, String prefix) Deprecated.Load bean definitions from the specified properties file.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) Deprecated.Register bean definitions contained in a resource bundle, using all property keys (i.e.int
PropertiesBeanDefinitionReader.registerBeanDefinitions
(ResourceBundle rb, String prefix) Deprecated.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. -
Uses of BeanDefinitionStoreException in org.springframework.beans.factory.xml
Subclasses of BeanDefinitionStoreException in org.springframework.beans.factory.xmlModifier and TypeClassDescriptionclass
XML-specific BeanDefinitionStoreException subclass that wraps aSAXException
, typically aSAXParseException
which contains information about the error location.Methods in org.springframework.beans.factory.xml that throw BeanDefinitionStoreExceptionModifier and TypeMethodDescriptionprotected int
XmlBeanDefinitionReader.doLoadBeanDefinitions
(InputSource inputSource, Resource resource) Actually load bean definitions from the specified XML file.int
XmlBeanDefinitionReader.loadBeanDefinitions
(Resource resource) Load bean definitions from the specified XML file.int
XmlBeanDefinitionReader.loadBeanDefinitions
(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.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.int
XmlBeanDefinitionReader.registerBeanDefinitions
(Document doc, Resource resource) Register the bean definitions contained in the given DOM document.protected String
AbstractBeanDefinitionParser.resolveId
(Element element, AbstractBeanDefinition definition, ParserContext parserContext) Resolve the ID for the suppliedBeanDefinition
. -
Uses of BeanDefinitionStoreException in org.springframework.context.support
Methods in org.springframework.context.support that throw BeanDefinitionStoreExceptionModifier and TypeMethodDescriptionvoid
GenericApplicationContext.registerBeanDefinition
(String beanName, BeanDefinition beanDefinition)