I've updated the Guice SPI to include proper interfaces for all the
binding types. We now have InstanceBinding, ProviderInstanceBinding
and several others. These compliment the existing binding target
visitors, which we decided were a little clumsy for sophisticated use.

There's also a new interface, HasDependencies. This interface is
targetted for extensions and frameworks that build on Guice.
 - Extension authors should implement this interface in their Provider
implementations. When you implement this interface, you seize control
over which types are exposed as your provider's dependency. This way
you can help tools out, and make your dependencies more specific than
just 'Injector.class'.
 - Tool authors will be able to take this dependency information and
integrate it into their wares. Better dependency information means
better graphing, visualization and IDE navigation!

You can grab the new changes from SVN. Or browse the Javadoc here:
http://google-guice.googlecode.com/svn/trunk/latest-javadoc/com/google/inject/spi/package-summary.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to