WebSphere Application Server Network Deployment, Version 6.1   
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows, Windows Vista

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

コンソール・モジュール・エレメント - 固有 ID のためのガイドライン

コンソール・モジュールは、アプリケーション全体で固有であるエレメント ID を提供する XML 記述子から成り立っています。 このトピックは、一意性を確実にする手助けとなるこれらの ID の設定のためのガイドラインを提供します。 WebSphere Application Server Toolkit のようないくつかの開発ツールは、ランダムに生成された固有の名前を割り当てます。 固有の名前を独自に管理する必要がある場合は、以下のガイドラインに従います。

製品または製品スイート・チームは、コンソール・モジュールのための命名規則を定義することをお勧めします。 最大の効果を得るため、これらの規則はコンソール・モジュールを開発す る前に定義します。それにより、微調整の時間が確保され、再作業を回避する ことができます。以下の規則は、アプリケーションの固 有の名前の管理に役立つ 1 つのガイドラインを提供します。

namespace + module_name + element name + identifier

ID は、同じ記述子内のさまざまなエレメントを識別するために必要です。 例えば、以下の固有の名前は、TreeMerge サンプルのポータル・トポロジー記述子内で使用されます。

<component-tree         uniqueName="com.ibm.isclite.TreeMerge.appTree"                   ...
<portlet-definition     uniqueName="com.ibm.isclite.TreeMerge.appElementDefinition.A"    ...
<portlet-entity         uniqueName="com.ibm.isclite.TreeMerge.appElement.A"              ...
<portlet-definition     uniqueName="com.ibm.isclite.TreeMerge.appElementDefinition.B"    ...
<portlet-entity         uniqueName="com.ibm.isclite.TreeMerge.appElement.B"              ...
<layout-element         uniqueName="com.ibm.isclite.TreeMerge.layoutElement.A"           ...
<simple-container       uniqueName="com.ibm.isclite.TreeMerge.container.A"               ...
<window                 uniqueName="com.ibm.isclite.TreeMerge.window.A">                 ...
<layout-element         uniqueName="com.ibm.isclite.TreeMerge.layoutElement.B"           ...
<simple-container       uniqueName="com.ibm.isclite.TreeMerge.container.B"               ...
<window                 uniqueName="com.ibm.isclite.TreeMerge.window.B"                  ...
<navigation-element     uniqueName="com.ibm.isclite.treemerge.navigationElement.A"       ...
<navigation-element     uniqueName="com.ibm.isclite.treemerge.navigationElement.B"       ...
<navigation-content     uniqueName="com.ibm.isclite.treemerge.navigationContent.B"       ...




関連情報
記述子の作成
参照トピック    

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

最終更新: Jan 21, 2008 7:44:53 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/isc/naming_conv.html