openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r883098 - /incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
Date Sun, 22 Nov 2009 16:35:13 GMT
Author: gerdogdu
Date: Sun Nov 22 16:35:13 2009
New Revision: 883098

URL: http://svn.apache.org/viewvc?rev=883098&view=rev
Log:
Update for obeying API.

Modified:
    incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java

Modified: incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java?rev=883098&r1=883097&r2=883098&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
(original)
+++ incubator/openwebbeans/trunk/atinject-tck/src/test/java/org/apache/webbeans/atinject/tck/specific/SpecificProducer.java
Sun Nov 22 16:35:13 2009
@@ -13,7 +13,7 @@
  */
 package org.apache.webbeans.atinject.tck.specific;
 
-import javax.enterprise.inject.BeanTypes;
+import javax.enterprise.inject.Typed;
 import javax.enterprise.inject.Default;
 import javax.enterprise.inject.New;
 import javax.enterprise.inject.Produces;
@@ -39,7 +39,7 @@
     }
     
     
-    @Produces @DriverBinding @BeanTypes(value={DriversSeat.class})
+    @Produces @DriverBinding @Typed(value={DriversSeat.class})
     public DriversSeat produceDriverSeat(@New DriversSeat seat)
     {
         return seat;
@@ -52,7 +52,7 @@
         return tire;
     }
     
-    @Produces @Default @BeanTypes(value={SpareTire.class})
+    @Produces @Default @Typed(value={SpareTire.class})
     public SpareTire produceSpareTire(@New SpareTire tire)
     {
         return tire;



Mime
View raw message