openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1664470 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerFieldBeansBuilder.java
Date Thu, 05 Mar 2015 19:58:49 GMT
Author: rmannibucau
Date: Thu Mar  5 19:58:49 2015
New Revision: 1664470

URL: http://svn.apache.org/r1664470
Log:
@Produces @Resource can be alternatives

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerFieldBeansBuilder.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerFieldBeansBuilder.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerFieldBeansBuilder.java?rev=1664470&r1=1664469&r2=1664470&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerFieldBeansBuilder.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerFieldBeansBuilder.java
Thu Mar  5 19:58:49 2015
@@ -99,6 +99,7 @@ public class ProducerFieldBeansBuilder<T
                         ResourceBean<T, Annotation> resourceBean = resourceBeanCreator.getBean();
                         resourceBean.setProducerField(field);
                         producerBeans.add(resourceBean);
+                        webBeansContext.getWebBeansUtil().setBeanEnableFlagForProducerBean(bean,
resourceBean, anns);
                     }
                 }
                 else



Mime
View raw message