编写动态类不仅限于数据库访问。
我们使用动态类加载来加载用户的库。
派生类具有跟基类相同的动态类属性。
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.
注意的是,这不是最后的动态类的布局,我只是进行一次一个步骤。
Beware that this is not the final layout of dynamic classes, I'm just proceeding one step at a time.
动态类加载是动态jit编译器面临的一个挑战,也是AOT编译的一个更重要的问题。
Dynamic class loading, which is a challenge for the dynamic JIT compiler, is an even more significant issue for AOT compilation.
其他的类,例如服务接口和实现,或者其他数据对象被普通的类加载器加载不被动态类重载。
Other classes, such as service interfaces and implementations, or other data objects, are loaded by the normal class loader and not subject to live class reloading.
对这个动态类我想做的最后一个改进,是用成员变量访问字段,而不是用笨重的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.
将有向动态类无标度网作为粒子寻优邻域,提出一种基于变惯性权重及动态邻域的改进P SO算法。
It USES the dynamic scale-free like network as the particle's optimization neighborhood. It proposes an improved PSO algorithm based on variety inertia weight and dynamic neighborhood.
动态代理类给了我们一种以统一方式方便地处理任何方法上的验证途径,同时把所有的验证逻辑完全与核心业务逻辑分离开。
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.
动态代理类在业务对象框架中有许多用途,不仅仅是用一致的方式对方法进行验证。
Dynamic proxy classes have many USES within a business object framework other than simply validating methods in a uniform way.
动态代理类有许多应用程序中使用的接口,其中一个可以用统一的方式有效地处理方法前和方法后的调用操作。
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.
当应用程序需要业务对象实例时,它实际会接收到一个动态代理类的实例。
When the application needs a business object instance, it will actually receive an instance of the dynamic proxy class.
这些工具通常允许创建软件的静态和动态模型,包括类、活动、状态、组件和整体的模型结构(包)。
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).
我可以很容易地指定动态代理类在运行时要实现的多个接口。
I could just as easily specify multiple interfaces that the dynamic proxy class would implement at runtime.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
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.
网络管理软件可以方便地利用跨网络动态且安全地装入类的能力。
The ability to dynamically and securely load classes across the network can be readily leveraged by network management software.
使用动态代理类进行验证是从应用程序的核心逻辑去耦验证程序的简单而有效的方法。
Using dynamic proxy classes for validation is a simple and effective way to decouple validation routines from your application's core business logic.
动态指向类库符号一点都不直接。
类及其生成的动态对象之间的关系使得系统更灵活。
The relationship between classes and the dynamic objects they generate allows for much flexibility in a system.
这样就可以实现要加载的类名的动态解释。
By doing this, you obtain a dynamic interpretation of the name of the class to load.
请稍等——类可以动态装入。
在示例中,我只为一个接口建立了动态代理类,这个接口是:user。
In the example, I created the dynamic proxy class for a single interface: User.
在这期实战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.
通过将scaffold方法添加到控件类中可以启用动态scaffold。
Dynamic scaffolding is enabled by adding the scaffold method to your controller class.
限制经常管理和更新对象映射的一个方法是使用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.
限制经常管理和更新对象映射的一个方法是使用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.
应用推荐