流作用域的持久化上下文对象将流期间加载的数据作为持久化实体来管理并将数据变更缓存为实体的脏状态。
The flow-scoped persistence-context object manages data loaded during the flow as persistent entities, and data changes cached as the entities' dirty states.
POID提供了一个生命期较长的对象,它的全局标识的作用域可以跨越空间和时间。
POIDs provide a long lived object with a global identity that transcends space and time.
这种方法最明显的影响在原子we b流上,一旦省略了流作用域持久化上下文对象您就无法得到原子we b流了。
The most obvious impact of that approach is on atomic Web flows, which are no longer achievable once you've omitted the flow-scoped persistence-context object.
首先将函数对象[[scope]]内部属性中的对象,按顺序复制到作用域链中。
The objects in the function object's [[scope]] property are copied into the scope chain in the same order.
不使用流作用域持久化上下文对象的web流中的持久化编程也是可行的,只是有很多障碍和缺陷。
Programming persistence in Web flows without the flow-scoped persistence context object is still feasible but incurs many hurdles and pitfalls.
静态函数与静态属性一样,作用域也是类而非该类的对象实例。
Static functions, like static properties, are scoped to the class rather than to object instances of that class.
更多的规则定义了作用域内存中的对象何时终结,以及何时可以重用内存区域。
More rules define when the objects in a scope memory are finalized and when the memory area can be reused.
每种J2EE作用域都有一个上下文,在这个上下文中可以关联(存储)基本类型的数据和对象引用,以供享有同一上下文的其他组件使用。
Each of the J2EE scopes has a context in which primitive data and object references can be associated (stored) for use by other components that share the same context.
某个自定义作用域通常与能够管理对象实例的后端存储相对应。
A custom scope typically corresponds to a backing store that can manage object instances.
这些规则控制了作用域之间的许可关系,以及作用域中的对象对其他内存区域中的对象的引用。
These rules control both the relationships allowed between scopes and the allowed references from an object in a scope to objects in other memory areas.
注意在其中的某些用例中我们仍然能够使用流作用域的持久化上下文对象。
Note that in some of these use cases we are still able to use the flow-scoped persistence-context object.
大多数面向对象语言都有控制类型或者类型成员可见性(作用域)声明的结构。
Most object-oriented languages have constructs to constrain the visibility (or scope) of type and type-member declarations.
每一个限定作用域资源的内部对象ID包括了虚拟门户有效处的参考资料。
The internal object id of each scoped resource includes a reference to the virtual portal in which it is valid.
您不用考虑对象需要使用何种作用域,只是决定对象的保留时间即可。
Instead of needing to consider which scopes are required, you simply decide how long the object must be retained.
为了确保对象之间引用的完整性,RTSJ定义了管理一个内存区域(堆、不朽内存、作用域内存)中的对象如何引用其他内存区域对象的规则。
To ensure the integrity of references between objects, the RTSJ defines rules that govern how objects in one memory area (heap, immortal, or scope) can refer to objects in other memory areas.
在作用域内存中创建的对象则在于其中创建它们的作用域的生命周期中存在。
Objects created in scoped memory live for the lifetime of the scope they are created in.
DI管理的对象可以对自身的方法进行注解,以接受作用域事件,最常见的用法就是在作用域结束时释放资源。
DI-managed objects can annotate their methods to receive scope events, most often to release some resources at the end of the scope.
有限对象作用域。
通过一个预先分配的Runnable对象和一个单独的作用域,在错误发生时,您就应该总是能够报告问题,而无需使用任何内存。
With a preallocated Runnable object and a separate scope, you should always be in a position to report a problem without using any memory in the context the error occurred.
在Web应用程序中,作用域指的是一个对象可以多大程度地为一个应用程序的组件所使用。
In a Web application, scope refers to the degree to which an object is made available to an application's components.
作用域规则可帮助Python判断您想使用的对象。
Scope rules help Python figure out which object you want to use.
ScriptEngineManager实例返回的所有脚本引擎都是“全局作用域”绑定对象。
Every script engine returned by a ScriptEngineManager instance is seeded with the same "global scope" bindings object.
OpenSessioninView模式的一个缺点是持久化上下文对象被高效地划定到用户请求作用域内。
A downside of the Open Session in View pattern is that the persistence-context object is effectively scoped to a user request.
每个线程都将有一个作用域可进入,如果它需要使用WorkerConsole接口(对象将在其中创建)。
Each thread will also have a scope to enter if it needs to use the WorkerConsole interface (where objects would be created).
var和scope属性用来指定限定了作用域的变量(作为 <fmt:parseDate> 的结果),将把Date对象赋给该变量。
The var and scope attributes are used to specify a scoped variable that -- as a result of <fmt:parseDate> -- the Date object is assigned to.
在这种情况下,Spring提供了它熟悉的编程模型,支持注入和查找,而且后端存储提供了作用域内对象的实例管理。
In this case, Spring provides its familiar programming model, enabling injection and lookup, and the backing store provides instance management of the scoped objects.
每个函数对象都有一个叫做[[scope]]的内部属性,这个内部属性包含创建函数时的作用域信息。
Each function object has an internal property called [[scope]] that is initialized with information about the scope in which the function was created.
有些隐式对象提供了对本文中谈到的4 种作用域的访问途径。
Several of them provide access to the four scopes that we examined in this article.
一个弱引用对象将会保持一个指向一个超出作用域或者被置空的对象的引用,直到它确实被垃圾回收删除。
A weak reference object will keep a reference to an object that went out of scope or was set to null, until it is actually deleted by the garbage collector.
此外,EL提供将这些对象作为限制了作用域的变量进行检索的内置支持。
Furthermore, the EL provides built-in support for retrieving these objects as scoped variables.
应用推荐