public class ServiceProcessConditionFactoryImpl extends java.lang.Object implements ServiceProcessConditionFactory
class condition_class_name error_handle no_operation / null / exception (error_handle type handle handle handle_class_name ) (error_handle type exception message message_string ) or filter filter_string session_value filter_target_value error_handle ....
修飾子とタイプ | フィールドと説明 |
---|---|
static Key |
KEY_Class |
static Key |
KEY_Continue |
static Key |
KEY_NoCheck |
KEY_ServiceProcessConditionFactory
コンストラクタと説明 |
---|
ServiceProcessConditionFactoryImpl(Resource resource,
ResourceSessionFilterFactory resourceFilterFactory,
ServiceProcessConditionErrorHandlerFactory errorHandlerFactory) |
修飾子とタイプ | メソッドと説明 |
---|---|
ServiceProcessCondition |
getServiceProcessCondition(Key serviceNameKey,
Key processNameKey,
boolean beforeAfterFlag,
java.lang.Object conditionInfo)
before_condition !
|
public static final Key KEY_Class
public static final Key KEY_Continue
public static final Key KEY_NoCheck
public ServiceProcessConditionFactoryImpl(Resource resource, ResourceSessionFilterFactory resourceFilterFactory, ServiceProcessConditionErrorHandlerFactory errorHandlerFactory)
public ServiceProcessCondition getServiceProcessCondition(Key serviceNameKey, Key processNameKey, boolean beforeAfterFlag, java.lang.Object conditionInfo) throws FatalException
before_condition !外部Heleperクラス名 ":"を含む文字列の場合はServiceConditionProcessFacadeを実装したBeanへのpath名とみなして処理を行う before_condition 存在チェック対象SessoinKeyリスト ;; default:existチェックかつ、continue trueで設定(no_check_keyは、no_check_session_key) (bofore_condition class 外部Helperクラス名 ) (before_condition ;; またはafter_condition exist 存在をチェックするSessionキー名 ;; Sessionキー名は","に続けて複数記述可能, ~で始まるとNotExistと解釈される error 例外メッセージ | &Skip | &Return | !error_handler ) (before_condition filter ServiceSessionFilterFactoryに対するFilter文字列 error 例外メッセージ | &Skip | &Return | !error_handler clear ClearSessionKeyList ;; &Skip, &Returnの際にclearするSessionKeyを列挙する ) (before_condition filter !ServiceSessionFilterをimplementsした外部Helperクラス名 error 例外メッセージ ) [before_condition exist 存在をチェックするSessionキー名 ;; Sessionキー名は","に続けて複数記述可能 error 例外メッセージ | &Skip | &Return | !error_handler continue true / false ;; (option)記述しない場合はfalse 継続チェック可能などうかを指定する。継続チェック可能の場合、非継続チェック可能な条件までチェックが続けて行われ、最後にそのすべての例外メッセージを保持したServiceExceptionが送信される , 次の条件... ]
getServiceProcessCondition
インタフェース内 ServiceProcessConditionFactory
FatalException