定义和指定想要使用的上下文对象。
在步骤2中创建的上下文对象。
对于每个请求,创建一个上下文对象。
这个框架充当的是将字段联系在一起的上下文对象。
This framework features a context object that it uses to glue fields together.
确保在联合服务器上创建并启用了可信上下文对象。
Ensure that you have created and enabled a trusted context object on the federation server.
注意:只有一个可信上下文对象可以与主要授权ID关联。
Note: Only one trusted context object can be associated with a primary authorization ID.
上下文缓存包含动态组装程序的调用上下文对象。
The context cache holds invocation context objects for the dynamic assembler.
为了帮助实现这种方式,需要用一个上下文对象存储范围信息。
To facilitate this approach, a context object is needed to store scope information.
在连接时,DB 2检查连接是否与数据库中可信上下文对象相匹配。
At connect time, the DB2 server checks to see if the connection matches the definition of a trusted context object in the database.
在整个事务处理过程中,作为事务上下文对象传递控制对象。
Control object, as a transaction context object, is passed through the whole transaction process from beginning to the end.
此外,它还显示了请求、会话以及servlet上下文对象的属性。
In addition, it also displays attributes from request, session, and servlet context objects. The integration steps are as follows.
首先,这个程序通过查找上下文对象获得一个指定名称的队列连接工厂。
First, the program retrieves a queue connection factory by looking up the context object with a queue connection factory name.
注意在其中的某些用例中我们仍然能够使用流作用域的持久化上下文对象。
Note that in some of these use cases we are still able to use the flow-scoped persistence-context object.
SIF创建了一个安全上下文对象,这是一个与安全相关的信息的占位符。
SIF creates a security context object, which is a placeholder for security-related information.
当一个事务开始时,这个事务的范围键被添加到这个上下文对象中。
When a transaction starts, the scope key for this transaction is added to this context object.
因为需要跨组件传递上下文对象,所以这个对象应该是可序列化的。
Since the context object needs to be passed across components, the object should be serializable.
您还创建了画布上下文对象,因为这是用于进行所有实际画图的对象。
You also create the canvas context object, as this is the object you use to do all of the actual drawing.
但只有在你连接到上下文对象的时候,你才可以修改对象并把它们保存回数据库。
You can change objects and save them back to the database, but only if you are connected to a context object.
如果连接属性与一个可信上下文对象的定义相匹配,则那个连接被称作可信连接。
If the connection attributes match the definition of a trusted context object, that connection is referred to as a trusted connection.
封装上下文对象提供了一个将服务执行上下文和框架要素封装起来的方法。
Encapsulated context object provided a way of encapsulating the execution context of service and framework elements.
DB 2使用CREATETRUSTEDcontext语句创建可信上下文对象。
DB2 USES the create trusted context statement to create trusted context objects.
其次,它在队列连接中创建一个队列会话,并通过查找上下文对象获得一个指定名称的队列。
From the queue connection factory, a queue connection is created. Next, a queue session is created from a queue connection and a queue is retrieved by looking up the context object with a queue name.
就像数据库连接那样应该非常快,一旦该上下文对象超出范围,数据对象实质上就进入只读状态。
Once the context object goes out of scope, which like a database connection should be very quickly, the data objects essentially become read-only.
最后,验证联合数据库服务器可信上下文对象中的信任属性与连接请求中出现的信任属性相匹配。
Finally, verify that the trust attributes in the trusted context object on the federated database server actually match the trust attributes that are being presented in your connection request.
不使用流作用域持久化上下文对象的web流中的持久化编程也是可行的,只是有很多障碍和缺陷。
Programming persistence in Web flows without the flow-scoped persistence context object is still feasible but incurs many hurdles and pitfalls.
当建立一个数据库连接时,DB 2将那个连接的属性与数据库中每个可信上下文对象的定义相比较。
When a database connection is established, DB2 compares the attributes of that connection against the definitions of each trusted context object in the database.
在Continuation发生暂停时,使用这两种方法可以保持上下文对象以及需要保存的状态。
Use these to hold a context object with any state you need to preserve when the Continuation is suspended.
代理和调用程序组件都需要框架上下文对象的支持以建立某些通信细节,如用于返回消息的服务总线位置。
Both proxy and invoker components required the support of the framework context object to establish certain communication details, such as the service bus locations for return messages.
流作用域的持久化上下文对象将流期间加载的数据作为持久化实体来管理并将数据变更缓存为实体的脏状态。
The flow-scoped persistence-context object manages data loaded during the flow as persistent entities, and data changes cached as the entities' dirty states.
例如,可信上下文对象中指定的IP地址可能不正确,或者可信上下文不能接受您的网络加密属性级别。
For example, the IP address specified in a trusted context object might be incorrect, or your network encryption attributes may not be strong enough to be accepted by the trusted context.
应用推荐