インターフェース RepositoryConfiguration<T extends RepositoryConfigurationSource>
- すべての既知の実装クラス:
DefaultRepositoryConfiguration
public interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
単一のリポジトリインスタンスの構成情報。
- 作成者:
- Oliver Gierke, Mark Paluch
メソッドのサマリー
修飾子と型メソッド説明リポジトリがスキャンされた基本パッケージを返します。RepositoryConfiguration
をサポートするRepositoryConfigurationSource
を返します。パッケージをリポジトリスキャンから除外するために使用されるTypeFilter
を返します。リポジトリの実装をスキャンする基本パッケージを返します。使用するカスタム実装 Bean 名を返します。Spring Data という名前のクエリを含むファイルの場所を返します。最終的にQueryLookupStrategy
を解決するためのキーを返します。使用するリポジトリ基本クラスの名前を返します。ストア固有のデフォルトを適用する場合は null を返します。使用するリポジトリの Bean 名を返します。使用するリポジトリファクトリ Bean クラスの名前を返します。リポジトリのインターフェース名を返します。エラー報告の目的で、リポジトリインターフェース宣言の人間が読める形式の説明を返します。RepositoryConfiguration
のソースを返します。boolean
リポジトリプロキシを遅延初期化するかどうかを返します。boolean
リポジトリがその型のプライマリリポジトリであるかどうかを返します。このリポジトリに使用されるImplementationDetectionConfiguration
を返します。指定されたMetadataReaderFactory
のImplementationLookupConfiguration
を返します。
メソッドの詳細
getBasePackages
Streamable<StringSE> getBasePackages()リポジトリがスキャンされた基本パッケージを返します。- 戻り値:
getImplementationBasePackages
Streamable<StringSE> getImplementationBasePackages()リポジトリの実装をスキャンする基本パッケージを返します。- 戻り値:
- 導入:
- 2.0
getRepositoryInterface
StringSE getRepositoryInterface()リポジトリのインターフェース名を返します。- 戻り値:
getQueryLookupStrategyKey
ObjectSE getQueryLookupStrategyKey()最終的にQueryLookupStrategy
を解決するためのキーを返します。- 戻り値:
- 関連事項:
getNamedQueriesLocation
OptionalSE<StringSE> getNamedQueriesLocation()Spring Data という名前のクエリを含むファイルの場所を返します。- 戻り値:
getRepositoryBaseClassName
OptionalSE<StringSE> getRepositoryBaseClassName()使用するリポジトリ基本クラスの名前を返します。ストア固有のデフォルトを適用する場合は null を返します。- 戻り値:
- 導入:
- 1.11
getRepositoryFactoryBeanClassName
StringSE getRepositoryFactoryBeanClassName()使用するリポジトリファクトリ Bean クラスの名前を返します。- 戻り値:
getImplementationBeanName
StringSE getImplementationBeanName()使用するカスタム実装 Bean 名を返します。- 戻り値:
- 導入:
- 3.0
getRepositoryBeanName
StringSE getRepositoryBeanName()使用するリポジトリの Bean 名を返します。- 戻り値:
- 導入:
- 3.0
getSource
RepositoryConfiguration
のソースを返します。- 戻り値:
getConfigurationSource
T getConfigurationSource()RepositoryConfiguration
をサポートするRepositoryConfigurationSource
を返します。- 戻り値:
isLazyInit
boolean isLazyInit()リポジトリプロキシを遅延初期化するかどうかを返します。- 戻り値:
isPrimary
boolean isPrimary()リポジトリがその型のプライマリリポジトリであるかどうかを返します。- 戻り値:
- リポジトリがその型のプライマリリポジトリであるかどうかは true です。
- 導入:
- 2.3
getExcludeFilters
Streamable<TypeFilter> getExcludeFilters()パッケージをリポジトリスキャンから除外するために使用されるTypeFilter
を返します。- 戻り値:
toImplementationDetectionConfiguration
ImplementationDetectionConfiguration toImplementationDetectionConfiguration(MetadataReaderFactory factory) このリポジトリに使用されるImplementationDetectionConfiguration
を返します。- パラメーター:
factory
- null であってはなりません。- 戻り値:
- null になることはありません。
- 導入:
- 2.1
toLookupConfiguration
指定されたMetadataReaderFactory
のImplementationLookupConfiguration
を返します。- パラメーター:
factory
- null であってはなりません。- 戻り値:
- null になることはありません。
- 導入:
- 2.1
getResourceDescription
エラー報告の目的で、リポジトリインターフェース宣言の人間が読める形式の説明を返します。- 戻り値:
- null でもかまいません。
- 導入:
- 2.3