jp.terasoluna.fw.batch.springsupport.transaction
クラス TransactionalSupportLogicResultHandler
java.lang.Object
jp.terasoluna.fw.batch.standard.StandardSupportLogicResultHandler
jp.terasoluna.fw.batch.springsupport.transaction.TransactionalSupportLogicResultHandler
- すべての実装されたインタフェース:
- SupportLogicResultHandler
public class TransactionalSupportLogicResultHandler
- extends StandardSupportLogicResultHandler
トランザクション処理を行う SupportLogicResultHandler
インタフェ
ースの実装クラス。
BLogicResult
のリターンコードに応じて、トランザクション処理
(コミット、ロールバック)を行う。トランザクション状態は、
TransactionalJobStatus
に保持されている。
BLogicResult
のリターンコードとして ERROR_END
が
返された場合には、実行中のトランザクションをロールバックする。
この処理はセーブポイントを利用しているかどうかによらず行われる。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalSupportLogicResultHandler
public TransactionalSupportLogicResultHandler()
processErrorEnd
protected void processErrorEnd(JobStatus jobStatus,
BLogicResult blogicResult,
java.lang.String name)
BLogicResult
のリターンコードが ERROR_END
で
あるときの処理を行う。
トランザクションをロールバックし、親クラスの処理を呼び出す。
- オーバーライド:
- クラス
StandardSupportLogicResultHandler
内の processErrorEnd
- パラメータ:
jobStatus
- ジョブステータスblogicResult
- ビジネスロジック処理結果name
- サポート処理名