nablarch.fw.invoker
クラス HandlerListProtector<T>

java.lang.Object
  上位を拡張 nablarch.fw.invoker.HandlerListProtector<T>
型パラメータ:
T - ハンドラの型

public class HandlerListProtector<T>
extends java.lang.Object

ハンドラリストを保護するクラス。

デフォルトでは、ハンドラリストのインスタンスは変更に対して保護される。 変更が必要な場合、適切な保護モードHandlerListProtector.ProtectModeを設定する。


入れ子のクラスの概要
static class HandlerListProtector.ProtectMode
          ハンドラリストの保護モード。
 
コンストラクタの概要
HandlerListProtector()
          コンストラクタ。
HandlerListProtector(HandlerListProtector.ProtectMode protectMode)
          コンストラクタ。
 
メソッドの概要
 java.util.List<T> protect(java.util.List<T> original)
           
 void setProtectMode(HandlerListProtector.ProtectMode protectMode)
          ハンドラリストの保護モード(HandlerListProtector.ProtectMode)を設定する。
 void setProtectModeExpression(java.lang.String protectModeValue)
          ハンドラリストの保護モード(HandlerListProtector.ProtectMode)を設定する。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HandlerListProtector

public HandlerListProtector()
コンストラクタ。


HandlerListProtector

public HandlerListProtector(HandlerListProtector.ProtectMode protectMode)
コンストラクタ。

パラメータ:
protectMode - 保護モード
メソッドの詳細

protect

public java.util.List<T> protect(java.util.List<T> original)

setProtectModeExpression

public void setProtectModeExpression(java.lang.String protectModeValue)
ハンドラリストの保護モード(HandlerListProtector.ProtectMode)を設定する。

パラメータ:
protectModeValue - 保護モード

setProtectMode

public void setProtectMode(HandlerListProtector.ProtectMode protectMode)
ハンドラリストの保護モード(HandlerListProtector.ProtectMode)を設定する。

パラメータ:
protectMode - 保護モード