Guice 简明教程

Google Guice Tutorial

Guice 是基于 Java 的开源依赖注入框架。它非常轻量,并且由 Google 积极开发/管理。

Guice is an open source, Java-based dependency injection framework. It is quiet lightweight and is actively developed/managed by Google.

本教程涵盖了大多数了解 Google Guice 所需的主题,能让你领会它的工作原理。

This tutorial covers most of the topics required for a basic understanding of Google Guice and to get a feel of how it works.

Audience

本教程专为初学者编写,目的是帮助他们理解与 Google Guice 相关的从基础到高级的概念。

This tutorial has been prepared for the beginners to help them understand the basic to advanced concepts related to Google Guice.

Prerequisites

在您开始练习本参考中提供的各种类型的示例之前,我们假设您已经了解计算机程序和计算机编程语言。

Before you start practicing various types of examples given in this reference, we assume that you are already aware about computer programs and computer programming languages.