jp.co.ogis_ri.citk.common.exception
クラス CitkExceptionStrategy

java.lang.Object
  上位を拡張 org.mule.processor.AbstractMessageProcessorOwner
      上位を拡張 org.mule.exception.AbstractExceptionStrategy
          上位を拡張 org.mule.exception.AbstractMessagingExceptionStrategy
              上位を拡張 jp.co.ogis_ri.citk.common.exception.CitkExceptionStrategy
すべての実装されたインタフェース:
AnnotatedObject, FlowConstructAware, MuleContextAware, ExceptionHandler, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable

public class CitkExceptionStrategy
extends AbstractMessagingExceptionStrategy

Mule ESBのカスタムExceptionStrategyクラス実装。CitkSystemException および、 CitkApplicationException のサブクラスに関して、ハンドリングを行う。 これらの例外をハンドルする際は、ユーザエージェントに対して通知するエラーメッセージも生成する。

作成者:
ISP Shiraishi

フィールドの概要
 
クラス org.mule.exception.AbstractExceptionStrategy から継承されたフィールド
commitTxFilter, enableNotifications, initialised, messageProcessors, rollbackTxFilter
 
クラス org.mule.processor.AbstractMessageProcessorOwner から継承されたフィールド
flowConstruct, muleContext
 
インタフェース org.mule.api.lifecycle.Initialisable から継承されたフィールド
PHASE_NAME
 
インタフェース org.mule.api.lifecycle.Startable から継承されたフィールド
PHASE_NAME
 
インタフェース org.mule.api.lifecycle.Stoppable から継承されたフィールド
PHASE_NAME
 
インタフェース org.mule.api.lifecycle.Disposable から継承されたフィールド
PHASE_NAME
 
インタフェース org.mule.api.AnnotatedObject から継承されたフィールド
PROPERTY_NAME
 
コンストラクタの概要
CitkExceptionStrategy(MuleContext muleContext)
          コンストラクタ。
 
メソッドの概要
 String getEncoding()
          エンコードを取得する。
 MuleEvent handleException(Exception e, MuleEvent event)
          Exceptionハンドラ。
 MuleEvent handleException(Exception ex, MuleEvent event, RollbackSourceCallback rollbackMethod)
          Exceptionハンドラ。
 void setEncoding(String encoding)
          エンコードを設定する。
 
クラス org.mule.exception.AbstractMessagingExceptionStrategy から継承されたメソッド
doHandleException, isStopMessageProcessing, setStopMessageProcessing, stopFlow
 
クラス org.mule.exception.AbstractExceptionStrategy から継承されたメソッド
addEndpoint, closeStream, commit, doInitialise, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
クラス org.mule.processor.AbstractMessageProcessorOwner から継承されたメソッド
dispose, getAnnotation, getAnnotations, setAnnotations, setFlowConstruct, setMuleContext, start, stop
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CitkExceptionStrategy

public CitkExceptionStrategy(MuleContext muleContext)
コンストラクタ。

メソッドの詳細

getEncoding

public String getEncoding()
エンコードを取得する。

戻り値:
エンコード。

setEncoding

public void setEncoding(String encoding)
エンコードを設定する。

パラメータ:
encoding - エンコード。

handleException

public MuleEvent handleException(Exception e,
                                 MuleEvent event)
Exceptionハンドラ。

定義:
インタフェース MessagingExceptionHandler 内の handleException
オーバーライド:
クラス AbstractMessagingExceptionStrategy 内の handleException
パラメータ:
e - 対象のException。
event - Muleイベント。
戻り値:
Muleイベント。

handleException

public MuleEvent handleException(Exception ex,
                                 MuleEvent event,
                                 RollbackSourceCallback rollbackMethod)
Exceptionハンドラ。

定義:
インタフェース MessagingExceptionHandler 内の handleException
オーバーライド:
クラス AbstractMessagingExceptionStrategy 内の handleException
パラメータ:
ex - 対象のException。
event - Muleイベント
rollbackMethod。 -
戻り値:
Muleイベント。


Copyright © 2011-2012 OGIS-RI Co.,Ltd.. All Rights Reserved.