Class MongoPersistentEntityIndexCreator

java.lang.Object
org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
All Implemented Interfaces:
EventListener, ApplicationListener<MappingContextEvent<?,?>>

public class MongoPersistentEntityIndexCreator extends Object implements ApplicationListener<MappingContextEvent<?,?>>
Component that inspects MongoPersistentEntity instances contained in the given MongoMappingContext for indexing metadata and ensures the indexes to be available.
Author:
Jon Brisbin, Oliver Gierke, Philipp Schneider, Johno Crawford, Laurent Canet, Christoph Strobl, Mark Paluch