Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  





2 References  





3 Further reading  














Google Guice






Deutsch
Español
Français

Magyar

Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Google Guice
Developer(s)Google
Stable release

7.0.0 / May 12, 2023; 14 months ago (2023-05-12)[1]

Repositorygithub.com/google/guice
Written inJava
TypeDependency injection framework
LicenseApache License 2.0
Websitegithub.com/google/guice Edit this on Wikidata

Google Guice (pronounced like "juice")[2] is an open-source software framework for the Java platform developed by Bob Lee and Kevin Bourrillion at Google and released under the Apache License. It provides support for dependency injection using annotations to configure Java objects.[3] 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.

Being the first generic framework for dependency injection using Java annotations in 2008, Guice won the 18th Jolt Award for best Library, Framework, or Component.[3][4]

See also[edit]

References[edit]

  1. ^ "Guice510 · google/guice Wiki". Retrieved 2022-05-12.
  • ^ "google-guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 5 and above, brought to you by Google". Code.google.com. Google Project Hosting. 2007-03-23. Retrieved 2013-11-24.
  • ^ a b Yuan, Michael. "Guice (Google)". Retrieved 2010-04-09.
  • ^ "18th Annual Jolt Award winners".
  • Further reading[edit]

  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Google_Guice&oldid=1202902150"

    Categories: 
    Aspect-oriented programming
    Extreme programming
    Google software
    Software testing
    Computer library stubs
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    All stub articles
     



    This page was last edited on 3 February 2024, at 19:53 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki