It then retrieves the scope keys from the RequestContext object.
然后,从RequestContext对象获取范围键。
With JMS and RequestContext, you can now modify the previous example.
现在可以用JMS和 RequestContext修改前面的示例。
The RequestContext is a django context with a few differences from the regular django.template.Context.
RequestContext是一个django上下文,与常规的django . template . Context有些许差异。
When calling the remote or local interfaces of EJB objects, it passes the RequestContext object as a parameter.
在调用EJB对象的远程或本地接口时,通过参数传递 RequestContext对象。
To retrieve the scope information, each method of the SessionBeanX class must have the parameter RequestContext.
为了获取范围信息,SessionBean x类的每个方法必须有RequestContext参数。
I've added SessionBeanX, outlined in Listing 11, to demonstrate how to use the RequestContext object inside EJB components.
我还添加了SessionBeanX(清单11),演示如何在EJB组件中使用RequestContext对象。
The RequestContext object inside the bean method can then obtain the keys of current scopes -- through methodY(), for instance.
然后,bean方法中的RequestContext对象可以获得当前范围的键 ——例如,通过methodY()。
The worker object, a RequestContext, is defined in the base class and provides a final execute method that defines the flow for monitoring any request.
工人对象RequestContext是在基类中定义的,提供的finalexecute方法定义了对请求进行监视的流程。
As shown in Listing 10, when the EJB client calls the remote or local interface, it must pass the RequestContext object, which contains information about current scopes.
如清单10所示,当e JB客户机调用远程或本地接口时,它必须传递RequestContext对象,这个对象包含关于当前范围的信息。
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组件。
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对象中。
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对象中。
应用推荐