Class ArangoMappingContext
java.lang.Object
org.springframework.data.mapping.context.AbstractMappingContext<DefaultArangoPersistentEntity<?>,ArangoPersistentProperty>
com.arangodb.springframework.core.mapping.ArangoMappingContext
- All Implemented Interfaces:
Aware,InitializingBean,ApplicationContextAware,ApplicationEventPublisherAware,MappingContext<DefaultArangoPersistentEntity<?>,ArangoPersistentProperty>
public class ArangoMappingContext
extends AbstractMappingContext<DefaultArangoPersistentEntity<?>,ArangoPersistentProperty>
implements ApplicationContextAware
- Author:
- Mark Vollmary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> DefaultArangoPersistentEntity<?>createPersistentEntity(TypeInformation<T> typeInformation) protected ArangoPersistentPropertycreatePersistentProperty(Property property, DefaultArangoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) voidsetApplicationContext(ApplicationContext applicationContext) voidsetFieldNamingStrategy(FieldNamingStrategy fieldNamingStrategy) 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, setManagedTypes, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.mapping.context.MappingContext
getRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntity
-
Constructor Details
-
ArangoMappingContext
public ArangoMappingContext()
-
-
Method Details
-
createPersistentEntity
protected <T> DefaultArangoPersistentEntity<?> createPersistentEntity(TypeInformation<T> typeInformation) - Specified by:
createPersistentEntityin classAbstractMappingContext<DefaultArangoPersistentEntity<?>,ArangoPersistentProperty>
-
createPersistentProperty
protected ArangoPersistentProperty createPersistentProperty(Property property, DefaultArangoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) - Specified by:
createPersistentPropertyin classAbstractMappingContext<DefaultArangoPersistentEntity<?>,ArangoPersistentProperty>
-
setApplicationContext
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Overrides:
setApplicationContextin classAbstractMappingContext<DefaultArangoPersistentEntity<?>,ArangoPersistentProperty> - Throws:
BeansException
-
setFieldNamingStrategy
-