[
https://issues.apache.org/jira/browse/OWB-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921268#action_12921268
]
Mark Struberg commented on OWB-472:
-----------------------------------
agree, we should just write a warning and put all found interceptors into a big
fat Set. Of course the reason why Gavin defined the BDA was to be able to
define a certain order of interceptors (contrary to EJB the interceptor order
is defined in beans.xml and not via the annotations). I think this was a quick
and dirty solution (remember the old saying "dirty remains while quick is long
forgotten"?) and defining an 'ordinal' property for beans.xml or the
<interceptors> section would be much better. See the config.ordinal logic I did
for our openwebbeans.properties.
I talked with Pete a while ago and he told me that he extended the beans.xml
schema to allow own tags somewhere. Haven't looked at it closely, but this
might help us.
> archive centric beans.xml enabling
> -----------------------------------
>
> Key: OWB-472
> URL: https://issues.apache.org/jira/browse/OWB-472
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Injection and Lookup
> Reporter: Jacquelle Leggett
> Assignee: Gurkan Erdogdu
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> This issue was discussed in great detail in June
> (http://mail-archives.apache.org/mod_mbox/openwebbeans-dev/201006.mbox/browser)
> on the developers forum. The title of the thread is "problems with lack of
> archive-centric BeanManager".
> The main problem is described below (snippet from discussion):
> "...Our current design does not permit either of the following scenarions,
> AFAICT:
> b.jar and c.jar both enable the interceptor defined in a.jar
> (treated as a duplicate)
> Exactly one of b.jar and c.jar enables the interceptor defined in
> a.jar (ends up enabled for beans from either archive if enabled in one
> -- this is in the more troubling neighborhood)..."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.