openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1433299 - in /openwebbeans/trunk: webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Tue, 15 Jan 2013 07:10:19 GMT
Author: struberg
Date: Tue Jan 15 07:10:19 2013
New Revision: 1433299

URL: http://svn.apache.org/viewvc?rev=1433299&view=rev
Log:
OWB-755 setInjectionTarget instead setProducer

Modified:
    openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java

Modified: openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java?rev=1433299&r1=1433298&r2=1433299&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
(original)
+++ openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
Tue Jan 15 07:10:19 2013
@@ -118,7 +118,7 @@ public final class EjbUtility
         webBeansContext.getWebBeansUtil().inspectErrorStack(
             "There are errors that are added by ProcessInjectionTarget event observers. Look
at logs for further details");
         //Put final InjectionTarget instance
-        ejbBean.setProducer(processInjectionTargetEvent.getInjectionTarget());
+        ejbBean.setInjectionTarget(processInjectionTargetEvent.getInjectionTarget());
         
         Map<ProducerMethodBean<?>,AnnotatedMethod<?>> annotatedMethods
= new HashMap<ProducerMethodBean<?>, AnnotatedMethod<?>>(); 
         for(ProducerMethodBean<?> producerMethod : producerMethodBeans)

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1433299&r1=1433298&r2=1433299&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Tue Jan 15 07:10:19 2013
@@ -936,7 +936,7 @@ public class BeansDeployer
                 Set<ProducerFieldBean<?>> producerFields = managedBeanCreator.defineProducerFields(bean);
 
                 //Put final InjectionTarget instance
-                bean.setProducer(processInjectionTargetEvent.getInjectionTarget());
+                bean.setInjectionTarget(processInjectionTargetEvent.getInjectionTarget());
 
                 ManagedBean<T> managedBean = (ManagedBean<T>)bean;
                 Map<ProducerMethodBean<?>,AnnotatedMethod<?>> annotatedMethods
=



Mime
View raw message