Service Registry 3.1 管理指南

隱藏分類方案

分類方案的樹狀結構會出現在下列的 Web Console 區域:

身為管理員,如果您不想讓 Service Registry 的使用者使用分類方案,可將分類方案隱藏不顯示。若要隱藏分類方案,請在配置檔案中定義特性。

Procedure隱藏分類方案

  1. 變更至目錄 RegistryDomain-base/domains/registry/applications/j2ee-modules/soar/WEB-INF/classes

  2. 在文字編輯器中開啟檔案 jaxr-ebxml.properties

  3. 使用下列語法,設定特性 jaxr-ebxml.registryBrowser.ConceptsTreeModel.hiddenSchemesList。所有的特性定義必須全部位於同一行,且不得包含空格。

    jaxr-ebxml.registryBrowser.ConceptsTreeModel.hiddenSchemesList=
    class-scheme-id1|class-scheme-id2|...

    指定要隱藏的各個分類方案的邏輯識別碼。如果您指定一個以上的識別碼,請使用垂直列 (|) 分隔各個識別碼,如以下範例所示:

    jaxr-ebxml.registryBrowser.ConceptsTreeModel.hiddenSchemesList=
    urn:oasis:names:tc:ebxml-regrep:classificationScheme:StatusType|
    urn:oasis:names:tc:ebxml-regrep:profile:ws:classificationScheme:BindingType
  4. 儲存並關閉 jaxr-ebxml.properties 檔案。

  5. 依照停止並重新啟動 Registry 的 Application Server 網域中的說明進行操作。