You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2007/05/03 02:00:33 UTC
svn commit: r534660 -
/geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/AdminObjectRefBuilder.java
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) {