-
Hi all,
And in. my jaxrs resource class I am doing injecting it
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
is micronaut RequestScope not expect to work within a javax Resource class? |
Beta Was this translation helpful? Give feedback.
-
This actually works as expected. I was testing on wrong way. (Trying to log and compare injected objects hashcode and verify it to be different). Turns out injected object is a wrapper/proxy which is singleton, but actually object is different. |
Beta Was this translation helpful? Give feedback.
This actually works as expected. I was testing on wrong way. (Trying to log and compare injected objects hashcode and verify it to be different). Turns out injected object is a wrapper/proxy which is singleton, but actually object is different.