Interceptor実装サービス jp.ossc.nimbus.service.aop.interceptor.IncompatibleExceptionUnwrapInterceptorService

jp.ossc.nimbus.service.aop.interceptor.IncompatibleExceptionUnwrapInterceptorServiceは、クラスファイルに互換性のない例外クラスをラップしたIncompatibleExceptionWrapExeptionをアンラップして例外をthrowするInterceptor実装サービスです。

このインターセプタは、発生した例外の情報をIncompatibleExceptionWrapInterceptorServiceと対になるサービスです。詳細は、そちらに記述してあります。

以下に簡単なサービス定義を示します。

  1. <?xml version="1.0" encoding="Shift_JIS"?>
  2. <!DOCTYPE server PUBLIC
  3. "-//Nimbus//DTD Nimbus 1.0//JA"
  4. "http://nimbus.sourceforge.jp/dtd/nimbus-service_1_0.dtd">
  5. <server>
  6. <manager>
  7. <!-- IncompatibleExceptionWrapExeptionをアンラップして例外をthrowするInterceptorサービス -->
  8. <service name="IncompatibleExceptionUnwrapInterceptor"
  9. code="jp.ossc.nimbus.service.aop.interceptor.IncompatibleExceptionUnwrapInterceptorService"/>
  10. </manager>
  11. </server>


アスペクト指向/Interceptor