Status: New
Owner: ----

New issue 311 by Rinsvind: Some guice extensions do not resovle under OSGi.
http://code.google.com/p/google-guice/issues/detail?id=311

AssistedInject
Miltibindings
ThrowingProviders

All of these use com.google.inject.internal and therefore their bundles
import it. The Guice bundle however (rightfully) does not export this
package. The result is that the bundles containing each of the above
extensions can never be resolved. I have solved this for myself by
repackaging guice togather with the three extensions under one bundle (so
internal remains hidden). But this is ugly.
The internal stuff used by these extensions does not seem so vitally
private - more like stand alone utilities. The cleanest solution would be
to make it public in some (more limited?) form:

com.google.inject.internal.Errors
com.google.inject.internal.ErrorsException
com.google.inject.internal.Annotations.getKey
com.google.inject.internal.UniqueAnnotations

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to