sarnowski / eve-api

EVE Online API implementation
http://eve.onsteroids.org/
Apache License 2.0
7 stars 1 forks source link

Make implementations JSR-330 compatible #1

Closed sarnowski closed 14 years ago

sarnowski commented 14 years ago

As soon as Guice compatibility with JSR-330 is released, make our implementations JSR-330 conform. In that way, we can support plain JavaSE, Guice and JavaEE6 environments out-of-the-box.

sarnowski commented 14 years ago

http://code.google.com/p/google-guice/wiki/JSR330 http://code.google.com/p/google-guice/wiki/Guice21

sarnowski commented 14 years ago

As a first step in this direction, use the @Singleton annotations on the implementation classes instead of Singleton binding statements in the modules.

sarnowski commented 14 years ago

I pushed Guice 2.1 Revision 1168 into http://mvn.cosmocode.de/. It is now possible to start the work with javax.inject.* annotations.

sarnowski commented 14 years ago

The source code is refactored to use the javax.inject.* annotations. Tests with JavaEE 6 containers are pending.

sarnowski commented 14 years ago

The implementation is now completly JSR-330 compatible but doesn't support Guice anymore (for now).