Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guice fix: Register generic @Providers #693

Merged
merged 1 commit into from Nov 9, 2015
Merged

Conversation

fzakaria
Copy link

@fzakaria fzakaria commented Nov 3, 2015

For guice, if you want to bind() a generic type you have to use the
TypeLiteral class. The type however is not of Class and the registration of class's annotated with
@Provider were being ommited.

see: https://github.com/google/guice/wiki/FrequentlyAskedQuestions#how-to-inject-class-with-generic-type

For guice, if you want to bind() a generic type you have to use the
TypeLiteral class. The type however is not of Class and the registration of class's annotated with
@Provider were being ommited.

see: https://github.com/google/guice/wiki/FrequentlyAskedQuestions#how-to-inject-class-with-generic-type
@fzakaria
Copy link
Author

fzakaria commented Nov 3, 2015

JIRA created: https://issues.jboss.org/browse/RESTEASY-1257

liweinan added a commit that referenced this pull request Nov 9, 2015
@liweinan liweinan merged commit d0c1ada into resteasy:master Nov 9, 2015
@fzakaria
Copy link
Author

fzakaria commented Nov 9, 2015

awesome!

@fzakaria
Copy link
Author

fzakaria commented Nov 9, 2015

@liweinan should I close the JIRA myself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants