动态类型变量可以使用自定义绑定程序来决定在运行时如何调用方法,这非常适合本文提到的互操作解决方案。
Variables with the type dynamic can use custom binders to determine how to call a method at runtime, which would fit well with interop scenarios such as this.
您可以很自由地在持久性类中放置您喜欢的任何方法-注册表只是在各次对动态页面的调用之间将实例保存在内存中。
You are free to put whatever methods you like in persistence classes -- the registry simply holds instances in memory between different calls to dynamic pages.
例如,可以通过以下方式执行授权检查:将操作参数传递给EJB方法调用,以允许动态确定授权检查。
For example, the authorization check could be performed by passing operational parameters on an EJB method call, enabling the authorization check to be dynamically determined.
服务实用程序为每个服务实现动态调用SOAP客户机,并传送服务实现URL、URN和方法名。
The service utility calls the SOAP client dynamically for each service implementation and passes the service implementation URL, URN, and method name.
在触发器、动态合成语句、标量、表、行函数和方法中不能调用具有访问级别MODIFIESSQLDATA的联邦过程。
Federated procedures with access level MODIFIES SQL DATA cannot be invoked inside triggers, dynamic compound statements, scalar, table, row functions, and methods.
调用动态服务实用程序方法,从而提供对要调用的正确的服务实用程序类的映射。
Call the dynamic service utility method for providing mapping to the correct service utility classes to invoke.
需要提出的是,我们没有做任何方法绑定的调用缓存,要知道它可能是在整个动态语言实现领域唯一最大的性能增强点。
In particular, we are not doing any call-site caching of method bindings, which is probably the single biggest performance boost in the whole dynamic language implementation space.
因为验证通常是方法前调用操作,所以动态代理为我们提供了针对前面示例所指出的问题的解决方案。
Because validation is often a pre-method invocation operation, dynamic proxies provide us with a solution to the problems outlined in the previous examples.
例如,CXF提供了几种在运行时动态调用服务的方法,无需从WSDL产生客户端。
For instance, CXF provides several ways to invoke services dynamically at runtime without generating a client from the WSDL.
另一种是动态办法,即调用UDDI4 J包所提供的方法。
The other is the dynamic method which is way is to call the methods provided by UDDI4J package.
动态发现过程的目的是自动化地添加客户平台和开始对远程方法调用的机器上的 DCI 的监控。
The purpose of the dynamic discovery process is to automatically have the client workbench attach and begin monitoring the DCI located on the machine where the remote method is being invoked.
然而,最新的API需要调用静态类型的方法,这与Ruby的动态特性背道而驰,因此在Ruby中从头开始开发数据绑定支持可能会更简单。
However, the latest API requires calling statically typed methods, which do not fit well with Ruby's dynamic nature, so it seemed simpler to develop data-binding support in Ruby from scratch.
明智设计的结果是:通过invokeMethod调用所有的动态方法,通过getProperty和setProperty访问属性。
The result of judicious design, all dynamic method calls get routed through invokeMethod and property access through getProperty and setProperty.
ProcessServer提供缓存功能的一个方法是通过一个调用动态缓存的服务。
One of the ways that Process Server provides the caching capability is through a service called dynamic cache.
如前所述,Groovy的动态特性允许我通过get和setProperty方法捕获对不存在的属性的方法调用。
As I previously mentioned, Groovy's dynamic nature allows me to capture method calls to properties that don't exist via the get and set Property methods.
动态注册通常是首选方法,因为让xa调用仅流向事务包括的资源管理器具有性能优势。
Dynamic registration is usually the preferred method due to performance benefit of having the xa calls flow only to the resource managers that are involved in the transaction.
WebSphere还可以拦截命令对象对execute方法的调用,并存储动态缓存内对象的内容。
WebSphere can also intercept a call to the execute method of a command object and store the content of the object within the dynamic cache.
为了示范基本的技术,清单1中的Python代码使用动态特性将所有的远程方法调用记录到控制台的标准错误中。
To demonstrate the basic technique, Listing 1 shows Python code that USES dynamic features to log all invocations of a remote method to standard error on the console.
这是所有您为了使用动态代理方法调用Web服务而需要编写的代码。
This is all the code you need to write to invoke a web service using the dynamic proxy method.
这种客户机调用web服务方法使客户机更具响应性、更动态。
This approach of the client invoking a web service makes the client more responsive and dynamic.
这种客户机调用web服务方法使客户机更具响应性、更动态。
This approach of the client to invoking a web service makes the client more responsive and dynamic.
端点引用(endpoint reference, EPR)是动态选择要调用的服务的常用方法。
Endpoint references (EPRs) are a common way to dynamically choose the service to be invoked.
清单6显示了如何为User接口建立动态代理(用userimpl实现类),同时通过调用处理程序传递所有的方法调用。
Listing 6 shows how to create a dynamic proxy class for the User interface (using the UserImpl implementation class), while passing all method invocations through the invocation handler.
Groovy的GString允许您对替换的值调用autocall方法,当开始构建动态文本时,这会产生很多变化。
Groovy's GStrings allow you to autocall methods on substituted values, which opens up a wide variety of possibilities when it comes to building dynamic text.
动态代理类有许多应用程序中使用的接口,其中一个可以用统一的方式有效地处理方法前和方法后的调用操作。
Dynamic proxy classes have many interesting USES within an application, one of which is to effectively handle pre - and post-method invocation operations in a uniform fashion.
动态编译器通过最终编译所有由JIT编译代码频繁调用的那些解释过的方法来减少这项开销,但是如果不使用动态编译器,则这项开销就不可避免。
A dynamic compiler mitigates this cost by eventually compiling all the interpreted methods that are frequently called by JIT compiled code, but without a dynamic compiler, this cost can't be hidden.
所需的客户端存根将在应用程序客户端调用EJB方法时动态地生成和传播。
The necessary client stubs are generated and propagated dynamically when EJB methods are invoked by application clients.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
Method invocations on dynamic proxy classes do not perform nearly as well a direct method call on objects.
一旦这个信息被获取,特定于服务器的实现代码必须获得到被请求方法的接口,并动态地调用这个方法,然后返回结果。
Once this information is obtained, the server-specific implementation code must obtain the interface to the requested method, dynamically invoke the method, and return the results.
所有上述的setter方法都是在解析静态服务映射导航文件时植入的,而getter方法是由动态控制整个流程的服务控制器调用的。
All the above setter methods are populated when the static services mapping navigator file is parsed and getters are called by the services controller, which controls the whole flow dynamically.
应用推荐