ページの先頭行へ戻る
 Apcoordinator定義ファイルリファレンス
FUJITSU Software

6.1 handlerConfig

ビジネスクラス設定ファイルのルート要素です。

アトリビュート

handlerConfigタグのアトリビュートは指定できません。

コンテント

コンテントには以下をこの順番で記述します。

  • configタグ(1個記述します。)

  • handlerタグ(任意個数記述できます。)

使用例
<?xml version="1.0" encoding="Shift_JIS"?>
<handlerConfig
    xmlns="http://interstage.fujitsu.com/schemas/uji/handlerConfig"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://interstage.fujitsu.com/schemas/uji/handlerConfig
                        http://interstage.fujitsu.com/schemas/uji/handlerconfig.xsd">
  <config>
    <version>6.0</version>
  </config>

  <handler name="sample.SampleHandler">
    <method name="doUpdate">
      <transaction enabled="true"/>
      <retry enabled="true" retryInterval="200" retryCount="1" />
    </method>
    <method name="search">
      <retry enabled="true" retryInterval="200" retryCount="1" />
    </method>
    <method name="*">
      <transaction enabled="false"/>
      <retry enabled="false"/>
    </method>
  </handler>
</handlerConfig>