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 ArangoPersistentProperty
createPersistentProperty
(Property property, DefaultArangoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) void
setApplicationContext
(ApplicationContext applicationContext) void
setFieldNamingStrategy
(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, 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
-
ArangoMappingContext
public ArangoMappingContext()
-
-
Method Details
-
createPersistentEntity
protected <T> DefaultArangoPersistentEntity<?> createPersistentEntity(TypeInformation<T> typeInformation) - Specified by:
createPersistentEntity
in classAbstractMappingContext<DefaultArangoPersistentEntity<?>,
ArangoPersistentProperty>
-
createPersistentProperty
protected ArangoPersistentProperty createPersistentProperty(Property property, DefaultArangoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) - Specified by:
createPersistentProperty
in classAbstractMappingContext<DefaultArangoPersistentEntity<?>,
ArangoPersistentProperty>
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Overrides:
setApplicationContext
in classAbstractMappingContext<DefaultArangoPersistentEntity<?>,
ArangoPersistentProperty> - Throws:
BeansException
-
setFieldNamingStrategy
-