インターフェース RepositoryConfiguration<T extends RepositoryConfigurationSource>

すべての既知の実装クラス:
DefaultRepositoryConfiguration

public interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
単一のリポジトリインスタンスの構成情報。
作成者:
Oliver Gierke, Mark Paluch
  • メソッドの詳細

    • 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

      @Nullable ObjectSE 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

      指定された MetadataReaderFactoryImplementationLookupConfiguration を返します。
      パラメーター:
      factory - null であってはなりません。
      戻り値:
      null になることはありません。
      導入:
      2.1
    • getResourceDescription

      @Nullable StringSE getResourceDescription()
      エラー報告の目的で、リポジトリインターフェース宣言の人間が読める形式の説明を返します。
      戻り値:
      null でもかまいません。
      導入:
      2.3