geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r394233 - /geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
Date Sat, 15 Apr 2006 00:33:23 GMT
Author: ammulder
Date: Fri Apr 14 17:33:19 2006
New Revision: 394233

URL: http://svn.apache.org/viewcvs?rev=394233&view=rev
Log:
When proxying "everything" for a GBean, include interfaces only to
  fix issues like GERONIMO-1851

Modified:
    geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java

Modified: geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java?rev=394233&r1=394232&r2=394233&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
(original)
+++ geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicProxyManager.java
Fri Apr 14 17:33:19 2006
@@ -140,7 +140,7 @@
             for (int i = 0; i < names.length; i++) {
                 try {
                     Class type = classLoader.loadClass(names[i]);
-                    if (type.isInterface() || hasDefaultConstructor(type)) {
+                    if (type.isInterface()) {
                         types.add(type);
                     }
                 } catch (ClassNotFoundException e) {
@@ -169,7 +169,7 @@
             for (int i = 0; i < names.length; i++) {
                 try {
                     Class type = classLoader.loadClass(names[i]);
-                    if (type.isInterface() || hasDefaultConstructor(type)) {
+                    if (type.isInterface()) {
                         types.add(type);
                     }
                 } catch (ClassNotFoundException e) {



Mime
View raw message