WebSphere Application Server - Express, Version 6.0.x   
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows

             目次と検索結果のパーソナライズ化

Common Base Event のサンプル・テンプレート

Common Base Event の complete メソッドが呼び出された際、コンテンツ・ハンドラーはテンプレート情報を 使用して、Common Base Event の空欄に入力を行います。

WebSphere Application Server イベント・ファクトリーのホ ームを使用するコンポーネントは、Common Base Event のテンプレート XML フ ァイルを組み込んで、Common Base Event を取り込むデータを提供することができます。イベントで既に指定された情報は、同じフィールドがテンプレートで指定されてもオーバーライドされません。

以下に、Common Base Event テンプレートの例を示します。
<?xml version="1.0" encoding="UTF-8"?>

<TemplateEvent 
		version="1.0.1" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xsi:noNamespaceSchemaLocation="templateEvent.xsd">

	<CommonBaseEvent 
		<sourceComponentId application="My Application" component="com.ibm.componentX"/>
		<extendedDataElements name="Sample ExtendedDataElement name"	type="string">
			<values>Sample ExtendedDataElement value</values>
		</extendedDataElements>
	</CommonBaseEvent>

</TemplateEvent>



関連概念
WebSphere Application Server の Common Base Event
関連タスク
アプリケーションへのロギングおよびトレースの追加
関連資料
Common Base Event の構造
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 11:31:28 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_cbetemplate.html