高度なカスタマイズ > ビジネスロジックのカスタマイズ > Windchill Workgroup Manager のカスタマイズ > カスタムイベントリスナーの登録
  
カスタムイベントリスナーの登録
ファイル <Windchill>/codebase/com/ptc/windchill/uwgm/common/delegate/application.service.xconf でカスタムリスナー (UwgmEventListener) ハンドラを登録する必要があります。
一般的なフォーマットの例を以下に示します。
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Configuration SYSTEM "xconf.dtd">
<Configuration targetFile="codebase/service.properties">
<!-- UWGM Custom Services Implementation for Unit Test -->
<Service context="default"
name="com.ptc.windchill.uwgm.proesrv.c11n.UwgmEventListener">
<Option cardinality="duplicate"
requestor="java.lang.Object" selector="PRE_CHECKIN"
serviceClass="com.ptc.windchill.uwgm.proesrv.c11n.UwgmC11nEventListenerTest"/>
</Service>
</Configuration>
カスタムイベントリスナーの登録用に、現在のところ次のセレクタがサポートされています。
PRE_CHECKIN
PRE_CHECKOUT
PRE_RENAME
PRE_SAVEAS
PRE_REVISE
xconfmanager ユーティリティを使用して、application.service.xconf ファイル内の変更を service.properties ファイルに反映する必要があります。