I've recently been trying to learn and understand how Shindig leverages Guice to handle its dependency injection and for the most part I'm getting it all. The two parts where I'm failing to understand is in GadgetRenderingServlet's setRenderer method and HtmlRenderer's constructor. Somehow Guice is handling setting the initial renderer in the servlet as well as the various arguments for the HtmlRenderer's constructor. The reason I am asking is I want to implement my own custom rendering servlet that provides new functionality and will not be able to use the supplied Renderer, HtmlRenderer, etc., and rather than modifying Shindig code directly I would rather create my own or extend the functionality of the existing objects. If anyone can help me make the connection I would greatly appreciate it.
Thanks, Abe