Author: jjankovi
Date: 2012-03-21 11:34:53 -0400 (Wed, 21 Mar 2012)
New Revision: 39719
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/bin/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/build/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Application.java
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Manager.java
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/ManagerProducer.java
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Q1.java
Removed:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/screenshots/
Log:
resource for cdi seam3 test added
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Application.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Application.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Application.java 2012-03-21
15:34:53 UTC (rev 39719)
@@ -0,0 +1,11 @@
+package cdi.seam;
+
+import javax.enterprise.event.Event;
+import javax.inject.Inject;
+
+public class Application {
+
+ @Inject @Q1
+ Event<ManagerProducer> eventAttribute;
+
+}
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Manager.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Manager.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Manager.java 2012-03-21
15:34:53 UTC (rev 39719)
@@ -0,0 +1,5 @@
+package cdi.seam;
+
+public class Manager {
+
+}
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/ManagerProducer.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/ManagerProducer.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/ManagerProducer.java 2012-03-21
15:34:53 UTC (rev 39719)
@@ -0,0 +1,14 @@
+package cdi.seam;
+
+import javax.enterprise.event.Observes;
+
+import org.jboss.seam.solder.core.Requires;
+
+(a)Requires("cdi.test.Manager")
+public class ManagerProducer {
+
+ public void method(@Observes @Q1 ManagerProducer event) {
+
+ }
+
+}
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Q1.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Q1.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/requires5/src/cdi/seam/Q1.java 2012-03-21
15:34:53 UTC (rev 39719)
@@ -0,0 +1,21 @@
+package cdi.seam;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+@Qualifier
+@Target({ TYPE, METHOD, PARAMETER, FIELD })
+@Retention(RUNTIME)
+@Documented
+public @interface Q1 {
+
+}
Show replies by date