加载多个应用程序上下文文件。
步骤1:取回一个应用程序上下文实例。
SCA运行时中的应用程序上下文创建。
您的应用程序上下文现在应该匹配清单3。
为SCA组件使用多种应用程序上下文
步骤4:从应用程序上下文取回安全bean。
Step 4: Fetching a secure bean from the application context.
选择一些真正有意义且符合应用程序上下文的图片。
Choose photos that convey a real meaning and make sense in the application context.
每个块都需要确定其在整个应用程序上下文中的位置。
Each one needs to determine where it is in the context of the whole application.
此变量仅在应用程序上下文要销毁时才会设置为true。
This variable is set to true only when the application context is going to be destroyed.
服务的事务属性在Spring应用程序上下文文件中指定。
Transaction attributes for the service are specified in the Spring application context file.
Roo足够智能,可通过判定应用程序上下文建议下一步行动。
Roo is intelligent enough to suggest the next action by determining the context of your application.
步骤2:从应用程序上下文中取回不安全的bean。
Step 2: Fetching an insecure bean from the application context.
Spring让您能够创建包含这些依赖项定义的应用程序上下文。
Spring enables you to create an application context that includes definitions for these dependencies.
这意味着,Spring应用程序上下文定义合成实现的内部结构。
This means that a Spring application context defines the internal structure of a composite implementation.
了解如何将多种应用程序上下文综合起来用作sca组件的一个实现。
Learn how multiple application contexts can be combined and used as an implementation for your SCA component.
在该文件中要创建少量的函数,以支持微博客应用程序上下文中的动作。
You're going to create a handful of functions in this file that allow actions within the context of your microblogging application.
这个处理程序被调用后,它首先需要获取当前应用程序上下文。
When this handler is invoked, it first needs to get the current application context.
您了解了SCA运行时如何为 SCA组件创建目标应用程序上下文。
You explored how the SCA runtime creates the target application context for your SCA component.
要显式映射资源,应将SCA架构(参见参考资料)添加到应用程序上下文。
To explicitly map resources, add the SCA schema (see resources) to the application context.
对servlet和J sp而言,是相对于应用程序上下文的URI路径。
For servlets or JSPs, it should be the URI path relative to the application's context root.
该方法的返回类型是向Spring应用程序上下文注册的bean。
The return type of the method is the bean that is registered to Spring application context.
可以在以后使用Web应用程序上下文安全地访问bean。
The Web application context can be used later to access beans securely. Listing 1, below, shows the use of Web application context in a JSF page
引导程序——创建应用程序上下文,它为应用程序提供运行时上下文。
Bootstrapping - creates an application context that provides the runtime context for an application.
然后,Spring容器可以验证bean并成功加载应用程序上下文。
Then, the Spring container can validate the beans and load the application context successfully.
内省这个目标应用程序上下文定义文件以决定所声明的SCA服务、引用和属性。
Introspect the target application context definition file to determine the declared SCA service, reference, and properties.
获取J2EE应用程序上下文的快照,并将其作为WWEC对象与该工作存储在一起。
A snapshot is taken of the J2EE application context and stored with the work as a WWEC object.
获取工作线程上当前J2EE应用程序上下文的快照,以便在工作完成之后进行恢复。
A snapshot is taken of the current J2EE application context on the worker thread to restore later after the work completes.
支持Spring集成的SCA运行时可以在SCA组装中原样使用应用程序上下文。
An SCA runtime that supports Spring integration can use an application context as-is in an SCA assembly.
借助Spring的IOC框架,您可以装载自己的自定义应用程序上下文。
With the Spring's IOC framework, you can load your own custom application context.
应用程序上下文加载程序位于标记中,它将加载Spring的ioc框架。
An application context loader in a tag, which loads Spring's IOC framework.
应用推荐