Spring Data Document

org.springframework.data.document.mongodb.mapping
Class MongoMappingContext

java.lang.Object
  extended by org.springframework.data.mapping.AbstractMappingContext<BasicMongoPersistentEntity<?>,MongoPersistentProperty>
      extended by org.springframework.data.document.mongodb.mapping.MongoMappingContext
All Implemented Interfaces:
InitializingBean, ApplicationEventPublisherAware, org.springframework.data.mapping.model.MappingContext<BasicMongoPersistentEntity<?>,MongoPersistentProperty>

public class MongoMappingContext
extends org.springframework.data.mapping.AbstractMappingContext<BasicMongoPersistentEntity<?>,MongoPersistentProperty>

Author:
Jon Brisbin

Constructor Summary
MongoMappingContext()
           
 
Method Summary
protected  void augmentSimpleTypes()
           
protected
<T> BasicMongoPersistentEntity<T>
createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
           
 MongoPersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, BasicMongoPersistentEntity<?> owner)
           
 
Methods inherited from class org.springframework.data.mapping.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, getEntityValidators, getPersistentEntities, getPersistentEntity, getPersistentEntity, setApplicationEventPublisher, setCustomSimpleTypes, setInitialEntitySet, setStrict
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoMappingContext

public MongoMappingContext()
Method Detail

augmentSimpleTypes

protected void augmentSimpleTypes()

createPersistentProperty

public MongoPersistentProperty createPersistentProperty(Field field,
                                                        PropertyDescriptor descriptor,
                                                        BasicMongoPersistentEntity<?> owner)
Specified by:
createPersistentProperty in class org.springframework.data.mapping.AbstractMappingContext<BasicMongoPersistentEntity<?>,MongoPersistentProperty>

createPersistentEntity

protected <T> BasicMongoPersistentEntity<T> createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
Specified by:
createPersistentEntity in class org.springframework.data.mapping.AbstractMappingContext<BasicMongoPersistentEntity<?>,MongoPersistentProperty>

Spring Data Document

Copyright © 2011. All Rights Reserved.