public class AerospikeMappingContext extends AbstractMappingContext<BasicAerospikePersistentEntity<?>,AerospikePersistentProperty> implements ApplicationContextAware
MappingContext.| Constructor and Description |
|---|
AerospikeMappingContext() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> BasicAerospikePersistentEntity<?> |
createPersistentEntity(TypeInformation<T> typeInformation) |
protected AerospikePersistentProperty |
createPersistentProperty(Field field,
PropertyDescriptor descriptor,
BasicAerospikePersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setFieldNamingStrategy(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(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(TypeInformation<T> typeInformation)
createPersistentEntity in class AbstractMappingContext<BasicAerospikePersistentEntity<?>,AerospikePersistentProperty>protected AerospikePersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, BasicAerospikePersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)
createPersistentProperty in class AbstractMappingContext<BasicAerospikePersistentEntity<?>,AerospikePersistentProperty>public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionCopyright © 2011-2015–2017 Aerospike Inc.. All rights reserved.