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

Make javax.ws.rs.ApplicationPath a bean defining annotation #1880

Closed
mkouba opened this issue Apr 5, 2019 · 1 comment · Fixed by #1924
Closed

Make javax.ws.rs.ApplicationPath a bean defining annotation #1880

mkouba opened this issue Apr 5, 2019 · 1 comment · Fixed by #1924
Assignees
Milestone

Comments

@mkouba
Copy link
Contributor

mkouba commented Apr 5, 2019

I'm not quite sure wheter it will be of any use but it would comply with JAX-RS spec requirements.
The corresponding BeanDefiningAnnotationBuildItem should be unremovable (default) and have the default scope: @Singleton or @ApplicationScoped.

@mkouba
Copy link
Contributor Author

mkouba commented Apr 5, 2019

In fact, we should probably make the javax.ws.rs.ext.Provider a bean defining annotation too. And add a test that custom provider supports injection. @gsmet WDYT?

@mkouba mkouba self-assigned this Apr 8, 2019
@mkouba mkouba added this to the 0.14.0 milestone Apr 8, 2019
mkouba added a commit to mkouba/quarkus that referenced this issue Apr 8, 2019
mkouba added a commit to mkouba/quarkus that referenced this issue Apr 8, 2019
mkouba added a commit to mkouba/quarkus that referenced this issue Apr 9, 2019
- Providers are unremovable beans
- a Provider with an injection point is Singleton
- resolves quarkusio#1880
mkouba added a commit to mkouba/quarkus that referenced this issue Apr 9, 2019
- Providers are unremovable beans
- a Provider with an injection point is Singleton
- resolves quarkusio#1880
mkouba added a commit to mkouba/quarkus that referenced this issue Apr 9, 2019
- Providers are unremovable beans
- a Provider with an injection point is Singleton
- resolves quarkusio#1880
mkouba added a commit to mkouba/quarkus that referenced this issue Apr 9, 2019
- Providers are unremovable beans
- a Provider with an injection point is Singleton
- resolves quarkusio#1880
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant