The Service Registry provides validation and notification interfaces, which allows you to write custom validation and notification code.
ServiceRegistry提供允许编写自定义验证和通知代码的验证和通知接口。
Listing 4 shows a typical messaging event, posting notification of a new high bid in an auction system, and the code that generates it.
清单4显示了一个典型的消息传递事件,即发布拍卖系统中的一个新的高投标通知和产生该事件的代码。
What if a team leader depends on E-mail as the notification that it is time to do a code review?
如果一个团队的领导将电子邮件当作提示参加代码评审会的通知,会怎么样?
Alerts provide notification that new code is available, and updates are installed with a click of the mouse.
警报会发出新代码已可用的通知,只需单击鼠标就能安装更新。
A very simple implementation of a notification subscriber (omitting repeated code) is presented in Listing 3.
清单3给出了通知订阅器的一个非常简单的实现(删除了重复代码)。
The sample code initially parses the source of the notification to determine the task ID.
示例代码首先解析通知源以确定任务ID。
A very simple implementation of notification consumer (omitting repeated code) is presented in Listing 2.
清单2给出了通知使用者的一个非常简单的实现(删除了重复代码)。
The client code would either poll the output queue for the response or wait for some kind of call-back notification when the response message has been delivered.
客户机代码将轮询输出队列以获得响应,或等待响应消息交付时的回调通知。
A simple implementation of notification subscriber (omitting repeated code) is presented in Listing 5.
清单5给出了通知订阅器的一个非常简单的实现(删除了重复代码)。
With the required WSDL files in place we can proceed with the sample code, which shows how to use WS-Notification service.
有了所需的WSDL文件后,我们就可以对示例代码进行处理,以了解如何使用WS -Notification服务。
One important practice we included in our code is the use of print statements to the Intelligent Notification Services log files.
在我们的代码中包括的一个重要实践就是使用了将语句打印到IntelligentNotificationServices记录文件中的操作。
Improving the code to make notification and resource property discovery more efficient.
改进代码以便更高效地发现通知和资源属性。
Because I run this code in response to the DocumentComplete notification, each new page is automatically and promptly processed.
因为我要运行这段代码来响应DocumentComplete事件通知,每个新的页自动地而且敏捷地被处理。
The only concern with this code — and the reason most Ajax programmers don't use this approach — is that it delays error notification.
此代码惟一的问题是推迟了错误通知,这也是多数Ajax程序员不采用这一方法的原因。
Notice that the code that registers the notification uses the addNotificationListener method.
请注意,注册通知的代码使用的是 addNotificationListener方法。
In this section you see how you must modify the client code to support subscribing to notification messages using the SubscriberHelper.
在该部分将论述如何使用SubscriberHelper更改客户端代码以支持订阅通知消息。
The generated code provides notification, and referential integrity.
生成的代码还提供通知、参照完整性和可定制的 XMI 持久性。
Without a commercial test management repository, the test developers rely on E-mail notification from developers when changes to code occur that impact tests.
在没有一个商业的测试管理知识库的情况下,测试人员所依靠的就是当影响测试的代码发生变更时以电子邮件的形式加以通告。
Imagine you received a notification every time some portion of code violated an intended architecture — such as through an Ant build script failure — as demonstrated in Listing 1.
设想每当某部分代码与期望的架构有所违背时,您就得到一个提示——比如一个Ant构建脚本失败——如清单1所示。
In this case, there was little alternative to what they called the "cryptic" format that the out-of-the-box notification provided, and a hook code-based rule was used.
在这个例子中,对于那些“即时可用”的通知所提供的被称之为“秘密的”格式没有其他选择,基于hook的规则被使用。
Upon receipt of notification Citibank will cancel the Access Card and/or Code, and may cancel the Identifier.
一经收到通知,花旗银行将注销准入卡和/或密码,并且可能注销该识别信息。
Adds the message handler to the selected class or object, and then opens the text editor to the new function so you can add the control notification handler code.
向选定的类或对象添加消息处理程序,然后以新函数打开文本编辑器,以便可以添加控件通知处理程序代码。
It delivers strong authentication via a range of easy verification options-phone call, text message, mobile app notification or verification code.
它通过一系列简单的验证选项提供强化身份验证—电话呼叫、短信、移动应用通知或验证代码。
There are two methods of doing this: coding your own, possibly based on the supplied code, or merely hooking the supplied version using the notification hooks detailed previously.
有两种方法可以执行此操作:编写您自己的代码(可能是在所提供的代码的基础上编写),或者仅用前面详细介绍过的通知挂钩与所提供的版本挂钩。
Page developers who use the component can bind the property notification event to their own handler to run code when the property value changes.
使用元件的网页开发人员可以将属性通知事件系结至自己的处理常式,每当属性值变更时就执行程式码。
Page developers who use the component can bind the property notification event to their own handler to run code when the property value changes.
使用元件的网页开发人员可以将属性通知事件系结至自己的处理常式,每当属性值变更时就执行程式码。
应用推荐