geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r516425 - /geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
Date Fri, 09 Mar 2007 15:08:48 GMT
Author: djencks
Date: Fri Mar  9 07:08:47 2007
New Revision: 516425

URL: http://svn.apache.org/viewvc?view=rev&rev=516425
Log:
GERONIMO-2934 AdminObjectRefBuilder should only work with annotations it can positively identify

Modified:
    geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java

Modified: geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java?view=diff&rev=516425&r1=516424&r2=516425
==============================================================================
--- geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
Fri Mar  9 07:08:47 2007
@@ -364,10 +364,10 @@
             }
 
             //------------------------------------------------------------------------------------------
-            // 5. Everything else must be a <resource-env-ref>
+            // 5. InteractionSpecs <resource-env-ref>
+            // There are a lot of choices that aren't covered...
             //------------------------------------------------------------------------------------------
-            else if (annotation.type().getCanonicalName().equals("javax.resource.cci.InteractionSpec")
||
-                    annotation.type().getCanonicalName().equals("javax.transaction.UserTransaction")
|| true) {
+            else if (annotation.type().getCanonicalName().equals("javax.resource.cci.InteractionSpec")
) {
 
                 log.debug("addResource(): <resource-env-ref> found");
 



Mime
View raw message