パッケージ jakarta.enterprise.event

インターフェース NotificationOptions


public interface NotificationOptions
通知オプションは、オブザーバー通知を構成するために使用されます。
導入:
2.0
作成者:
Martin Kouba
関連事項:
  • 方法の詳細

    • getExecutor

      ExecutorSE getExecutor()
      戻り値:
      非同期イベントの実行に使用されるエグゼキュータ
    • get

      ObjectSE get(StringSE optionName)
      パラメーター:
      optionName - 値を取得するオプションの名前
      戻り値:
      オプションの値、または指定された名前のオプションが存在しない場合は null 
    • ofExecutor

      static NotificationOptions ofExecutor(ExecutorSE executor)
      パラメーター:
      executor - オブザーバー通知を処理するための特定の ExecutorSE
      戻り値:
      遺言執行者の不変の所有者
    • of

      static NotificationOptions of(StringSE optionName, ObjectSE optionValue)
      パラメーター:
      optionName - 設定するオプションの名前
      optionValue - オプションの値
      戻り値:
      単一オプションの不変のホルダー
    • builder

      static NotificationOptions.Builder builder()
      戻り値:
      オプションビルダー