openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1433300 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
Date Tue, 15 Jan 2013 07:21:41 GMT
Author: struberg
Date: Tue Jan 15 07:21:40 2013
New Revision: 1433300

URL: http://svn.apache.org/viewvc?rev=1433300&view=rev
Log:
OWB-755 fix empty InjectionTarget for WebBeansDecorator

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java?rev=1433300&r1=1433299&r2=1433300&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
Tue Jan 15 07:21:40 2013
@@ -36,6 +36,7 @@ import javax.enterprise.context.spi.Crea
 import javax.enterprise.inject.spi.Bean;
 import javax.enterprise.inject.spi.Decorator;
 import javax.enterprise.inject.spi.InjectionPoint;
+import javax.enterprise.inject.spi.InjectionTarget;
 import javax.inject.Inject;
 import java.io.Serializable;
 import java.lang.annotation.Annotation;
@@ -135,6 +136,13 @@ public class WebBeansDecorator<T> extend
         return result;
     }
 
+    @Override
+    public InjectionTarget<T> getInjectionTarget()
+    {
+        //X TODO review
+        return wrappedBean.getInjectionTarget();
+    }
+
     protected void init()
     {
         Class<?> beanClass = getBeanClass();
@@ -484,6 +492,8 @@ public class WebBeansDecorator<T> extend
         return wrappedBean.getInjectionPoints();
     }
 
+
+
     /**
      * @return the clazz
      */



Mime
View raw message