クラス ApplicationModuleDetectionStrategyLookup

java.lang.ObjectSE
org.springframework.modulith.core.ApplicationModuleDetectionStrategyLookup

class ApplicationModuleDetectionStrategyLookup extends ObjectSE
ApplicationModule のコードをスキャンするときに使用する ApplicationModuleDetectionStrategy のファクトリ。
作成者:
Oliver Drotbohm
  • コンストラクターの詳細

    • ApplicationModuleDetectionStrategyLookup

      ApplicationModuleDetectionStrategyLookup()
  • メソッドの詳細

    • getStrategy

      static ApplicationModuleDetectionStrategy getStrategy()
      ApplicationModule を検出するために使用される ApplicationModuleDetectionStrategy を返します。次のアルゴリズムを使用します。
      1. spring.modulith.detection-strategy 構成プロパティに direct-sub-packages または explicitly-annotated のいずれかが構成されている場合は、準備された戦略を使用します。
      2. Interpret the configured value as class if it doesn't match the predefined values just described.
      3. Use the ApplicationModuleDetectionStrategy declared in META-INF/spring.properties (非推奨)
      4. A final fallback on the direct-sub-packages.
      戻り値:
      null になることはありません。