Class MappingMongoConverterParser
java.lang.Object
org.springframework.data.mongodb.config.MappingMongoConverterParser
- All Implemented Interfaces:
- BeanDefinitionParser
Bean definition parser for the 
mapping-converter element.- Author:
- Jon Brisbin, Oliver Gierke, Maciej Walkowiak, Thomas Darimont, Christoph Strobl, Mark Paluch, Zied Yaich, Tomasz Forys
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionparse(Element element, ParserContext parserContext) parseConverter(Element element, ParserContext parserContext) static StringpotentiallyCreateMappingContext(Element element, ParserContext parserContext, BeanDefinition conversionsDefinition, String converterId) Deprecated, for removal: This API element is subject to removal in a future version.since 4.3.static StringpotentiallyCreateMappingContext(Element element, ParserContext parserContext, BeanDefinition conversionsDefinition, String converterId, boolean autoIndexCreation) Create and register theBeanDefinitionfor aMongoMappingContextif not explicitly referenced by a given mapping-context-refattribuite.
- 
Constructor Details- 
MappingMongoConverterParserpublic MappingMongoConverterParser()
 
- 
- 
Method Details- 
parse- Specified by:
- parsein interface- BeanDefinitionParser
 
- 
potentiallyCreateMappingContext@Deprecated(since="4.3", forRemoval=true) public static String potentiallyCreateMappingContext(Element element, ParserContext parserContext, @Nullable BeanDefinition conversionsDefinition, @Nullable String converterId) Deprecated, for removal: This API element is subject to removal in a future version.since 4.3. UsepotentiallyCreateMappingContext(Element, ParserContext, BeanDefinition, String, boolean)instead.Create and register theBeanDefinitionfor aMongoMappingContextif not explicitly referenced by a given mapping-context-refattribuite.- Returns:
- the mapping context bean name.
 
- 
potentiallyCreateMappingContextpublic static String potentiallyCreateMappingContext(Element element, ParserContext parserContext, @Nullable BeanDefinition conversionsDefinition, @Nullable String converterId, boolean autoIndexCreation) Create and register theBeanDefinitionfor aMongoMappingContextif not explicitly referenced by a given mapping-context-refattribuite.- Returns:
- the mapping context bean name.
 
- 
parseConverter
 
-