They are lifecycle callback methods.
它们是生命周期回调方法。
Delegates can be used to define callback methods.
委派可用于定义回呼方法。
Describes guidelines for using events and callback methods.
描述使用事件和回调方法的准则。
Write callback methods to fetch the information from an XML document.
编写回调方法,从XML文档中提取信息。
One final detail remains: these callback methods return a Boolean value.
还有最后一点细节需要注意:这些回调方法返回一个布尔值。
Also, there's often a need for callback methods as well as publish and subscribe methods.
另外,通常还需要回调方法和发布与订阅方法。
The lifecycle methods are also called callback methods as it will be called by the container.
生命周期方法也称为回调方法,因为它将由容器调用。
There are many different types of callback methods that you can assign to Ribbon controls.
您可以向功能区控件分配多种不同类型的回调方法。
The class implements the BundleActivator interface, which has two callback methods: start and stop .
此类实现BundleActivator接口,该接口具有两个回调方法:start和stop 。
This ability to refer to a method as a parameter makes delegates ideal for defining callback methods.
由于委派能够将方法当做参数来参考,使得委派很适合用来定义回呼方法。
This class contains the callback methods that the file-visitor engine will invoke as it traverses the file system.
这个类包含file -visitor引擎穿越文件系统时所调用的回调方法。
All callback methods have in common the first parameter as the identifier of a particular business component instance.
所有回调方法共有第一个参数作为一个特定业务组件的标识符。
Therefore, this overload of the constructor is useful if you have multiple callback methods in your provider control.
因此,如果您的提供者控制项有多个回呼方法,这个建构函式多载会很有用。
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元素来定义生命周期回调方法。
This interface provides callback methods for many different Hibernate events, including object creation, modification, and deletion.
这个接口为许多Hibernate事件提供回调方法,包括创建、修改和删除对象。
If you process large XML vocabularies, you may find yourself with a large number of if and else statements in your callback methods.
如果处理大型的xml词汇表,您可能会发现在回调方法中有大量的if和else语句。
You don't need to re-initialize components that were created during any of the callback methods leading up to the Resumed state.
你不需要再次初始化那些在任何回调函数中创建的部件。
You can reduce the complexity and length of your callback methods by using different content handlers for different parts of the document.
通过为文档不同部分使用不同的内容处理程序,可以减少回调方法的复杂性和长度。
The first two callback methods, subscribed(int, byte[]) and unsubscribed(int), are for clients that want to monitor subscription acknowledgments.
前两个回调方法:subscribed(int,byte[])和unsubscribed(int) 主要针对想要监视订阅确认的客户机。
As you can discern from their names, the methods in Listing 1 are callback methods that the container calls at the life cycle stages for your GBean.
顾名思义,清单1中的方法是回调方法,容器会在GBean的生命周期中调用它们。
Our callback methods were invoked as expected, and we can see that all the files in the tree have been listed and all the directories have been visited.
回调方法如期望那样被调用,我们可以看到,树中的所有文件都已列出,并且所有目录均已被访问。
Each of these processes can require several container calls, as well as callback methods made directly on the bean to be sure that the bean state is handled properly.
上述的每个过程都需要几次容器调用,以及需要直接对bean执行回调方法,以确保正确处理bean的状态。
There are two mechanisms: callback methods and callback listener classes. Here is an example of how you would write code to respond to a callback using callback methods.
这里有两种机制:回调方法和回调侦听器类。
Programmers still had to know the rudiments of SAX (like what a ContentHandler was and how to implement callback methods), but JAXP abstracted away many of these details.
程序员仍然需要了解SAX的基本原理(如什么是ContentHandler以及如何实现回调方法),但是JAXP抽象出了很多这样的细节。
Prior to ejb 3.0, you had to implement callback methods, such as ejbCreate , on the bean class; bean classes had to implement all the methods, whether they used them or not.
在ejb 3.0之前,必须在Bean类上实现回调方法,如ejbcreate ; bean类必须实现所有方法,无论是否使用它们。
The membership interface defines callback methods to listen to events associated with access control such as adding or removing access to the component for one or more users.
成员关系接口定义了回调方法来监听与访问控制有关的事件,比如添加或删除一个或多个用户对组件的访问。
This file provides an implementation of all the methods defined in the remote interface, in addition to methods required by the application server (for example, callback methods).
该文件提供在远程接口中定义的所有方法以及应用服务器所需的方法(例如回调方法)的实现。
Sax also provides a class called DefaultHandler (in the org.xml.sax.helpers package) that implements all of these callbacks and provides default, empty implementations of all the callback methods.
sax还提供一个叫做DefaultHandler的类(在or g . xml . sax .helpers软件包中)来实现所有这些回调,并提供所有回调方法默认的空实现。
Imagine a scenario in which you want to traverse a directory tree recursively, stopping at each file and directory under that tree and having your own callback methods invoked for each entry found.
设想一个场景,您想要递归地访问一个目录树,在该树中的每个文件及目录上停下来,并为每个查找到的条目调用您自己的回调方法。
We will encounter a different method for sending parameters to a callback below; check the Sidebar for a discussion of the differences between the two methods.
下面我们将用到向回调发送参数的一种不同的方法;查看侧栏中关于两种方法之间区别的讨论。
应用推荐