• This code creates a Guice module.

    代码创建了一个Guice模块

    youdao

  • Tell Guice which dependency you want.

    告诉Guice需要哪个依赖项

    youdao

  • Guice: Download the Guice 2 beta release.

    Guice下载Guice2beta发行版

    youdao

  • Guice is a dependency injection (DI) framework.

    Guice一个依赖项注入(DI)框架

    youdao

  • I hope you'll consider adding Guice to your toolkit.

    希望考虑Guice添加工具包中。

    youdao

  • At that time they can safely become Guice managed.

    那个时候它们就能安全地变为Guice管理的了。

    youdao

  • Finally, Sitebricks is built directly on top of Guice.

    最后,我想说的Sitebricks直接构建Guice之上

    youdao

  • Guice calls this method immediately after it constructs my hero.

    Guice构造好hero之后立即调用方法

    youdao

  • If you're familiar with Guice, the code above should look familiar.

    如果熟悉Guice上述代码应该会看起来眼熟

    youdao

  • Developers have contributed Spring, Seam and Guice service adapters.

    开发人员已经编写了SpringSeamGuice服务适配器等

    youdao

  • You will not have to create or edit a lot of XML files to use Guice.

    使用Guice需要创建编辑大量XML文件

    youdao

  • By default, Guice creates a new instance of each dependency you ask for.

    默认情况下,Guice每个请求依赖项创建一个实例

    youdao

  • This means it won't interfere with applications' use of Spring, Guice, etc.

    就意味着不会影响应用使用SpringGuice

    youdao

  • The @Inject tag takes on meaning only when you ask Guice to construct your class.

    @Inject标记要求Guice构建时才有意义

    youdao

  • Write your business logic with session beans, Spring, Guice, or Pojo services.

    会话BeanSpringGuicePojo服务业务逻辑

    youdao

  • This is the first way of getting Guice to construct your objects: asking explicitly.

    Guice构造对象第一种方式显式询问

    youdao

  • Guice automatically injects the provider method in Listing 15 with the correct arguments.

    清单15中,Guice自动使用正确参数注入provider方法

    youdao

  • Dhanji: Sure, the primary principles are conciseness and type-safety, just like Guice.

    Dhanji当然可以主要原则就是简洁类型安全,Guice那样

    youdao

  • I think Dependency Inversion is so important that I want to invert the dependencies on Guice!

    认为依赖倒置非常重要,因此打算转换Guice依赖

    youdao

  • If you don't ask Guice to create FrogMan, the annotation has no effect on the code's behavior.

    如果要求Guice构建FrogMan,这个注释代码行为就没有任何影响

    youdao

  • Provider methods are an excellent way to integrate other libraries into your Guice module.

    provider方法其他集成Guice模块中的方式

    youdao

  • It turns out that Guice can bind constant values as well as new instances. Check out Listing 21.

    Guice可以绑定常量实例

    youdao

  • Like Guice, it makes aggressive use of annotations to keep configuration as part of the code.

    Guice一样大量使用注释配置作为代码一部分

    youdao

  • To keep the work manageable, you can store the Guice Injector somewhere and call it directly.

    为了使工作易于管理可以Guice Injector存储在某处直接调用

    youdao

  • If you are using an IOC model already (Guice, Spring etc.) then migrating is usually a lot easier.

    如果已经使用IOC模型(Guice, Sprint等等),那么通常迁移会容易得

    youdao

  • Now that Guice knows that your hero needs a Vehicle, it needs to know which Vehicle to provide.

    Guice知道hero需要一个Vehicle后,需要知道提供什么Vehicle。

    youdao

  • The binding annotation is necessary here because otherwise, Guice couldn't tell different Strings apart.

    这里必要使用绑定注释否则Guice不能区分不同的String。

    youdao

  • You rely on Guice to provide your dependencies, even when you're configuring your Guice module itself.

    依靠Guice提供依赖项即使配置Guice模块本身

    youdao

  • The Binder that Guice passes to your module lets you tell Guice how you want your objects constructed.

    Guice传递模块Binder 用于告诉 Guice如何构造对象

    youdao

  • Guice and other DI frameworks serve as flexible "super factories" that you configure to build your objects.

    Guice其他DI框架作为超级工厂”,可以通过配置它们构建对象

    youdao

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

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

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