编写动态类不仅限于数据库访问。
我们使用动态类加载来加载用户的库。
派生类具有跟基类相同的动态类属性。
The derived classes have the same dynamic class attributes of the base class.
可以使用动态类加载技术确保加载正确的bean集合。
You can use dynamic class loading techniques to ensure the correct set of beans is loaded.
使用该API,可以重写部分代理实现以允许动态类更新。
Using the API it became then possible to rewrite parts of the proxy implementation to allow for dynamic class changes.
动态类型扩展——可以用动态的方式向类和对象加入方法。
Dynamic type extension - methods can be added dynamically to classes and objects.
所以,基于动态类型和高阶函数,您可以在任何时候向类中引入任意的行为。
So based on the dynamic typing and higher-order functions, you can introduce arbitrary behavior to your classes at any time.
动态类加载是动态jit编译器面临的一个挑战,也是AOT编译的一个更重要的问题。
Dynamic class loading, which is a challenge for the dynamic JIT compiler, is an even more significant issue for AOT compilation.
对这个动态类我想做的最后一个改进,是用成员变量访问字段,而不是用笨重的get _和set _操作符。
One final improvement I want to make on this dynamic class is to use member variables to access the fields, instead of the clunky get_ and set_ operators.
一种直观演示动态类型化工作方式的简单方法是,设想单个名为pyobject的基类,让Python中的所有其他对象类型都继承它。
An easy way to visualize how the dynamic typing works is to imagine a single base class called PyObject from which all other object types in Python inherit.
凭借该版本,脚本编写者可以利用新的动态类型、基于推模式的IObservable接口、Tuple类以及C# 4.0中的众多新特性。
This version allows scripters to take advantage of the new dynamic type, the push-based IObservable interface, the Tuple class, among the many new features in C# 4.0.
类html的动态可扩展链接机制可以将提要(feed)或记录(entry)链接到外部资源。
An HTML-like dynamically extensible link mechanism that links a feed or entry to external resources.
动态代理类给了我们一种以统一方式方便地处理任何方法上的验证途径,同时把所有的验证逻辑完全与核心业务逻辑分离开。
Dynamic proxy classes give us a way to easily handle validation on any method in a uniform way, while completely separating all of the validation logic from the core business logic.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
Method invocations on dynamic proxy classes do not perform nearly as well a direct method call on objects.
不幸的是,使用动态代理类确实有一个重要不足:性能。
Unfortunately, using dynamic proxy classes does have one major drawback: performance.
我可以很容易地指定动态代理类在运行时要实现的多个接口。
I could just as easily specify multiple interfaces that the dynamic proxy class would implement at runtime.
请稍等——类可以动态装入。
当应用程序需要业务对象实例时,它实际会接收到一个动态代理类的实例。
When the application needs a business object instance, it will actually receive an instance of the dynamic proxy class.
使用动态代理类进行验证是从应用程序的核心逻辑去耦验证程序的简单而有效的方法。
Using dynamic proxy classes for validation is a simple and effective way to decouple validation routines from your application's core business logic.
动态代理类在业务对象框架中有许多用途,不仅仅是用一致的方式对方法进行验证。
Dynamic proxy classes have many USES within a business object framework other than simply validating methods in a uniform way.
这些工具通常允许创建软件的静态和动态模型,包括类、活动、状态、组件和整体的模型结构(包)。
These tools generally allow for the creation of static and dynamic models of the software, including classes, activity, state, components, and the overall model structure (packages).
在这期实战groovy文章中,您将了解元编程—Groovy在运行时向类动态添加新方法的能力。
In this Practically Groovy installment, you'll learn about metaprogramming - Groovy's ability to add new methods to classes dynamically at run time.
类及其生成的动态对象之间的关系使得系统更灵活。
The relationship between classes and the dynamic objects they generate allows for much flexibility in a system.
限制经常管理和更新对象映射的一个方法是使用ObjectFactory类的动态对象搜索功能。
One of the ways we have limited the need to constantly manage and update object maps is to make use of the dynamic object search capability of the ObjectFactory class.
比如说,该机制要能动态替换、实例化类,还可以与负责绑定标记文件的Wicket机制交互。
For example, it could dynamically substitute and instantiate classes and interact with the Wicket mechanism that is responsible for binding markup files.
在本文的其余部分中,将讨论总体的概念、类、服务接口和动态行为,然后在下一部分中详细说明实现。
The overall concepts, classes, service interface, and dynamic behaviour will be discussed in the remainder of this article, then move to implementation details in the next.
通过使用 closures,您甚至可以对您的类进行编程,来允许动态创建方法。
With the use of closures, you can even code your classes to allow the dynamic creation of methods.
接下来,编写一个常规的数据库类,然后再把它修改成动态的。
Next, write a conventional database class that you will then modify to become dynamic.
例如,你可以使用WebClientFactory类在运行时动态创建一个Web服务代理。
For example, you can use WebClientFactory class to dynamically create a web service proxy at runtime.
本文将集中探讨Struts2action类与结果页之间的动态数据流的实现细节。
The article focuses on the implementation details of the flow of dynamic data between Struts 2 Action classes and the result pages.
应用推荐