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 BeanDefinitions.
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.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 class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser