次の要素は、sca-config.xmlに追加され、カスタム・アダプタで使用するアイコンとSCAEndpoint実装クラスについてSOAダイアグラムに通知して、追加情報を提供します。サブ要素の定義として、次のものがあります。
name: リソース・バンドルから取得されます。
description: リソース・バンドルから取得されます。
tooltip: リソース・バンドルから取得されます(グラフィックでマウス・カーソルの下に表示されます)。
icon16x16: パレットで使用されるアイコン。
icon20x20: グラフィックで使用されるアイコン。
他の4つのアイコンは使用されません。
<adapterType
resourceBundle="oracle.tip.tools.ide.pm.modules.biz
integration.adapter.custom.resource.CustomStringResourceBundle">
<name>${CUSTOM_ADAPTER_COMPONENT_NAME_L}</name>
<bindingType>jca</bindingType>
<bindingSubType>custom</bindingSubType
<implementationClass>oracle.tip.tools.ide.pm.modules.bizintegration.adapter.custom.CustomScaEndpointImpl</implementationClass>
<description>${CUSTOM_ADAPTER_COMPONENT_DESC}</description>
<tooltip>${CUSTOM_ADAPTER_COMPONENT_DESC}</tooltip>
<icon16x16>/oracle/tip/tools/ide/pm/modules/bizintegration/adapter/custom/resource/custom_adapter_16x16.png</icon16x16>
<icon20x20>/oracle/tip/tools/ide/pm/modules/bizintegration/adapter/custom/resource/custom_adapter_20x20.png</icon20x20>
<topSectionIcon>oracle/tip/tools/ide/fabric/resource/image/visuals_rd1/whiteServiceTop.png</topSectionIcon>
<middleSectionIcon>oracle/tip/tools/ide/fabric/resource/image/visuals_rd1/whiteServiceMiddle.png</middleSectionIcon>
<bottomSectionIcon>oracle/tip/tools/ide/fabric/resource/image/visuals_rd1/whiteServiceBottom.png</bottomSectionIcon>
<collapsedSectionIcon>oracle/tip/tools/ide/fabric/
resource/image/visuals_rd1/whiteServiceCollapsed.png</collapsedSectionIcon>
</adapterType>
<collapsedSectionIcon>oracle/tip/tools/ide/fabric/resource/image/
visuals_rd1/whiteServiceCollapsed.png</collapsedSectionIcon>
</adapterType>
sca-config.xmlの<adapterType>には、リソース・バンドルのクラス名を格納する必要のあるリソース・バンドル属性が含まれます。このリソース・バンドルは、SOAダイアグラマで、ダイアグラムのエンドポイントのラベル付けに使用する変換済テキストの取得に使用されます。
たとえば、カスタム・アダプタのエントリを参照する場合、ダイアグラムにカスタム・アダプタを表示する際に、ダイアグラムではCustomStringResourceBundleでCUSTOM_ADAPTER_COMPONENT_NAME_Lが検索されます。
アダプタ・ウィザードの内部で、ダイアグラムではリソース・バンドルを使用して、ウィザード内のすべてのラベルのテキストが取得されます。カスタム・アダプタの場合、同じバンドルが使用されます。