openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r932984 - /openwebbeans/trunk/webbeans-openejb/src/main/java/org/apache/webbeans/ejb/resource/ResourceInjectionProcessor.java
Date Sun, 11 Apr 2010 20:07:55 GMT
Author: gerdogdu
Date: Sun Apr 11 20:07:55 2010
New Revision: 932984

URL: http://svn.apache.org/viewvc?rev=932984&view=rev
Log:
[OWB-350] Support Interceptor for non-contextual EJBs

Modified:
    openwebbeans/trunk/webbeans-openejb/src/main/java/org/apache/webbeans/ejb/resource/ResourceInjectionProcessor.java

Modified: openwebbeans/trunk/webbeans-openejb/src/main/java/org/apache/webbeans/ejb/resource/ResourceInjectionProcessor.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-openejb/src/main/java/org/apache/webbeans/ejb/resource/ResourceInjectionProcessor.java?rev=932984&r1=932983&r2=932984&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-openejb/src/main/java/org/apache/webbeans/ejb/resource/ResourceInjectionProcessor.java
(original)
+++ openwebbeans/trunk/webbeans-openejb/src/main/java/org/apache/webbeans/ejb/resource/ResourceInjectionProcessor.java
Sun Apr 11 20:07:55 2010
@@ -61,7 +61,7 @@ class ResourceInjectionProcessor
         else if(resourceReference.supports(EJB.class))
         {
             EJB annotation = resourceReference.getAnnotation(EJB.class);
-            resource = lookupFieldResource(context, annotation.name(), resourceReference.getResourceType());
+            resource = lookupFieldResource(context, "openejb/Deployment/"+annotation.name(),
resourceReference.getResourceType());
         }
         else if(resourceReference.supports(WebServiceRef.class))
         {



Mime
View raw message