Clever Geek Handbook
📜 ⬆️ ⬇️

Google guice

Google Guice is a universal open source framework for the Java platform, developed by Google under the Apache 2.0 license . The framework provides support for dependency injection using annotations to configure Java objects [1] .

Google guice
Guice.jpg
Type ofDependency Injection
DeveloperGoogle
Written onJava
operating systemCross-platform software
Latest version4.2.0 ( February 28, 2018 )
conditionActive
LicenseApache 2.0 license
Websitegithub.com/google/guice

Dependency injection is a design pattern whose main task is to separate the behavior of an object from the control of its dependencies. Guice allows implementation classes to be programmatically bound to an interface and then injected into constructors , methods, or fields marked with the @Inject annotation . When it is necessary to provide more than one implementation of one interface, the user can create their own annotation that determines the choice of the desired implementation, and then use it to implement dependencies.

Links

  1. ↑ google-guice - Google Code
Source - https://ru.wikipedia.org/w/index.php?title=Google_Guice&oldid=91753645


More articles:

  • Ganalanyan, Aram Tigranovich
  • Catholic church of St. Stanislav (Pinsk)
  • List of monuments to Cossacks in Ukraine
  • Santander Cathedral
  • Olsufievs
  • Zaharovka (platform)
  • Zenzevatka (station)
  • Farelyuk, Anton Mikhailovich
  • Saint-Andre-Lachan
  • Pinsk Leshchinsky Monastery

All articles

Clever Geek | 2019