public class AerospikeMappingContext extends org.springframework.data.mapping.context.AbstractMappingContext<BasicAerospikePersistentEntity<?>,AerospikePersistentProperty> implements org.springframework.context.ApplicationContextAware
MappingContext.| Constructor and Description |
|---|
AerospikeMappingContext() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> BasicAerospikePersistentEntity<?> |
createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation) |
protected AerospikePersistentProperty |
createPersistentProperty(Field field,
PropertyDescriptor descriptor,
BasicAerospikePersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDefaultNameSpace(String defaultNameSpace) |
void |
setFieldNamingStrategy(org.springframework.data.mapping.model.FieldNamingStrategy fieldNamingStrategy)
Configures the
FieldNamingStrategy to be used to determine the field name if no manual mapping is applied. |
addPersistentEntity, addPersistentEntity, afterPropertiesSet, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationEventPublisher, setInitialEntitySet, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityForpublic void setFieldNamingStrategy(org.springframework.data.mapping.model.FieldNamingStrategy fieldNamingStrategy)
FieldNamingStrategy to be used to determine the field name if no manual mapping is applied.
Defaults to a strategy using the plain property name.fieldNamingStrategy - the FieldNamingStrategy to be used to determine the field name if no manual
mapping is applied.protected <T> BasicAerospikePersistentEntity<?> createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
createPersistentEntity in class org.springframework.data.mapping.context.AbstractMappingContext<BasicAerospikePersistentEntity<?>,AerospikePersistentProperty>protected AerospikePersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, BasicAerospikePersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
createPersistentProperty in class org.springframework.data.mapping.context.AbstractMappingContext<BasicAerospikePersistentEntity<?>,AerospikePersistentProperty>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setDefaultNameSpace(String defaultNameSpace)
Copyright © 2011–2018 Aerospike Inc.. All rights reserved.