クラス ResultEventFactorySelector

java.lang.ObjectSE
org.springframework.webflow.action.ResultEventFactorySelector

public class ResultEventFactorySelector extends ObjectSE
特定の結果オブジェクトに使用する ResultEventFactory を選択するヘルパー。
作成者:
Keith Donald
関連事項:
  • コンストラクターの詳細

    • ResultEventFactorySelector

      public ResultEventFactorySelector()
  • メソッドの詳細

    • forMethod

      public ResultEventFactory forMethod(MethodSE method)
      指定されたメソッドを呼び出そうとする適切な結果イベントファクトリを選択します。
      パラメーター:
      method - メソッド
      戻り値:
      結果イベントファクトリ
    • forResult

      public ResultEventFactory forResult(ObjectSE result)
      指定された結果に対して適切な結果イベントファクトリを選択します。
      パラメーター:
      result - 結果
      戻り値:
      結果イベントファクトリ
    • forType

      protected ResultEventFactory forType(ClassSE<?> resultType)
      指定された結果型に対して適切な結果イベントファクトリを選択します。この実装は、その結果イベントファクトリの型が mapped である場合は ResultObjectBasedEventFactory を返し、それ以外の場合は SuccessEventFactory を返します。
      パラメーター:
      resultType - 結果の型
      戻り値:
      結果イベントファクトリ