tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r525628 - /incubator/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
Date Wed, 04 Apr 2007 22:15:19 GMT
Author: kevan
Date: Wed Apr  4 15:15:16 2007
New Revision: 525628

URL: http://svn.apache.org/viewvc?view=rev&rev=525628
Log:
Invoke business method even if the method being invoked is from a parent interface

Modified:
    incubator/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java

Modified: incubator/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java?view=diff&rev=525628&r1=525627&r2=525628
==============================================================================
--- incubator/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
(original)
+++ incubator/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/EJBObjectHandler.java
Wed Apr  4 15:15:16 2007
@@ -141,7 +141,7 @@
                 else if (m.equals(REMOVE)) retValue = remove(m, a, p);
                 else
                     throw new UnsupportedOperationException("Unkown method: " + m);
-            } else if (m.getDeclaringClass() == ejb.remoteClass) {
+            } else if (m.getDeclaringClass().isAssignableFrom(ejb.remoteClass)) {
                 retValue = businessMethod(m, a, p);
             } else {
                 throw new UnsupportedOperationException("Unkown method: " + m);



Mime
View raw message