You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2017/07/16 00:08:00 UTC

[jira] [Created] (OWB-1200) OWB 2 skips producer methods defined in annotated bean archives in SE

John D. Ament created OWB-1200:
----------------------------------

             Summary: 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)