[
https://issues.apache.org/jira/browse/OWB-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bergmark updated OWB-143:
-----------------------------
Attachment: OWB-143.txt
A patch for the matching issue. It does not address the TODO with
parameterized types however. I need a little more time to investigate that.
I also re-factored the method a little bit, removing the boolean flags and some
of the nesting. For one of the flag conditions I had to pull the inner loop
out into a helper method. Please let me know if you prefer the old format, or
would prefer that helper method to be elsewhere.
> Decorator matching looks for all bean qualifiers in the list of delegate
> qualifiers
> -----------------------------------------------------------------------------------
>
> Key: OWB-143
> URL: https://issues.apache.org/jira/browse/OWB-143
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Interceptor and Decorators
> Reporter: Joe Bergmark
> Assignee: Gurkan Erdogdu
> Fix For: M4
>
> Attachments: OWB-143.txt
>
>
> When attempting to match the decorator to a bean, the implementation appears
> to look for a match for all of the bean qualifiers in the delegate qualifier.
> For example if there was a bean annotated with @Named and @RequestScope that
> implements InterfaceA, the delegate injection point right now would need to
> look like:
> @Delegate @Default @Any @Named InterfaceA a;
> In order for it to match.
> Currently it does not match parameterized types either.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.