geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r534660 - /geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
Date Thu, 03 May 2007 00:00:33 GMT
Author: dblevins
Date: Wed May  2 17:00:32 2007
New Revision: 534660

URL: http://svn.apache.org/viewvc?view=rev&rev=534660
Log:
Don't try and process annotations pointing to derivations of EJBContext

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=534660&r1=534659&r2=534660
==============================================================================
--- 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
Wed May  2 17:00:32 2007
@@ -301,6 +301,10 @@
             String resourceName = getResourceName(annotation, method, field);
             String resourceType = getResourceType(annotation, method, field);
 
+            if (resourceType.equals("javax.ejb.SessionContext")) return true;
+            if (resourceType.equals("javax.ejb.MessageDrivenContext")) return true;
+            if (resourceType.equals("javax.ejb.EntityContext")) return true;
+
             //If it already exists in xml as a message-destination-ref or resource-env-ref,
we are done.
             MessageDestinationRefType[] messageDestinationRefs = annotatedApp.getMessageDestinationRefArray();
             for (MessageDestinationRefType messageDestinationRef : messageDestinationRefs)
{



Mime
View raw message