[ 
https://issues.apache.org/jira/browse/OWB-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088887#comment-16088887
 ] 

Romain Manni-Bucau commented on OWB-1200:
-----------------------------------------

Hmm, need to check but it is possible we use the same impl for both 
(https://github.com/apache/openwebbeans/blob/d59ed0bdacb23c18e7b22cc9496fc38ec9aec10a/webbeans-spi/src/main/java/org/apache/webbeans/spi/BeanArchiveService.java#L40)
 but it doesn't look against the spec for me. Is there a paragraph making this 
assumption wrong?

> OWB 2 skips producer methods defined in annotated bean archives in SE
> ---------------------------------------------------------------------
>
>                 Key: OWB-1200
>                 URL: https://issues.apache.org/jira/browse/OWB-1200
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: John D. Ament
>
> Here's a code sample that fails for me
> https://github.com/astefanutti/metrics-cdi/blob/29e7bac497513de420543497612180331cc5d1b3/impl/src/main/java/io/astefanutti/metrics/cdi/MetricNameFactory.java#L24
> Basically, from what I can tell OWB 2 misses this producer method, I believe 
> because it doesn't have a scope but the outer bean class does have a scope.
> AFAIK, per the spec, this is implicitly a `@Dependent` producer and should 
> have been picked up because the outer bean is defined as a dependent scoped 
> bean.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to