-
Notifications
You must be signed in to change notification settings - Fork 16
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
Sisu adapter for jsr330 that is namespace independent #103
Comments
See https://issues.apache.org/jira/browse/MNG-7954 If we could provide an adapter that could provide the following annotations in a
I still think the problematic point will be to allow plugging in the maven |
guess for the scope the thing can be to
means the bound bean is a singleton for the IoC but handles the @SessionScoped of maven properly, this sounds like less work than integrating more deeply with guice or sisu which is probably not desired for maven so ultimately I'd say that we only need
Named, priority can easily be replaced by methods in beans since it is not really a JSR330 feature (behavior is undefined) so it is bad to fake it is a "feature". Typed can easily be replaced by a delegating bean which downcast types (delegating pattern). Lifecycle+eager can be replaced by lifecycle listeners we have in maven. So overall only inject is really required in sisu from my window, rest is nice to have but not a requirement probably. |
Basically like plexus-shim, but for jsr330?
As this would allow us to move on with guice, possibly mix (or introduce own) jsr330-alike annotations?
The text was updated successfully, but these errors were encountered: