Unfortunatelly it do not work under OSGi because of the following issue
https://code.google.com/p/google-guice/issues/detail?id=799


2014-03-21 9:59 GMT+06:00 Christian Gruber <[email protected]>:

>  Greetings guice users,
>
> We've released Guice 4.0 Beta 4, and the artifacts are now in maven, API
> diffs and javadocs freshly generated, code.google.com docs updated, and
> you should be able to start using it immediately. Enjoy.
>
> A notable change includes Java8 runtime support (haven't tested it with
> active code using lambdas, but all the tests pass in a Java8 JDK). Also
> included are:
>
>    - Improved error messages on MapBinder, OutOfScopeError,
>    - Improved SPI for @Provides methods
>    - Stronger support for and adherence to JSR-330
>       - @Inject on final fields prohibited (matches javax.inject.Inject
>       semantic)
>       - LibkedBindingBuilder.toProvider(Provider) takes a
>       javax.inject.Provider
>    - Performance improvements for ServletScopes.scopeRequest()
>    - Guava dependency extracted into a normal external dependency (and
>    bumped to 16)
>    - Various fixes and performance improvements (see git commit history)
>
> As always, please test and let us know if there are issues with this
> version. We're honing in on a real 4.0 release, but we have a few tricks up
> our sleeve we want to get in before a final release.
>
> Special thanks to several external contributors, Tavian Barnes, Stuart
> McCulloch, and I hope I'm not forgetting anyone.
>
> enjoy,
> Christian (and Sam Berlin, and the other Guice contributors at Google)
>
> Christian Gruber :: Google, Inc. :: Java Core Libraries :: Dependency
> Injection
> email: [email protected] :::: mobile: +1 (646) 807-9839
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-guice.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/d/optout.

Reply via email to