The interaction handler service has a numerof of built-in handlers, responsible
for a lot of 井戸/弁護士席 known interactions. Additionally, there's a configuration module which 許すs to
configure 付加 handlers, 責任がある 独断的な requests.
Built-in Handlers
The に引き続いて 井戸/弁護士席-known requests can be dealt with by the built-in handlers:
The requests 示すd with an asterisk are only 扱うd if (a) their
延長/続編s match 確かな 制限s (see below), and (b) the
necessary 資源 strings are 利用できる (this can be 偉業/利用するd by
使用/適用s that carry only a subset of all 資源 とじ込み/提出するs with
them).
The 延長/続編 制限s are as follows: Let C be the
subset of the 供給するd 延長/続編s that are of type
XInteractionApprove,
XInteractionDisapprove,
XInteractionRetry, or
XInteractionAbort (or of a
derived type). All other 延長/続編s are ignored for these requests.
The request is only 扱うd if the 始める,決める C is any of the
に引き続いて:
- 中止する
- Retry, 中止する
- 認可する
- 認可する, 中止する
- 認可する, Disapprove
- 認可する, Disapprove, 中止する
An
::com::sun::星/主役にする::ucb::InteractiveAugmentedIOException
carries with it a sequence of arguments, which should be
::com::sun::星/主役にする::beans::PropertyValues. The に引き続いて
詳細(に述べる)s which 所有物/資産/財産s are 解釈する/通訳するd by the interaction handler,
depending on the request's
::com::sun::星/主役にする::ucb::IOErrorCode:
"Uri"
- All error codes except
IOErrorCode::DIFFERENT_DEVICES.
The URI of the 伴う/関わるd 資源 (a
string
).
"ResourceName"
- All error codes except
IOErrorCode::DIFFERENT_DEVICES.
A 指名する for the 伴う/関わるd 資源 (a
string
) that might be
more meaningful to the 使用者 than the URI. For example, a
(壇・綱領・公約-扶養家族) path notation for とじ込み/提出する system 資源s.
"ResourceType"
- IOErrorCode::DEVICE_NOT_READY
and
IOErrorCode::NOT_EXISTING
only. An identifier for the type of 資源 伴う/関わるd (a
string
). 現在/一般に understood values are
"容積/容量"
(e.g., a とじ込み/提出する system 容積/容量) and
"folder"
(i.e., a 資源 that 含む/封じ込めるs other
資源s).
"Removable"
- IOErrorCode::NOT_EXISTING
only. A 旗 示すing whether the 資源 resides on a 貯蔵
medium that can be 除去するd by the 使用者 (a
boolean
).
"Folder"
- IOErrorCode::CANT_CREATE
only. The 指名する of the foler in which a 資源 cannot be created (a
string
).
"容積/容量"
and "OtherVolume"
- IOErrorCode::DIFFERENT_DEVICES
only. The 指名するs of the two 容積/容量s 伴う/関わるd (two
string
s).
Configurating 付加 Handlers
It is possible to configure 付加 interaction handlers, to which 確かな requests can be 委任する/代表d. The
configuration node /org.openoffice.Interaction/InteractionHandlers
is 評価するd and 尊敬(する)・点d
by the InteractionHandler
実施.
A custom interaction handler can 宣言する itself 責任がある an 独断的な number of UNO types, 明示するd
by 十分な-qualified type 指名する. Also, for each type, it can 明示する whether it is 責任がある only this particular
type, or all かもしれない existent derived types.
Whenever the InteractionHandler
遭遇(する)s a request it cannot 実行する itself, it will 診察する
the configuration, to find a handler 実施 for the request, and 委任する/代表 it to the first matching
handler.
If 多重の custom interaction handlers 宣言する themself 責任がある the same request type, it is not
defined which handler will actully be invoked. Thus, when (軍隊を)展開する,配備するing a custom interaction handler, 確実にする
that the types you 明示する are general enough to cover all requests you want to 扱う, but also 明確な/細部
enough to not cover requests which other handlers might be 利益/興味d in.