[seam-commits] Seam SVN: r7427 - trunk/src/remoting/org/jboss/seam/remoting/wrapper.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Feb 15 07:47:49 EST 2008


Author: shane.bryzak at jboss.com
Date: 2008-02-15 07:47:48 -0500 (Fri, 15 Feb 2008)
New Revision: 7427

Modified:
   trunk/src/remoting/org/jboss/seam/remoting/wrapper/BeanWrapper.java
Log:
JBSEAM-2567

Modified: trunk/src/remoting/org/jboss/seam/remoting/wrapper/BeanWrapper.java
===================================================================
--- trunk/src/remoting/org/jboss/seam/remoting/wrapper/BeanWrapper.java	2008-02-15 03:25:39 UTC (rev 7426)
+++ trunk/src/remoting/org/jboss/seam/remoting/wrapper/BeanWrapper.java	2008-02-15 12:47:48 UTC (rev 7427)
@@ -195,8 +195,15 @@
     /** @todo This is a hack to get the "real" class - find out if there is
               an API method in CGLIB that can be used instead */
     if (cls.getName().contains("EnhancerByCGLIB"))
-      cls = cls.getSuperclass();
+    {
+       cls = cls.getSuperclass();
+    }
     
+    if (cls.getName().contains("_$$_javassist_"))
+    {
+       cls=cls.getSuperclass();
+    }
+    
     String componentName = Seam.getComponentName(cls);
     Component component = componentName != null ? Component.forName(componentName) : null;
     




More information about the seam-commits mailing list