public class DefaultActiveProfilesResolver extends ObjectSE implements ActiveProfilesResolver
ActiveProfiles.profiles()
または ActiveProfiles.value()
を介して宣言的に構成されたプロファイルのみに基づいてアクティブな Bean 定義プロファイルを解決する ActiveProfilesResolver
戦略のデフォルト実装。ActiveProfiles
, ActiveProfilesResolver
コンストラクターと説明 |
---|
DefaultActiveProfilesResolver() |
修飾子と型 | メソッドと説明 |
---|---|
StringSE[] | resolve(ClassSE<?> testClass) ActiveProfiles.profiles() または ActiveProfiles.value() を介して宣言的に構成されたプロファイルに基づいて、指定されたテストクラスSEの Bean 定義プロファイルを解決します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public StringSE[] resolve(ClassSE<?> testClass)
ActiveProfiles.profiles()
または ActiveProfiles.value()
を介して宣言的に構成されたプロファイルに基づいて、指定されたテストクラスSEの Bean 定義プロファイルを解決します。ActiveProfilesResolver
の resolve
testClass
- プロファイルを解決する必要があるテストクラス。null
ApplicationContext
をロードするときに使用する Bean 定義プロファイルのリスト。null
ActiveProfiles.resolver()
, ActiveProfiles.inheritProfiles()