Consider outside business partners that provide or request some sort of business function key to your business. In that case, the scope of the service is defined for you.
考虑这样一种情况,一些外部的合作伙伴提供或请求某种对您的企业来说非常关键的功能,那么这也就为您确定了服务的范围。
Depending on the technologies used, you can generate events for request scope in different ways.
根据所用技术的不同,可以以不同方式为请求范围生成事件。
Use it to create a unique scope key for this request scope.
使用它为请求范围创建惟一的范围键。
A more seamless change request process would most likely have introduced more opportunities for controlled scope growth, resulting in a better overall system and a higher contract value.
更加无缝的变更请求过程几乎会为控制范围的增长、产生更好的系统和更高的和约价值带来的更多的机会。
Store that string away in a request scope.
将该字符串另存到一个请求范围内。
After the request is processed, it sends a JMS message to indicate that this request scope has ended.
在处理请求之后,它发送一个JMS消息,表示这个请求范围已经结束。
Because the service has request scope, you must dispose of the service at the end of the request, at the latest.
由于该服务具有请求范围,因此必须在最近的请求完成时释放该服务。
Use it to notify the object manager that a request scope is about to end and to release the corresponding objects.
使用它通知对象管理器请求范围即将结束,应该释放对应的对象。
There is one exception to the rule with regard to the request scope of the service.
这个服务请求范围规则有一个例外。
I will show you how to create a policy that can address the request — the scope of the policy needs to be broader than the scope of the request.
现在说明如何创建能够处理该请求的策略,策略的范围应该比请求的范围广。
Scope (request/session) specifies where to look for the object.
Scope (请求/会话)指出到哪里查找对象。
For instance, a request scope starts and stops in a servlet container.
例如,请求范围的开始和结束都在一个servlet容器中。
The sample code demonstrates how to use the object manager to manage a request scope in a Struts 1.1 application.
示例代码演示如何用对象管理器在一个Struts 1.1应用程序中管理请求范围。
requestDestroyed() - The container calls this method when a servlet request is about go out of scope.
requestDestroyed() ——当一个servlet请求即将离开范围时,容器调用这个方法。
RequestInitialized - The container calls this method when a servlet request is about to go into scope.
requestInitialized——当一个servlet请求即将进入范围时,容器调用这个方法。
Then fetch() calls places.addPlace(), which uses the map and weather information, along with the address, to create a new Place in request scope.
随后fetch()调用 places.addPlace(),后者使用地图和天气信息以及地址,在请求范围内创建一个新的Place。
The outlet scope provides the looping capabilities over the array of Outlets provided within the request message.
分店范围为请求消息中提供的Outlets数组提供循环功能。
The application stores a list of Places, depicted in Figure 1, in session scope and maintains a Place in request scope.
应用程序在会话范围内存储了一组Place,如图1所示,并在请求范围内维护了一个Place。
A request scope corresponds to a servlet request scope; it starts immediately after the container calls a servlet to process a request.
请求范围与一个servlet请求的范围对应;在容器调用servlet来处理请求之后,请求范围立即开始。
The modified AnyAction class in Listing 10 demonstrates how to retrieve the request scope key from the RequestContext object and pass the RequestContext object to EJB components.
修改后的anyaction类(清单10)演示如何从RequestContext对象获取请求范围键并把RequestContext对象传递给EJB组件。
The Order scope provides the looping capabilities over the array of Orders for each Outlet within the request message.
Order范围为请求消息中每个Outlet的Orders数组提供循环功能。
In addition to creating request scope keys, MyRequestProcessor needs to get the application scope key and session scope key and store them in a RequestContext object before a request is processed.
除了创建请求范围键之外,在处理请求之前,MyRequestProcessor需要获得应用程序范围键和会话范围键,并把它们存储在RequestContext对象中。
By default, when an Ajax request to DWR invokes a creator, the instantiated object is placed in page scope and therefore is no longer available after the request completes.
默认情况下,到DWR的Ajax请求会调用creator,实例化的对象处于页面范围内,因此请求完成之后就不再可用。
For example, object1 and object4 in the diagram are both bound to the request scope.
例如,图中的object1和object4在请求范围内存在。
In this example, the NextViewData can be retrieved from a request scope attribute.
在本例中,可以从请求作用属性中寻回NextViewData。
When this attribute isn't present or is FALSE the action's request parameters are only maintained for the duration of the portlet request scope.
当这个属性没有出现或者值为FALSE时,只在portlet请求作用域维护动作的请求参数。
For example, in the web-tier a Spring-managed object may be bound to 'request' or 'session' scope.
举个例子来说,在web层,一个Spring管理对象可能捆绑到request或session的范围。
This means that if a value is stored in a short-term scope, such as page or request scope, it will be absent by the time the JSF life cycle arrives at the Restore View phase.
这意味着如果一个值是短期作用域存储的,例如页面或请求作用域,那么当JSF生命周期到达RestoreView阶段时,这个值将消失。
This means that if a value is stored in a short-term scope, such as page or request scope, it will be absent by the time the JSF life cycle arrives at the Restore View phase.
这意味着如果一个值是短期作用域存储的,例如页面或请求作用域,那么当JSF生命周期到达RestoreView阶段时,这个值将消失。
应用推荐