Notice that then, in the body of the loop, I use callback to invoke the passed parameter function object.
然后请注意,在循环体中,我使用callback来调用传递的参数函数对象。
For using other security realms with the credential store, for example ones that use digital certificates, you need to implement the required callback handlers.
为了使用凭据库的其他安全领域(例如,使用数字证书的安全领域),您需要实现所需的回调处理程序。
The following code sample shows the use of the callback handler.
下面的代码展示了回调处理程序的使用方法。
An alternative to this is to develop and use a custom callback handler in the application login module responsible for collecting the information.
另一种方法是,在应用程序登录模块中开发和使用负责收集信息的自定义回调处理程序。
In order to use this method you have to pass a callback object and once the invocation is completed, the callback object will be called.
为了使用此方法,您必须传递一个回调对象,将在调用完成后立即调用回调对象。
To use this callback, change your layout to look like Listing 7.
要使用此回调,请将布局更改为类似清单7。
The complete source code for a sample application demonstrating the use of the callback handler is included with this article.
本文包括演示回调处理程序使用情况的示例应用程序的完整源代码。
The callback class can implement any type of handling you want to use to verify the combination of username and password, so it's a technique that allows maximum flexibility.
这个回调类可以实现您需要的任何用户名和密码组合检验方法,所以这种技术非常灵活。
Use the XMLHttpRequest object to make a call to the server by defining a callback function that is executed automatically when the server response is received.
使用XMLHttpRequest对象对服务器进行调用,采用的方法是定义一个回调函数,当收到服务器响应时,会自动执行这个函数。
So, let's create a trait that implements this pattern, then use it to handle callback behavior.
所以,让我们创建一个trait来实现这个模式,然后用它来处理回调行为。
Select Use custom callback handler class and provide the class name as com.ibm.raadss.security.UNTCustomCallbackHandler (Figure 18).
选择Usecustom回调处理器类,提供类名 com.ibm.raadss.security.UNTCustomCallbackHandler (见图18)。
Let's use a trait to separate the callback handling from the button logic.
让我们对按钮的逻辑来使用trait,从而分离回调的处理。
If you are using XML approach to define the beans then you would use the bean element to define the lifecycle callback methods.
如果您正在使用XML方法来定义bean,那么就应该使用bean元素来定义生命周期回调方法。
Use the "get client connection details" callback function, provided by DB2, to find out if the client is local to this machine.
使用DB 2提供的“getclientconnectiondetails”回调函数,以发现客户机是否在该计算机本地。
When you get the XML back in the success callback, you can use jQuery to look through the XML the same way you do with HTML.
当success回调函数返回XML 文档后,您可以使用jQuery 检索这个 XML 文档,其方式与检索 HTML 文档是一样的。
Similarly, if you need to access the object that emitted the signal, you use the first parameter, which is button in this specific callback.
类似地,如果需要访问发出信号的对象,就要使用第一个参数,在这个具体回调中是button。
The MqttAdvancedCallback interface extends the MqttCallback, so when you use the advanced callback interface, you must also implement the methods defined in the simple callback interface.
MqttAdvancedCallback接口用来扩展 MqttCallback,所以在使用高级回调接口时,也必须实现在简单回调接口中定义的方法。
In your own callback servlet, use the code below in Listing 3 to get the verifier and use it to request AccessToken and Secret.
在您自己的回调servlet中,使用清单3中的代码获取验证器,然后使用它来请求AccessToken和Secret。
The login modules use the NameCallback callback to retrieve the client's identity, and build a subject that is used to execute the code in the application server.
登录模块使用NameCallback回调以检索客户机的标识,并构建用于在应用服务器中执行代码的主题。
Many of the methods provided in RqGuiApp require the use of a callback object.
很多在RqGuiApp中提供的方法需要使用回调对象。
As a final twist, the ev facility allows us to retrieve and use details about the event that invoked the callback.
作为最后的难点,Ev工具允许检索和使用调用回调的事件细节。
You could use a typedef to define a callback and make clients supply it, something similar to qsort-but that's so old-hat.
你可以用typedef来定义一个回调并让客户机来提供这个回调,这种做法有些类似qsort——但那样太老土了。
The use of client-side persistence provided by an MqttPersistence implementation, coupled with use of QoS 1 or 2, renders the use of this callback redundant for the insurance of message delivery.
MqttPersistence实现所提供的客户端持久性与QoS1或2 的结合使用实现了为确保消息传递而使用的回调冗余。
Therefore, the IT architect has decided to use a simple request response or callback protocol between the consumer and provider.
因此,IT架构师决定在消费者和提供者之间使用一个简单的请求响应或者回叫协议。
Then, your callback function can use that data, as seen in Listing 1 and Listing 4.
然后回调函数就可以使用这些数据,如清单1和 清单 4 所示。
You don't have to use a callback for either the username or the password.
您并不是必须使用回调来设置用户名或密码。
You can specify XML, HTML, script, or json, and jQuery automatically prepares the result for your callback function so that you can use it right away.
您可以指定xml、script、html或者json,jQuery将自动为回调函数准备合适的结果,这样您便可以立即使用该结果。
You can use the data argument whenever you need to pass additional information to your callback.
每当需要向回调传递额外的信息时,都可以使用data参数。
To create the callback specification, you use the same process as above, but rename ${service} to OrderManagementCallback.
要生成回调规范,您要使用上面的相同过程,但将 ${service} 重名名为 OrderManagementCallback。
To create the callback specification, you use the same process as above, but rename ${service} to OrderManagementCallback.
要生成回调规范,您要使用上面的相同过程,但将 ${service} 重名名为 OrderManagementCallback。
应用推荐