インターフェースの使用
org.springframework.data.repository.core.support.QueryCreationListener
QueryCreationListener を使用するパッケージ
パッケージ
説明
リポジトリの CDI サポートを実装する基本クラス。
さまざまなデータストアのリポジトリを実装するための基本クラス。
org.springframework.data.repository.cdi 内の QueryCreationListener 使用
型 QueryCreationListener の引数を持つ型を返す org.springframework.data.repository.cdi のメソッド修飾子と型メソッド説明default ListSE<QueryCreationListener<?>>
CdiRepositoryConfiguration.getQueryCreationListeners()
リポジトリプロキシの作成中に使用されるQueryCreationListener
のリストを返します。org.springframework.data.repository.core.support 内の QueryCreationListener 使用
型 QueryCreationListener のパラメーターを持つ org.springframework.data.repository.core.support のメソッド修飾子と型メソッド説明void
RepositoryFactorySupport.addQueryCreationListener
(QueryCreationListener<?> listener) QueryCreationListener
をファクトリに追加して、RepositoryQuery
インスタンスの作成直後にトリガーされる機能をプラグインします。