[seam-commits] Seam SVN: r12732 - in modules/jms/trunk: impl/src/test/java/org/jboss/seam/jms/test and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sat May 15 14:37:34 EDT 2010
Author: jganoff
Date: 2010-05-15 14:37:34 -0400 (Sat, 15 May 2010)
New Revision: 12732
Modified:
modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsDestination.java
modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsSession.java
modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyQueue.java
modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyTopic.java
Log:
Removed @Inherited from qualifiers as per CDI Spec recommendations.
Modified: modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsDestination.java
===================================================================
--- modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsDestination.java 2010-05-15 18:34:04 UTC (rev 12731)
+++ modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsDestination.java 2010-05-15 18:37:34 UTC (rev 12732)
@@ -23,11 +23,11 @@
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;
import java.lang.annotation.Documented;
-import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@@ -41,8 +41,7 @@
*/
@Qualifier
@Documented
- at Inherited
- at Target( { FIELD, METHOD, TYPE })
+ at Target( { FIELD, METHOD, TYPE, PARAMETER })
@Retention(RUNTIME)
public @interface JmsDestination
{
Modified: modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsSession.java
===================================================================
--- modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsSession.java 2010-05-15 18:34:04 UTC (rev 12731)
+++ modules/jms/trunk/api/src/main/java/org/jboss/seam/jms/annotations/JmsSession.java 2010-05-15 18:37:34 UTC (rev 12732)
@@ -24,10 +24,10 @@
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
-import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@@ -41,8 +41,7 @@
*/
@Qualifier
@Documented
- at Inherited
- at Target( { FIELD, METHOD, TYPE })
+ at Target( { FIELD, METHOD, TYPE, PARAMETER })
@Retention(RUNTIME)
public @interface JmsSession
{
Modified: modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyQueue.java
===================================================================
--- modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyQueue.java 2010-05-15 18:34:04 UTC (rev 12731)
+++ modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyQueue.java 2010-05-15 18:37:34 UTC (rev 12732)
@@ -36,7 +36,6 @@
@Qualifier
@Retention(RUNTIME)
- at Target( { FIELD, METHOD, TYPE, PARAMETER })
@JmsDestination(jndiName = "jms/Q")
public @interface MyQueue
{
Modified: modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyTopic.java
===================================================================
--- modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyTopic.java 2010-05-15 18:34:04 UTC (rev 12731)
+++ modules/jms/trunk/impl/src/test/java/org/jboss/seam/jms/test/MyTopic.java 2010-05-15 18:37:34 UTC (rev 12732)
@@ -36,7 +36,6 @@
@Qualifier
@Retention(RUNTIME)
- at Target( { FIELD, METHOD, TYPE, PARAMETER })
@JmsDestination(jndiName = "jms/T")
public @interface MyTopic
{
More information about the seam-commits
mailing list