Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for February 2008

/code - Brian Slesinsky

Occasional essays, often concerning software development in Java.

Guice callbacks should take parameters - February 17, 2008

Guice is easy to use when you want to build a web of objects based on a static configuration. However, it gets awkward when you want to create multiple, similar webs of objects, where only a few nodes vary. This is because Guice has no direct support for callbacks that take parameters. The only callback that's built into Guice is Provider.get(). I would like to see full support for callbacks with parameters in the next version of Guice. In this article, I'll sketch out how we could do.
http://slesinsky.org/brian/code/guice_callbacks_should_take_parameters.html
Available Archives
- January (1 item)
- February (1 item)
- May (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact