• My second implementation used a caching service locator.

    第二个实现使用缓存服务定位器

    youdao

  • But the service locator should not include a resource cache.

    但是服务定位器包含资源缓存

    youdao

  • My third implementation used a service locator with no cache.

    第三个实现使用没有缓存服务定位器

    youdao

  • 'Service Locator' as a stepping stone to Dependency injection.

    用“Service Locator作为依赖注入垫脚石

    youdao

  • So overloaded resource names mess up a service locator and its cache.

    重载资源使得服务定位器与其缓存之间变得混乱

    youdao

  • OK, so a caching service locator causes errors for overloaded resource names.

    既然由于缓存服务定位器导致重载资源时的错误

    youdao

  • How hard will it be to figure out that the service locator is causing the problem?

    解决服务定位导致问题的难度有多大呢?

    youdao

  • For Cairngorm, we offer a service locator that can be configured in the IoC container.

    我们Cairngorm提供了一个配置IoC容器中的服务定位器

    youdao

  • A service locator implementation that includes caching accesses a data source like this.

    包含访问数据源缓存服务定位器实现如下。

    youdao

  • Because of the caching service locator, the two beans are now using the same data source.

    由于缓存服务定位原因,两个bean现在使用相同数据源

    youdao

  • After declaring services to reside on the service Locator you will want to invoke them.

    声明居于服务定位器的服务后,打算调用它们

    youdao

  • To make this safe, you need to have a mechanism to lock the service locator and make it read only.

    为了安全需要一种机制锁定服务定位器使之只读

    youdao

  • Another way is for each component type to use its own instance of service locator, not a singleton.

    另外一个方法每个组件类型使用自身服务定位器实例而不是集合

    youdao

  • For example, the service locator code that enables a client to access a data source looks like this.

    例如允许客户访问数据源服务定位器代码表面上与此相似。

    youdao

  • Modularity patterns: Separated Interface and Plug In, Service Locator, Event Aggregator, facade.

    模块化模式分离界面插件服务定位事件聚合外观模式

    youdao

  • The remaining alternative is to use a service locator, make it a singleton, but remove the reference cache.

    剩下选择使用服务定位器使用集合的方式,但是要去除引用缓存

    youdao

  • Service locator implementations usually include a resource cache to avoid repeated lookups of the same resource.

    服务定位器实现通常包括资源缓存,以此避免相同资源重复查找

    youdao

  • Therefore, J2EE 1.3 applications should not include the resource cache in their service locator implementations.

    因此J2EE 1.3应用程序中,服务定位器实现应该包含资源缓存

    youdao

  • This is because the service locator will cache the resource for whichever component USES the overloaded name first.

    是因为服务定位器缓存不论哪个组件首次使用所重载的名称资源

    youdao

  • We will briefly review how JNDI works here, primarily to understand the parts that affect the Service Locator pattern.

    我们主要回顾JNDI如何工作的,首先弄清楚影响Service Locator模式部分

    youdao

  • This is simple to apply to an existing application: just change the service locator implementation to disable or remove the cache.

    其应用于现有应用程序简单只要改变服务定位器实现禁止去除缓存。

    youdao

  • Business logic code that USES a service locator avoids becoming cluttered with directory lookup code, and so is easier to understand.

    业务逻辑代码使用服务定位器避免目录查找代码变得混乱因此容易理解。

    youdao

  • The Service Locator pattern is still useful for encapsulating the code that uses JNDI, even if the locator does not use caching.

    Service Locator模式封装使用JNDI代码仍然有用即使定位使用缓存

    youdao

  • In addition, the Service Locator pattern can be modified to access the appropriate version of the EJB home and remote interfaces.

    另外可以通过修改Service Locator模式访问合适版本ejb本地远程接口。

    youdao

  • My first implementation used no service locator; the beans performed all of the JNDI code themselves. Here are the two toString 's I got.

    第一个实现没有使用服务定位器bean本身执行所有JNDI代码

    youdao

  • A business locator can take many forms — for instance, it could be a web service locator, an EJB component locator, or a JMS locator.

    业务定位程序可以采用多种形式,比如Web服务定位程序、EJB组件定位程序或者JMS定位程序。

    youdao

  • A service locator that caches references will cause a J2EE 1.3 (and later) application with an overloaded resource name to work incorrectly.

    缓存引用服务定位导致J2EE 1.3(以及以后版本)中重载资源应用程序工作不正常。

    youdao

  • The most methodical way of doing this is to find one of the service locator lookups in a constructor and push it to the class instantiating it.

    这件事情最有条理方法组件的构造函数找到执行服务定位器查找的语句,语句移实例化该组件的中。

    youdao

  • Wherever there are singleton lookup in the legacy codebase, a small change is made to lookup the same component via the service locator instead.

    凡是遗留代码集中出现单件查找地方,稍加修改即可换服务定位器查找同样组件

    youdao

  • When the Service Locator pattern was first developed for J2EE 1.2, caching references was a good idea, or at least it didn't hurt anything.

    J2EE 1.2中首次使用Service Locator模式开发时,缓存引用一个很好的主意或者说至少当时没有任何的伤害。

    youdao

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

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

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