このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Service NestedRegistry
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: registry ::

service NestedRegistry
Description
supports a 株d 見解(をとる) on two different registries. The registry とじ込み/提出するs will be opened in two different 方式s, registry1 will be opened with read/令状 権利s and registry2 will be opened read-only. In the 状況 of this service, the 機能(する)/行事s open, の近くに, and destroy from XSimpleRegistry are not supported and throw an exception if they are used.
機能(する)/行事s of XSimpleRegistry:
getURL
returns the 指名する of registry1.
isValid
checks if registry1 is valid. If the interface is not NULL then registry1 should always be valid.
isReadOnly
checks if registry1 has 令状 保護.
mergeKey
合併するs all (警察などへの)密告,告訴(状) from the 明示するd registry in registry1.
getRootKey
returns a 事実上の rootkey of both registries.

機能(する)/行事s of XRegistryKey:
openKey
returns a 事実上の 重要な which is 明示するd in registy1 or registry2.
deleteKey
削除するs the 重要な only if it is 現在の in registry1.
setLongValue, setAsciiValue, setStringValue, setBinaryValue
始める,決めるs the value at the 明示するd 重要な in registry1.
getLongValue, getAsciiValue, getStringValue, getBinaryValue
returns the value at the 明示するd 重要な in registry1, or if the value is not 現在の in registry1, it will return the value of registry2.
openKeys
returns a sequence of all subkeys in both registries.
getKeyNames
returns a sequence with the 指名するs of all subkeys in both registries.

公式文書,認める: all 令状 機能(する)/行事s only work on registry1.

How to initialize the registries:
Use a sequence of XSimpleRegistry with two elements. The first element must be the registry which is opened with read/令状 権利s and the second element must be the read-only one.
Two different ways are possible:
  • use XMultiServiceFactory::createInstanceWithArguments() to create an instance of this service where the value of the any parameter must be the sequence with the two open registries.
  • use the initialize 機能(する)/行事 of the ::com::sun::星/主役にする::lang::XInitialization interface where the value of the any parameter must be the sequence with the two open registries.

保証(人)s:
  • -thread 安全な

輸出(する)d Interfaces - 要約
XSimpleRegistry
(言及/関連d (独立の)存在's 要約:)
許すs 接近 to a registry (a 執拗な data source). The data is 蓄える/店d in a hierarchical 重要な structure beginning with a root 重要な. Each 重要な can 蓄える/店 a value and can have 多重の subkeys.
::com::sun::星/主役にする::lang::XInitialization
(言及/関連d (独立の)存在's 要約:)
initializes an 反対する 直接/まっすぐに after its 創造.
輸出(する)d Interfaces - 詳細(に述べる)s
XSimpleRegistry
(言及/関連d (独立の)存在's 要約:)
許すs 接近 to a registry (a 執拗な data source). The data is 蓄える/店d in a hierarchical 重要な structure beginning with a root 重要な. Each 重要な can 蓄える/店 a value and can have 多重の subkeys.
::com::sun::星/主役にする::lang::XInitialization
(言及/関連d (独立の)存在's 要約:)
initializes an 反対する 直接/まっすぐに after its 創造.

 
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.