事件处理程序如清单20所示。
此调用活动将调用事件处理程序。
事件处理程序可以关联到一定范围。
清单6展示了该事件处理程序。
级联式下拉控件的事件处理程序。
向域类添加事件处理程序。
第2部分:事件处理程序必须进行何种操作?
记住,异步事件处理程序的执行是有保证的。
You remember that asynchronous event handlers are guaranteed to be executed.
这类似于内置在GUI系统的事件处理程序。
This is analogous to the event handler built into GUI systems.
事件处理程序是在与其关联的范围启动时启用的。
Event handlers are enabled when the scope they are associated with starts.
在定义事件处理程序时,必须仔细考虑这些限制。
These restrictions must be considered carefully when an event handler is defined.
补偿事件处理程序只补偿了完整的范围。
The compensate handler only compensates the completed scope.
如何在WS - BPEL中指定事件处理程序?
如果审阅完成,事件处理程序会对此变量进行递减。
If a review is finished, the event handler decrements this variable.
在解析过程中,通过回调事件通知客户事件处理程序。
Client event handlers are informed through callbacks about the events during this parsing process.
关联的范围启动时,相应的事件处理程序就已启用了。
An event handler is said to be enabled once the associated scope starts.
此外,事件处理程序带来的高并发性可能会导致新问题。
Additionally, the increased concurrency introduced by event handlers can lead to new problems.
使用事件处理程序的索引来从全局输入列表中选择输入值。
Use the event handler’s index to select the input out of the global input list.
本文描述如何设计使用事件处理程序来实现取消操作的流程。
This article described how to design processes to implement the cancellation function with the event handler.
清单3显示的代码片段根据流程实例ID获取事件处理程序。
Listing 3 shows the code snippet getting the event handler by a process instance ID.
WS - BPEL定义了若干应用到事件处理程序的限制。
WS-BPEL defines several restrictions that apply to event handlers.
添加事件处理程序来应对随时可能发生的取消事件。
Add event handlers to deal with the cancellation event that can happen at uncertain times.
组件的事件处理程序通常都是在调用程序阶段执行的。
The event handler for components normally executes in the invoke application phase.
在事件驱动环境中,视图通过事件处理程序调用代码。
In event-driven environments, the view invokes code through event handlers.
将要以并行方式执行的该部分业务逻辑放在该事件处理程序内部。
Place that part of the business logic that is to be processed in parallel inside that event handler.
从事件处理程序内访问变量受到WS - BPEL范围规则控制。
Access to variables from within event handlers is governed by WS-BPEL scoping rules.
reviewStartRequest事件处理程序的输入变量。
它除了澄清术语之外,还允许较好的变量范围和附加的事件处理程序。
In addition to clarifying terminology, it allows finer scoping of variables and the addition of event handlers.
尽管如此,它还是需要附加到对象,这与常规的事件处理程序相同。
Despite this, however, it still needs to be attached to an object, just like a regular event handler.
如果全局范围要求使用事件处理程序的结果,请在全局结果变量中设置该结果。
If the global scope requires the result of the event handler, set the result in the global result variable.
应用推荐