文语站

位置:首页 > 造句 > 

Guice造句

造句2.19W

1、Guice: Download the Guice 2 beta release.

Guice造句

2、This code creates a Guice module.

3、Tell Guice which dependency you want.

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

5、Guice calls this method immediately after it constructs my hero.

6、Finally, Sitebricks is built directly on top of Guice.

7、At that time they can safely become Guice managed.

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

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

10、Guice传递给模块的Binder 用于告诉Guice您想如何构造对象。

11、I've written this article specifically for Guice 2.0, covering some new Guice features and glossing over features from 1.0 that have been deprecated.

12、Familiarity with Guice, or with another dependency injection framework such as Spring, would be useful.

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

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

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

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

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

18、如果您熟悉Guice,上述代码应该会看起来很眼熟。

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

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

21、Louth's analysis reveals that, in some configurations, Spring 2.5 is now faster than Guice, and overall the two frameworks are now much closer in performance.

22、Dhanji:当然可以。主要的原则就是简洁与类型安全,就像Guice那样。

23、不要把提供者与provider方法弄混淆了(在Guice 1.0,这两者更难区分开来)。

24、我认为依赖倒置非常重要,因此打算转换对Guice的依赖。

25、If you've decided to use Guice 1.0, the user's guide has documentation on the old way, and the sample code supplied with this article has a custom provider you can look at.

26、但是,Guice的默认绑定程序api不允许出现“每次调用时将hero类绑定到一个不同的实现”这样的调用。

27、如果要了解更多Guice高级功能(比如面向方面编程支持),建议您访问参考资料中的一些链接。

28、Louth的分析表明,在某些情况下,Spring2.5要快于Guice,从整体来看,二者在*能上已经非常接近了。

29、如果您已经决定使用Guice 1.0,用户指南中有这种旧方法的文档,而且在本文随附的示例代码中,您可以找到一个自定义provider。

30、例如,我们可以划分、合并、*入各种各样的涉及认*和站点安全的服务,如同处理Guice的servlet模块一样简单。

标签:Guice 造句