| Developer(s) | |
|---|---|
| Stable release | 2.0.0 / 2009-05-19 |
| Written in | Java |
| Operating system | Cross-platform |
| Development status | Active |
| Type | dependency injection framework |
| License | Apache License 2.0 |
| Website | http://code.google.com/p/google-guice/ |
Google Guice is an open source software framework for the Java platform released by Google under an Apache license. It provides support for dependency injection using annotations to configure Java objects.
Guice allows implementation classes to be programmatically bound
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.
Guice won the 18th Jolt Award for best Library, Framework, or Component [1].
Contents |
|
|