public abstract class AbstractVaultConverter extends Object implements VaultConverter, InitializingBean
VaultConverter implementations. Sets up a
GenericConversionService and populates basic converters.| Modifier and Type | Field and Description |
|---|---|
protected CustomConversions |
conversions |
protected GenericConversionService |
conversionService |
protected EntityInstantiators |
instantiators |
| Constructor and Description |
|---|
AbstractVaultConverter(GenericConversionService conversionService)
Creates a new
AbstractVaultConverter using the given
GenericConversionService. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ConversionService |
getConversionService() |
void |
setCustomConversions(CustomConversions conversions)
Registers the given custom conversions with the converter.
|
void |
setInstantiators(EntityInstantiators instantiators)
Registers
EntityInstantiators to customize entity instantiation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMappingContextreadwriteprotected final GenericConversionService conversionService
protected CustomConversions conversions
protected EntityInstantiators instantiators
public AbstractVaultConverter(GenericConversionService conversionService)
AbstractVaultConverter using the given
GenericConversionService.conversionService - must not be null.public void setCustomConversions(CustomConversions conversions)
conversions - public void setInstantiators(EntityInstantiators instantiators)
EntityInstantiators to customize entity instantiation.instantiators - public ConversionService getConversionService()
getConversionService in interface EntityConverter<VaultPersistentEntity<?>,VaultPersistentProperty,Object,SecretDocument>public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanCopyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.