クラス QuerydslBindingsFactory
java.lang.ObjectSE
org.springframework.data.querydsl.binding.QuerydslBindingsFactory
- 実装されているすべてのインターフェース:
Aware, ApplicationContextAware
EntityPathResolver を使用して QuerydslBindings を作成するファクトリ。- 導入:
- 1.11
- 作成者:
- Oliver Gierke, Christoph Strobl, Mark Paluch
コンストラクターの概要
コンストラクターコンストラクター説明QuerydslBindingsFactory(EntityPathResolver entityPathResolver) 指定されたEntityPathResolverを使用して新しいQuerydslBindingsFactoryを作成します。メソッドのサマリー
修飾子と型メソッド説明createBindingsFor(TypeInformation<?> domainType) 指定されたドメイン型に使用するQuerydslBindingsを作成します。createBindingsFor(TypeInformation<?> domainType, ClassSE<? extends QuerydslBinderCustomizer<?>> customizer) 指定されたドメイン型と事前定義されたQuerydslBinderCustomizerに使用するQuerydslBindingsを作成します。ファクトリで使用されているEntityPathResolverを返します。voidsetApplicationContext(ApplicationContext applicationContext)
コンストラクターの詳細
QuerydslBindingsFactory
指定されたEntityPathResolverを使用して新しいQuerydslBindingsFactoryを作成します。- パラメーター:
entityPathResolver- null であってはなりません。
メソッドの詳細
setApplicationContext
- 次で指定:
- インターフェース
ApplicationContextAwareのsetApplicationContext - 例外:
BeansException
getEntityPathResolver
ファクトリで使用されているEntityPathResolverを返します。- 戻り値:
- entityPathResolver
createBindingsFor
指定されたドメイン型に使用するQuerydslBindingsを作成します。QuerydslBinderCustomizerは自動検出されます。- パラメーター:
domainType- null であってはなりません。- 戻り値:
- null になることはありません。
createBindingsFor
public QuerydslBindings createBindingsFor(TypeInformation<?> domainType, ClassSE<? extends QuerydslBinderCustomizer<?>> customizer) 指定されたドメイン型と事前定義されたQuerydslBinderCustomizerに使用するQuerydslBindingsを作成します。- パラメーター:
domainType- null であってはなりません。customizer- 使用するQuerydslBinderCustomizerは null であってはなりません。- 戻り値:
- null になることはありません。