向acegi和JSF提供上下文参数。
清单4.servlet的上下文参数。
清单4展示了Web . xml中的上下文参数。
图8显示了会利用该执行上下文参数的规则流的一个原型部分。
Figure 8 shows a prototypical section of the rule flow that would make use of this execution context parameter.
包含用于检查上下文参数是否存在的条件规则的类。
Class to contain a condition rule that checks whether a context parameter exists.
你可以指定一个可选性的上下文参数,它指定了你正在访问的位置。
Optionally you can specify a context argument, that specifies the location you are looking in.
这个版本的evaluate也需要上下文参数,但是不需要返回类型,它似乎返回一个字符串。
This version of evaluate takes a context item, as is normal, but does not require a return type, and it seems to return a string.
这个执行上下文参数的方向应设置为IN_OUT,因为它携带的信息在调用方组件和规则服务之间来回传送。
The direction of this execution context parameter should be set as IN_OUT, since the information it carries goes back and forth between the calling component and the rule service.
taglib有很多上下文参数(Context Parameter),您可以在web.xml文件中进行设置。
The taglib has a number of Context Parameters you can set in the web.xml file.
此外,还需要将Facelets视图处理程序的配置从faces-config.xml文件移到web.xml,在后者中,该配置在servlet上下文参数中定义。
You also need to shift the configuration of the Facelets view handler from the faces-config.xml file to the web.xml, where it is defined in a servlet context parameter.
以上修改后的web . xml现在定义了AnnotationConfigWebApplicationContext上下文类,并将其作为上下文参数和servlet元素的一部分。
The above revised web.xml now defines AnnotationConfigWebApplicationContext context class as part of context parameter and servlet elements.
首先,可以通过改变连接点上的上下文来直接配置连接点,如方法参数或者执行对象本身。
First, you can configure the join point directly by varying some context available at the join point, like method arguments or the executing object itself.
不过,由于存在性能影响,除非提供程序专门要求,否则EJB参数策略上下文处理程序并不会激活。
However, due to performance impacts, the EJB arguments policy context handler does not activate unless it is specifically required by the provider.
如果没有提供任何参数,则显示当前CPU上下文的栈跟踪。
When given with no arguments, displays stack trace for the current CPU context.
在这样做时,重要的是要包含尽可能多的上下文信息,例如用户提供的参数,其他应用程序的状态信息。
When doing so, it is crucial to include as much contextual information as possible — parameters supplied by users and other application state information, for example.
这里要用到三个参数:上下文指针、可信任库文件的路径和文件名,以及证书所在目录的路径。
This takes three parameters: the context pointer, the path and the filename of the trust store file, and a path to a directory of certificates.
在运行时,将使用已部署查询和已解析的上下文变量列表作为参数来调用该插件。
At run time, the plug-ins are invoked with the deployed query and a list of resolved context variables as parameters.
通过使用“穿透钻取”定义(其中包含一个由链接的上下文定义的参数)避免需要为每种职业单独定义一个链接。
By using a "drill-through" definition that contains a parameter defined by the context of the link, you do not need to create a link for each profession individually.
更复杂的类型库可以使用该方法建立依赖于上下文和不同参数的数据类型,如作用域中的基准URI和名称空间前缀。
More complex type libraries can use this method to make types dependent on context and various parameters, such as base URIs and namespace prefixes in scope.
为了获得这个上下文,首先需要绑定由输入绑定参数指定的本地或远程主机上的端点。
To obtain this context, we first need to bind to the endpoint either on the local or remote host, as specified by the input binding parameter.
值绑定到可执行查询上下文中的参数。
A value is bound to a parameter in the context of an executable query.
中介参数和上下文属性
这个功能是用内置函数contains实现的,这个函数以一个上下文和搜索词作为参数。
This functionality is implemented with the contains built-in function, which takes a context and a search term as parameters.
为ScriptedAction开发脚本时,Struts对象将提供进行此项工作所需的全部上下文和参数。
When developing a script for ScriptedAction, the Struts object provides all the context and parameters required to do the job.
在closures之前,对所传递函数的实施限定在其函数参数的上下文。
Before closures, implementation of the passed function was limited to the context of its function arguments.
不含参数,并且得到所需的JNDI上下文。
使用接口作为方法参数是上下文IoC的一种形式(这是ioc术语),应用于调用程序的依赖项。
Using interfaces as method parameters is (in IoC terms) a form of context IoC, applied on a dependency of the caller.
eq函数将参数同上下文比较,如果它们相同,就返回true。
The eq function compares an argument to the context and returns true if they are the same.
初始化包括从portlet上下文装载运行时参数。
Part of initialization is to load the runtime parameters from the portlet context.
单值上下文变量计算为在参数上下文中替换的字符串,例如,%wf:process.starter%计算为sarah。
Single value context variables evaluate to a string that is replaced in the parameter context, for example %wf:process.starter% evaluates to sarah.
应用推荐