A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
For every object in the call flow, there can only be one other object connected to it.
对于调用流中的每个对象,只能有一个其他对象连接到它。
Therefore, for every object in the call flow, there can only be one other object connected to it.
因此,对于调用流中的每个对象,都可以只有另外一个对象连接到其上。
After the object reference is obtained, the client application can call methods on that object as if that object was a local one.
获取对象引用后,客户端应用程序可以调用该对象上的方法,该对象就好像是本地对象。
Incorrect objects: Using the address, it is possible to check that methods are being invoked on the desired object by matching to the address on the constructor call for that object.
错误对象:使用地址,通过与对象的构建函数调用的地址进行比对,可以检查出是不是在正确的对象上调用方法。
When the enumeration object is allocated, it will call our search function to search the record store.
指派了枚举对象后,它将会调用搜索函数来搜索记录存储。
A virtual method invocation, for example, involves looking at the class of the receiver object for the call to discover which actual target implements the virtual method for the receiver object.
例如,一个虚方法调用需要查看接收方对象的类调用,以便找出哪个实际目标实现了接收方对象的虚方法。
To perform a method on a D-BUS object, you send the object a method call message.
要执行d -BUS对象的方法,您需要向对象发送一个方法调用消息。
Information can be acquired through a direct call to the object without the need for any other participants.
可以直接调用对象来取得信息,不需要其他参与者。
The client creates an array of these Element objects and calls the invoke method of the Axis Call object.
客户机将创建一个由这些Element对象组成的数组,并调用AxisCall 对象的invoke方法。
I set the operation this Call object will invoke by passing in the port QName and the operation name for it to invoke.
我通过传入这个Call对象要调用的端口QName和操作名称来设置它将调用的操作。
The dynamic invocation interface requires a Call object to be created at runtime.
该动态调用接口需要在运行时创建一个Call对象。
Beware that the way the generated proxy creates a Call object depends on whether you have chose to use synchronized methods or not.
请注意,生成的代理创建Call对象的方法取决于您是否选择了使用同步方法。
Instantiate a DII Call object proxy and set it up.
实例化一个DII Call对象代理并对其进行设置。
Making DII calls through a Call object is programmatically more complex than using a stub or dynamic proxy.
通过Call对象进行 DII调用的过程比使用存根活动态代理复杂。
Next, you create the Service and Call objects and start setting the properties of the Call object.
接下来,您要创建Service和Call对象并开始设置Call对象的属性。
With JAX-RPC, the Call object must be configured to explicitly invoke a particular operation from the WSDL.
对于JAX - RPC,必须配置Call对象来显式地从WSDL调用特定操作。
The engine will automatically construct a new instance of the object then call the init method on that object, so that the object has a chance to initialize itself from the context object.
这个引擎将自动地为该对象构造的一个新的实例,然后调用其init方法,以便该对象能够有机会根据上下文对象对自己进行初始化。
The client creates an instance of the "Call" object of the Axis client, and sets the target endpoint address in the Call object with the address of the web service endpoint.
客户机创建Axis客户机的“Call”对象的实例,并将Call对象中的目标端点地址设置为Web服务端点的地址。
This means that to synchronize on a particular object, you simply call the synchronize method on that object; in this case, on the object held in the lock field on Drop.
这意味着,要同步某个特定的对象,您只需要对该对象调用同步方法;在本例中,对Drop上的lock字段中所保存的对象调用同步方法。
If it is a PDPrinciplal object, then you call the implies method to check whether it has the desired permission.
如果是PDPrinciplal对象,则将调用implies方法来检查其是否具有所需的权限。
This call initializes the JAXBContext object to manage the runtime invocations.
这个调用初始化JAXBContext对象以管理运行时调用。
The MessageListenerAdapter then USES this object to call a method on a user provided handler class that has a matching method signature.
MessageListenerAdapter随后用这个对象来调用某个方法,用户提供的具有相应方法签名的处理类实现了该方法。
This instance populates the backend data, sets an instance object of UserFormBean, and returns this object using this method call.
这一实例植入后端数据,设置userformbean的实例对象,并使用以下方法调用返回该对象。
To format a Joda object, call its toString method and, if you wish, pass either a standard ISO-8601 or a JDK-compatible control string to tell Joda how to format it.
要格式化一个Joda对象,调用它的toString方法,并且如果您愿意的话,传递一个标准的ISO- 8601或一个JD K兼容的控制字符串,以告诉JD K如何执行格式化。
Servlet might request a continuation object and call the suspend method with a specified timeout on it.
servlet可能会请求一个continuation对象并调用具有指定超时的suspend方法。
The data structure accepts the visitor object and will call its visit method for every entry in the data structure.
该数据结构接受visitor对象,并对数据结构中的每一项调用其visit方法。
If you wanted the queued item to do something else, you would need to add that to the implementation of the Delayed object and call that new method upon retrieval from the queue.
如果希望队列项做一些其他事情,就需要在Delayed对象的实现中加入方法,并在从队列中取出后调用这个新方法。
To use the state machine, I can instantiate a Nonprofit object and call methods on it for each event, followed by a !, as in Listing 2
要使用状态机,可以实例化一个Nonprofit对象并在其上为每个事件调用方法,后跟一个 !
You instantiate a BasicAttributes object and call its put method any number of times to put all the Attribute objects (one at a time) into the collection.
您可以实例化一个BasicAttributes对象,并多次调用对象的put方法,将所有Attribute对象(一次一个地)放入集合中。
应用推荐