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) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.data.keyvalue.core.mapping.context.KeyValueMappingContext
getKeySpaceResolver, setFallbackKeySpaceResolver, setKeySpaceResolver
Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationContext, setApplicationEventPublisher, setInitialEntitySet, setManagedTypes, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityFor, shouldCreateProperties
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
@Nullable @Deprecated(since="3.1", forRemoval=true) public KeySpaceResolver getFallbackKeySpaceResolver()Deprecated, for removal: This API element is subject to removal in a future version.since 3.1,KeySpaceResolver
has fully moved intoKeyValueMappingContext
.- Returns:
- the
KeySpaceResolver
if configured.
-
createPersistentEntity
- Overrides:
createPersistentEntity
in classKeyValueMappingContext<VaultPersistentEntity<?>,
VaultPersistentProperty>
-
createPersistentProperty
protected VaultPersistentProperty createPersistentProperty(Property property, VaultPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) - Overrides:
createPersistentProperty
in classKeyValueMappingContext<VaultPersistentEntity<?>,
VaultPersistentProperty>
-
KeySpaceResolver
has fully moved intoKeyValueMappingContext
.