public abstract class AbstractVaultConverter extends Object implements VaultConverter, org.springframework.beans.factory.InitializingBean
VaultConverter implementations. Sets up a
GenericConversionService and populates basic converters.| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.data.convert.CustomConversions |
conversions |
protected org.springframework.core.convert.support.GenericConversionService |
conversionService |
protected org.springframework.data.convert.EntityInstantiators |
instantiators |
| Constructor and Description |
|---|
AbstractVaultConverter(org.springframework.core.convert.support.GenericConversionService conversionService)
Creates a new
AbstractVaultConverter using the given
GenericConversionService. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.core.convert.ConversionService |
getConversionService() |
void |
setCustomConversions(org.springframework.data.convert.CustomConversions conversions)
Registers the given custom conversions with the converter.
|
void |
setInstantiators(org.springframework.data.convert.EntityInstantiators instantiators)
Registers
EntityInstantiators to customize entity instantiation. |
protected final org.springframework.core.convert.support.GenericConversionService conversionService
protected org.springframework.data.convert.CustomConversions conversions
protected org.springframework.data.convert.EntityInstantiators instantiators
public AbstractVaultConverter(org.springframework.core.convert.support.GenericConversionService conversionService)
AbstractVaultConverter using the given
GenericConversionService.conversionService - must not be null.public void setCustomConversions(org.springframework.data.convert.CustomConversions conversions)
conversions - public void setInstantiators(org.springframework.data.convert.EntityInstantiators instantiators)
EntityInstantiators to customize entity instantiation.instantiators - public org.springframework.core.convert.ConversionService getConversionService()
getConversionService in interface org.springframework.data.convert.EntityConverter<VaultPersistentEntity<?>,VaultPersistentProperty,Object,SecretDocument>public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanCopyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.