Author: norman.richards(a)jboss.com
Date: 2009-10-16 13:25:19 -0400 (Fri, 16 Oct 2009)
New Revision: 4150
Added:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/TunaProducer.java
Log:
add producer
Added:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/TunaProducer.java
===================================================================
---
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/TunaProducer.java
(rev 0)
+++
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/TunaProducer.java 2009-10-16
17:25:19 UTC (rev 4150)
@@ -0,0 +1,14 @@
+package org.jboss.jsr299.tck.tests.implementation.simple.lifecycle;
+
+import javax.enterprise.inject.Produces;
+
+public class TunaProducer {
+
+ @Produces @Tame Tuna createQualifiedTuna() {
+ return new Tuna() {
+ public String getName() {
+ return "qualifiedTuna";
+ }
+ };
+ }
+}