You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.
I have a Resource class annotated with com.google.inject.Singleton, with its constructor annotated with com.google.inject.Inject. This ends up having RequestScope in Jersey and is instantiated on every request.
I don't understand the innards of the bridging mechanism, but given that it requires Guice's Inject annotation to work, shouldn't it also respect Guice's scope annotations?
The text was updated successfully, but these errors were encountered:
I have a Resource class annotated with
com.google.inject.Singleton
, with its constructor annotated withcom.google.inject.Inject
. This ends up havingRequestScope
in Jersey and is instantiated on every request.I don't understand the innards of the bridging mechanism, but given that it requires Guice's
Inject
annotation to work, shouldn't it also respect Guice's scope annotations?The text was updated successfully, but these errors were encountered: