/code - Brian SlesinskyOccasional 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 |