|Type||Dependency injection framework|
|License||Apache License 2.0|
Google Guice (pronounced "juice") is an open-source software framework for the Java platform released by Google under the Apache License. It provides support for dependency injection using annotations to configure Java objects. Dependency injection is a design pattern whose core principle is to separate behavior from dependency resolution.
Guice allows implementation classes to be bound programmatically to an interface, then injected into constructors, methods or fields using an
@Inject annotation. When more than one implementation of the same interface is needed, the user can create custom annotations that identify an implementation, then use that annotation when injecting it.
- google-guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 5 and above, brought to you by Google. - Google Project Hosting. Code.google.com (2007-03-23). Retrieved on 2013-11-24.
- Guice (Google), Reviewed by Michael Yuan, retrieved 2010-04-09.
- 18th Annual Jolt Award winners
- Vanbrabant, Robbie (April 21, 2008), Google Guice: Agile Lightweight Dependency Injection Framework (1st ed.), Apress, p. 192, ISBN 978-1-59059-997-6
|This computer-library-related article is a stub. You can help Wikipedia by expanding it.|