它们只能在那个目的地上侦听消息。
控制台还注册属性更改侦听器。
事件侦听程序将调用后端服务。
URIServer负责侦听请求。
此服务允许添加两类选择侦听程序。
This service allows you to add two different types of selection listeners.
为通道侦听器指定端口1415。
浇头按钮的侦听器只是稍微复杂一点。
The listener for the topping buttons is only a bit more complicated.
将消息侦听器端口迁移到激活规范。
Migrating message listener ports to activation specifications.
应该在端口80上进行侦听。
侦听器端口的最大会话属性。
选择端点侦听器,然后单击Next。
添加一个JMS侦听器端口。
下一节将演示如何使用这些侦听器方法。
The next section demonstrates how to use these listener methods.
消息侦听器端口必须在服务器范围配置。
Message listener ports have to be configured at server scope.
注册一个能侦听服务器端变更的侦听器。
Registering a listener looking for changes on the server side.
SOAP消息的侦听器在执行组级别实现。
The listener for SOAP messages is implemented at the execution group level.
这就防止了数据包侦听应用程序偷听通信。
This prevents packet sniffing applications from eavesdropping on the communication.
步骤3:命名入站服务并选择端点侦听器。
Step 3: Name the inbound service and select endpoint listeners.
行17执行侦听器注册。
这将提示您选择在哪一台服务器上侦听事件。
You will be prompted to select which server to listen to events on.
清单2显示了如何在发生变更时通知侦听器。
Listing 2 shows how to notify the listeners about the changes.
通常,您会看到侦听器被定义为内嵌匿名类。
Often, you'd see the listener defined as an inline anonymous class.
此服务器侦听程序的实现如清单3 所示。
Therefore, the implementation for the server listener is as shown in listing 3.
还将为每个选定的端点侦听器创建入站端口。
An inbound port will be created for each endpoint listener selected.
只有过滤器允许的通知才可被传递到侦听器。
Only notifications which the filter allows are passed to the listener.
添加操作所得的侦听器端口条目如图6所示。
The resulting Add Listener Port entries are shown in Figure 6.
您将了解如何编写用于审核特定通知的侦听器。
You'll learn how to program a listener for the specific notification for auditing.
主线程会侦听缓冲队列,并服务其接收的请求。
A main thread will listen to the buffered queue and will service the requests it receives.
这些方法又会在调用它们的线程中调用侦听器。
These methods will in turn call the listeners in whatever thread they were called.
关键是理解从中添加侦听器的对象的生命周期。
Understanding the life cycle of the object that you're adding listeners to is key.
应用推荐