Class MongoDbFactoryParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.data.mongodb.config.MongoDbFactoryParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
public class MongoDbFactoryParser
extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
BeanDefinitionParser
to parse db-factory
elements into BeanDefinition
s.- Author:
- Jon Brisbin, Oliver Gierke, Thomas Darimont, Christoph Strobl, Viktor Khoroshko, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.beans.factory.support.AbstractBeanDefinition
parseInternal
(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) protected String
resolveId
(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext) Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
MongoDbFactoryParser
public MongoDbFactoryParser()
-
-
Method Details
-
resolveId
protected String resolveId(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext) throws org.springframework.beans.factory.BeanDefinitionStoreException - Overrides:
resolveId
in classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- Throws:
org.springframework.beans.factory.BeanDefinitionStoreException
-
parseInternal
protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) - Specified by:
parseInternal
in classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-