-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
ArC interceptors - implement inheritance rules properly #11942
Comments
/cc @manovotn |
- add basic support for interceptor's inheritance - other unsupported use cases are described here: quarkusio#11942
I have composed a test to see what we actually support; it's taken from interceptors TCK and works with a hierarchy of interceptors as well as hierarchy of interceptors declared on a target class. According to the specification, all of that should work. However, ArC currently:
|
An update: Here is a CDI discussion and a nice table depicting which interception types are expected to work in CDI Lite which is pretty much the model we will want to follow.
This will likely not be supported in Lite and I think Arc shouldn't support it either. At least not for the time being.
This is something we will have to look into because the TCKs will test it anyway. |
@dufoli I will take this one |
Assigned to you. |
questions:
|
That's very good question indeed.
Didn't go too deep into the code as I am preoccupied with other things right now but |
Agree that the spec is pretty clear in that all kinds of interceptor methods are inherited [from the superclasses of the interceptor class]. |
- add basic support for interceptor's inheritance - other unsupported use cases are described here: quarkusio/quarkus#11942
The Interceptors spec states:
(5.2.2 Invocation Order of Interceptors with Superclasses)
And also:
(2.5 Business Method Interceptors)
The text was updated successfully, but these errors were encountered: