Class PersistentEntitiesFactoryBean

java.lang.Object
org.springframework.data.mongodb.config.PersistentEntitiesFactoryBean
All Implemented Interfaces:
FactoryBean<org.springframework.data.mapping.context.PersistentEntities>

public class PersistentEntitiesFactoryBean extends Object implements FactoryBean<org.springframework.data.mapping.context.PersistentEntities>
Simple helper to be able to wire the PersistentEntities from a MappingMongoConverter bean available in the application context.
Since:
3.1
Author:
Oliver Gierke, Mark Paluch, Christoph Strobl
  • Constructor Details

  • Method Details

    • getObject

      public org.springframework.data.mapping.context.PersistentEntities getObject()
      Specified by:
      getObject in interface FactoryBean<org.springframework.data.mapping.context.PersistentEntities>
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface FactoryBean<org.springframework.data.mapping.context.PersistentEntities>