クラス SystemProfileValueSource

java.lang.ObjectSE
org.springframework.test.annotation.SystemProfileValueSource
実装されたすべてのインターフェース:
ProfileValueSource

public final class SystemProfileValueSource extends ObjectSE implements ProfileValueSource
基になるソースとしてシステムプロパティを使用する ProfileValueSource の実装。
導入:
2.0
作成者:
Rod Johnson, Sam Brannen
  • メソッドの詳細

    • getInstance

      public static SystemProfileValueSource getInstance()
      この ProfileValueSource の正規インスタンスを取得します。
    • get

      public StringSE get(StringSE key)
      指定されたキーが示すプロファイル値をシステムプロパティから取得します
      次で指定:
      インターフェース ProfileValueSourceget 
      パラメーター:
      key - プロファイル値の名前
      戻り値:
      プロファイル値の文字列値、またはそのキーを持つプロファイル値がない場合は null 
      関連事項: