當前位置:國文幫>造句>

“Guice”寫句子,用Guice造句

造句 閱讀(2.11W)

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

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

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

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

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

24、我認爲依賴倒置非常重要,因此打算轉換對Guice的依賴。

28、Louth的分析表明,在某些情況下,Spring2.5要快於Guice,從整體來看,二者在*能上已經非常接近了。

Guice造句

2、This code creates a Guice module.

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

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

18、如果您熟悉Guice,上述代碼應該會看起來很眼熟。

23、不要把提供者與provider方法弄混淆了(在Guice 1.0,這兩者更難區分開來)。

29、如果您已經決定使用Guice 1.0,用戶指南中有這種舊方法的文檔,而且在本文隨附的示例代碼中,您可以找到一個自訂provider。

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

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.

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

26、但是,Guice的默認綁定程序api不允許出現“每次調用時將hero類綁定到一個不同的實現”這樣的調用。

3、Tell Guice which dependency you want.

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

22、Dhanji:當然可以。主要的原則就是簡潔與類型安全,就像Guice那樣。

1、Guice: Download the Guice 2 beta release.

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

27、如果要了解更多Guice進階功能(比如面向方面編程支援),建議您訪問參考資料中的一些連結。

10、Guice傳遞給模組的Binder 用於告訴Guice您想如何構造對象。

30、例如,我們可以劃分、合併、*入各種各樣的涉及認*和站點安全的服務,如同處理Guice的servlet模組一樣簡單。

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.

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

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.

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

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