您应该把这个类当作事件侦听器。
控制台还注册属性更改侦听器。
客户端还有不同类型的侦听器。
侦听器泄漏往往会浪费内存和时间。
第2部分对侦听器类进行了修改。
首先,必须启动侦听器进程。
浇头按钮的侦听器只是稍微复杂一点。
The listener for the topping buttons is only a bit more complicated.
下一节将演示如何使用这些侦听器方法。
The next section demonstrates how to use these listener methods.
消息侦听器端口必须在服务器范围配置。
Message listener ports have to be configured at server scope.
定义一个事件侦听器并将其注册至视图。
对于我们的示例,要创建一个新侦听器。
此连接只有在侦听器端口停止后才释放。
This connection will only be released after the listener port has been stopped.
步骤3:命名入站服务并选择端点侦听器。
Step 3: Name the inbound service and select endpoint listeners.
行17执行侦听器注册。
SOAP消息的侦听器在执行组级别实现。
The listener for SOAP messages is implemented at the execution group level.
还将为每个选定的端点侦听器创建入站端口。
An inbound port will be created for each endpoint listener selected.
此连接将存在于侦听器端口的整个生命周期。
This connection will exist for the entire life of the listener port.
只有过滤器允许的通知才可被传递到侦听器。
Only notifications which the filter allows are passed to the listener.
清单2显示了如何在发生变更时通知侦听器。
Listing 2 shows how to notify the listeners about the changes.
通常,您会看到侦听器被定义为内嵌匿名类。
Often, you'd see the listener defined as an inline anonymous class.
消息侦听器线程池。
无法在操作阶段或任何会话侦听器中访问ID。
You cannot access the ID in the action phase or in any session listeners.
您将了解如何编写用于审核特定通知的侦听器。
You'll learn how to program a listener for the specific notification for auditing.
在服务器完全启动之前,您是无法添加侦听器的。
You cannot add a listener before a server is completely started.
管理控制台提供该选项来启动和停止侦听器端口。
The administration console provided the options to start and stop the listener ports.
可以用熟悉的侦听器模式在GWT中执行事件处理。
You use the familiar Listener pattern to perform event handling in GWT.
在登记侦听器时,应当一直注意侦听器的生命周期。
When registering a listener, always be aware of the listener's lifecycle.
通常,调用侦听器的线程与登记侦听器的线程不同。
Frequently, listeners are called in a different thread from which they were registered.
在编写侦听器时,应当一直注意它们将要执行的环境。
When writing listeners, you should always be aware of the environment in which they will execute.
一个事件侦听器,对来自每个普通代理事件进行计数。
An event listener that counts events coming from each General Agent.
应用推荐