Class CosmosMappingContext

java.lang.Object
org.springframework.data.mapping.context.AbstractMappingContext<BasicCosmosPersistentEntity<?>,CosmosPersistentProperty>
com.azure.spring.data.cosmos.core.mapping.CosmosMappingContext
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.data.mapping.context.MappingContext<BasicCosmosPersistentEntity<?>,CosmosPersistentProperty>

public class CosmosMappingContext extends org.springframework.data.mapping.context.AbstractMappingContext<BasicCosmosPersistentEntity<?>,CosmosPersistentProperty>
Class to build mapping metadata and thus create instances of BasicCosmosPersistentEntity and CosmosPersistentProperty.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> BasicCosmosPersistentEntity<T>
    createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
     
    createPersistentProperty(org.springframework.data.mapping.model.Property property, BasicCosmosPersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     

    Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext

    addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationEventPublisher, setInitialEntitySet, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityFor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.mapping.context.MappingContext

    getRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntity
  • Constructor Details

    • CosmosMappingContext

      public CosmosMappingContext()
  • Method Details