クラス AbstractVaultConverter
java.lang.ObjectSE
org.springframework.vault.repository.convert.AbstractVaultConverter
- 実装済みのインターフェース一覧:
InitializingBean、EntityConverter<VaultPersistentEntity<?>,、VaultPersistentProperty, ObjectSE, SecretDocument> EntityReader<ObjectSE,、SecretDocument> EntityWriter<ObjectSE,、SecretDocument> VaultConverter
- 既知の直属サブクラス
MappingVaultConverter
public abstract class AbstractVaultConverter
extends ObjectSE
implements VaultConverter, InitializingBean
VaultConverter 実装の基本クラス。GenericConversionService をセットアップし、基本的なコンバーターを設定します。- 導入:
- 2.0
- 作成者:
- Mark Paluch
フィールド概要
フィールド修飾子と型フィールド説明protected CustomConversionsprotected final GenericConversionServiceprotected EntityInstantiatorsコンストラクター概要
コンストラクターコンストラクター説明AbstractVaultConverter(GenericConversionService conversionService) 指定されたGenericConversionServiceを使用して新しいAbstractVaultConverterを作成します。方法の概要
修飾子と型メソッド説明voidvoidsetCustomConversions(CustomConversions conversions) 指定されたカスタム変換をコンバーターに登録します。voidsetInstantiators(EntityInstantiators instantiators) EntityInstantiatorsを登録して、エンティティのインスタンス化をカスタマイズします。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.data.convert.EntityConverter から継承されたメソッド
getMappingContextインターフェース org.springframework.data.convert.EntityReader から継承されたメソッド
readインターフェース org.springframework.data.convert.EntityWriter から継承されたメソッド
write
フィールドの詳細
conversionService
conversions
instantiators
コンストラクターの詳細
AbstractVaultConverter
指定されたGenericConversionServiceを使用して新しいAbstractVaultConverterを作成します。- パラメーター:
conversionService- null であってはなりません。
メソッドの詳細
setCustomConversions
指定されたカスタム変換をコンバーターに登録します。- パラメーター:
conversions-
setInstantiators
EntityInstantiatorsを登録して、エンティティのインスタンス化をカスタマイズします。- パラメーター:
instantiators-
getConversionService
- 次で指定:
- インターフェース
EntityConverter<VaultPersistentEntity<?>,のVaultPersistentProperty, ObjectSE, SecretDocument> getConversionService
afterPropertiesSet
public void afterPropertiesSet()- 次で指定:
- インターフェース
InitializingBeanのafterPropertiesSet