クラス 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
を返します。void
setApplicationContext
(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 になることはありません。