这些代码建立了一对上下文属性。
要设置上下文属性,请执行以下步骤。
在模板中访问上下文属性。
中介参数和上下文属性
这意味着,目的地上下文属性是指定该信息的适当的位置。
This means that the destination context properties are the appropriate places to specify this information.
MessageContext提供了访问上下文属性的方法。
The MessageContext provides a means to access context properties.
HTTP绑定具有自己的处理程序链和自己的一组消息上下文属性。
The HTTP binding has its own handler chain and its own set of message context properties.
通过这些上下文属性,JNDI 能为您创建所需的上下文。
The context properties tell JNDI what context you want so that it can create the right one for you.
动态上下文属性(也称为配置属性)可以由管理员应用和配置。
Dynamic-context properties (also known as configuration properties) can be applied and configured by administrators.
例如,可以通过在目的地中设置上下文属性在运行时配置附加路由和其他信息。
Additional routing and other information is configurable at run time, for example, by setting context properties on destinations.
使用上下文属性提供覆盖功能非常简单,稍后我们将在示例处理程序中举例说明。
Providing an override capability using context properties is simple, as illustrated later in our sample handlers.
如果我们在生产环境中使用类似的中介,则使用上下文属性来配置中介效果会更好一些。
If we were to use a similar mediation in a production environment, it would be better to configure the mediation using context properties.
如果中介处理程序试图获取没有定义的上下文属性,则您可能会遇到难以诊断的运行时故障。
If a mediation handler tries to get context properties that aren't defined, you may experience runtime failures that are difficult to diagnose.
本文提出了全局上下文属性和局部上下文属性两类属性作为分类模型的特征属性。
Two kinds of features, global context feature and local context feature, are proposed as the classification features.
可以通过中介传递上下文属性或者目的地上下文属性来指定中介所应用的XSLT。
The XSLT applied by the mediation can be specified using either mediation context properties or destination context properties.
遵循良好的中介处理程序实践,我们从上下文属性中读取此字符串,并且用它来生成新的消息。
Following good mediation handler practices, we read this string from a context property, and use it to generate a new message.
请记住,我们已经将中介处理程序编码为依赖于某些必须在作为中介的目的地设置的上下文属性。
Remember that we've coded the mediation handlers to depend on some context properties that must be set on the mediated destinations.
如果设置了消息上下文属性,此方法会返回此属性,否则它将返回定义的中介参数的值。
This method returns a message context property if one has been set, otherwise it returns the value of the defined mediation parameter.
WBSF还支持扩展其核心本体以定义新断言和web服务上下文属性,以便这些断言能够生效。
WBSF also offers the ability to extend its core ontology to define new assertions and web service context properties for the assertions to act on.
关于PrintName惟一需要注意的一点是:它使用了上下文属性ctxt . name。
The only notable thing PrintName does is utilize the context attribute ctxt.name.
在创建代理类实例之后,可设置其回调函数,还可以有选择地设置其超时属性或用户上下文属性。
After creating the proxy class instance, you can set its callback functions and optionally set its time-out or user-context properties.
要注意,使用 $treeFarm上下文属性引用的方法和前面分析的 $treeList变量引用一致。
Note that the syntax of using the $treeFarm context attribute reference is identical to the $treeList variable reference examined earlier.
servlet上下文属性与保存在application 作用域内的JSP/JSF变量类似。
The servlet context's attributes are the same thing as the JSP/JSF variables kept in the application scope.
通过使用这些方法,您可以编写一个通用的中介,基于目的地上下文属性设置将消息复制到一个或多个其他目的地中。
By using these methods you could write a general purpose mediation that copies a message to one or many other destinations based on the context property Settings.
如果您想设置一个中介上下文属性,那么单击Apply按钮而不是OK按钮,接下来您就可以设置上下文属性了。
If you want to set a mediation context property, click Apply rather than OK so you can set context properties.
实际的解决方案将以一种更通用的方式构建新SOAP消息,以便从上下文属性中读取诸如目标名称空间、操作、端口名称等的值。
A real life solution would build the new SOAP message in a more generic fashion, reading the values for things like target namespace, operation, port name, and so on, from context properties.
从一个上下文中的对象到另一个上下文中的对象的调用将经过上下文代理,并受到由组合上下文属性所实现的策略的影响。
A call from an object in one context to an object in another context will go through a context proxy and be affected by the policy implemented by the combined context properties.
要想动态地配置CXF,需要使用这个隐含的类型并把代理转换为bindingprovider类,然后通过类型转换访问请求上下文属性映射。
To configure CXF dynamically, you need to make use of this implied typing and cast the proxy to the BindingProvider class, then access the request context property map through that cast.
连接器为这些数字添加一个字符串前缀,该字符串可以通过设置连接器源上下文属性Prefix forExpressionColumns进行配置。
The connector prefixes these with a string that can be configured by setting the connector source context property prefix for Expression Columns.
您甚至可以在属性文件里保存这些jndi上下文属性(标准名称为jndi . properties)。然后,不用再对代码做任何的变动就可以修改这些属性了。
You can even store these jndi context properties in a properties file (the standard name is jndi.properties) and then modify them without having to change (and recompile and re-JAR) any code at all.
应用推荐