Class VaultMappingContext
java.lang.Object
org.springframework.data.mapping.context.AbstractMappingContext<E,P>
org.springframework.data.keyvalue.core.mapping.context.KeyValueMappingContext<VaultPersistentEntity<?>,VaultPersistentProperty>
org.springframework.vault.repository.mapping.VaultMappingContext
- All Implemented Interfaces:
Aware
,InitializingBean
,ApplicationContextAware
,ApplicationEventPublisherAware
,MappingContext<VaultPersistentEntity<?>,
VaultPersistentProperty>
public class VaultMappingContext
extends KeyValueMappingContext<VaultPersistentEntity<?>,VaultPersistentProperty>
Mapping context for
Vault-specific entities
.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T> VaultPersistentEntity<?>
createPersistentEntity
(TypeInformation<T> typeInformation) protected VaultPersistentProperty
createPersistentProperty
(Property property, VaultPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) void
setFallbackKeySpaceResolver
(KeySpaceResolver fallbackKeySpaceResolver) Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationContext, setApplicationEventPublisher, setInitialEntitySet, 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
-
VaultMappingContext
public VaultMappingContext()
-
-
Method Details
-
getFallbackKeySpaceResolver
-
setFallbackKeySpaceResolver
- Overrides:
setFallbackKeySpaceResolver
in classKeyValueMappingContext<VaultPersistentEntity<?>,
VaultPersistentProperty>
-
createPersistentEntity
- Overrides:
createPersistentEntity
in classKeyValueMappingContext<VaultPersistentEntity<?>,
VaultPersistentProperty>
-
createPersistentProperty
protected VaultPersistentProperty createPersistentProperty(Property property, VaultPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) - Overrides:
createPersistentProperty
in classKeyValueMappingContext<VaultPersistentEntity<?>,
VaultPersistentProperty>
-