• Easy customization using hooks from within the Spring context.

    从Spring上下文中使用hooks进行轻松定制。

    youdao

  • We can easily introduce additional Spring context files to Warsaw-based application.

    在基于Warsaw的应用中,引入Spring上下文文件很容易。

    youdao

  • Customizing Apache Wink through easy customization hooks from within the Spring context.

    通过轻松自定义spring上下文中的挂钩自定义apachewink。

    youdao

  • Listing 4 provides an example of the web.xml file that defines and loads the Spring context.

    清单4提供了定义和加载spring上下文的web . xml文件示例。

    youdao

  • Listing 4 shows part of a Spring context that specifies the point cuts for such an application.

    清单4展示了部分Spring上下文,它为这样的应用程序指定了切点。

    youdao

  • Once the Spring context has been loaded, it is easy to register resources and providers as Spring beans.

    加载Spring上下文之后,它可以轻松将资源和提供者注册为 Springbean。

    youdao

  • You can use the Spring context to manage prepackaged services, snap in third-party services, or write your own.

    可以使用Spring上下文管理预打包的服务,整合第三方服务或自己编写服务。

    youdao

  • Spring context: the Spring context is a configuration file that provides context information to the Spring framework.

    Spring上下文:Spring上下文是一个配置文件,向Spring框架提供上下文信息。

    youdao

  • To load the Spring context, you must first define and add the context load listener to the web.xml file of the web application.

    要加载Spring上下文,您首先必须定义上下文加载侦听器并将其添加到web应用程序的web . xml文件。

    youdao

  • Autowiring by type can obviously result in ambiguities when the Spring context contains more than one object of the expected type.

    通过类型进行的自动装配明显地在Spring context包含多于一个期望类型的对象的时候造成歧义。

    youdao

  • SpringSource, for example has made sure that the whole engine can be configured by just declaring a bean in your Spring context file.

    比如说SpringSource,整个应用可以通过在Spring的context文件中声明Bean来实现配置。

    youdao

  • If these requirements hold then Cloudfoundry will automatically intercept your local datasource and use the Cloudfoundry service instead of what is set in the Spring context.

    如果满足上述需求,那Cloudfoundry将会自动拦截你的本地数据源,并使用Cloudfoundry服务来代替那些设置在Spring上下文中的值。

    youdao

  • The Spring context in the Blether WAR looks up the EntityManagerFactory that it USES from the web module's local JNDI, where it is mapped by a persistence-unit-ref in the module's web.xml file.

    Blether WAR中的Spring上下文通过web模块的本地JNDI查询它使用的EntityManagerFactory,其中它由模块的web . xml文件中的一个persistence - unit - ref所映射。

    youdao

  • And you enable annotation configuration and component scanning in the Spring application context XML configuration, as shown in Listing 5.

    然后,在Spring应用程序上下文XML配置中启用注释配置和组件扫描,如清单5所示。

    youdao

  • Transaction attributes for the service are specified in the Spring application context file.

    服务的事务属性在Spring应用程序上下文文件中指定。

    youdao

  • Spring enables you to create an application context that includes definitions for these dependencies.

    Spring让您能够创建包含这些依赖项定义的应用程序上下文。

    youdao

  • So what are the steps for using Spring application context as an implementation within an SCA composite component?

    那么,将Spring应用程序上下文用作sca合成组件中的实现需要执行哪些步骤呢?

    youdao

  • The integration with Spring is at the SCA composite level, where a Spring application context provides a complete composite implementation, exposing services and wiring references through SCA.

    与Spring的集成处于sca合成级别,其中,Spring应用程序上下文提供完整的合成实现,通过SCA公开服务并连接引用。

    youdao

  • Similarly, the SCA properties defined in the SCA composite can be directly used as bean references within your Spring application context.

    类似地,在SCA复合集中定义的sca属性可以直接用作Spring应用程序上下文中的bean引用。

    youdao

  • However, unlike a Spring application context, an assembly can be distributed and used to describe wiring across applications.

    然而,不同于Spring的应用上下文,装配可以是分布的,而且可用于描述跨应用的连接。

    youdao

  • You learned about Spring integration with CXF using a bean context file.

    您了解了使用Bean上下文文件的Spring与CXF 的集成。

    youdao

  • Spring permits the loading of multiple application context files using the ClassPathXmlApplicationContext bean definition.

    Spring允许使用ClassPathXmlApplicationContextbean定义加载多个应用程序上下文文件。

    youdao

  • The direct use of SCA references and properties within your Spring application context file, without custom SCA namespaces, is called implicit declaration of SCA services, references, and properties.

    在Spring应用程序上下文文件中直接使用SCA引用和属性(无需自定义sca名称空间)称为sca服务、引用和属性的隐式声明。

    youdao

  • This means that a Spring application context defines the internal structure of a composite implementation.

    这意味着,Spring应用程序上下文定义合成实现的内部结构。

    youdao

  • First, in the main method, your code grabs the Spring application context. This is the configuration file seen in Listing 1.

    首先,在main方法中,您的代码捕获Spring应用程序的上下文,就是您在清单1中看到的配置文件。

    youdao

  • An SCA runtime that supports Spring integration can use an application context as-is in an SCA assembly.

    支持Spring集成的SCA运行时可以在SCA组装中原样使用应用程序上下文。

    youdao

  • It's similar to a Spring application context in that it is a way to wire parts of an application together.

    这一点非常类似与Spring的应用上下文,它是一种连接应用程序不同部分的方法。

    youdao

  • Spring also utilizes an application context written in XML to instantiate, configure, and assemble the objects in your application.

    Spring还利用一个以XML编写的应用程序上下文来实例化、配置和组装应用程序中的对象。

    youdao

  • The return type of the method is the bean that is registered to Spring application context.

    该方法的返回类型是向Spring应用程序上下文注册的bean。

    youdao

  • In typical Spring applications, you bootstrap the application context once, at application startup, and from that point on your components simply use the dependencies that Spring provided them.

    在通常的Spring应用程序中,在应用程序启动时引导一次应用程序上下文,然后,应用程序中的组件只需使用Spring为它们提供的依赖项。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定