[jboss-cvs] jboss-seam/src/remoting/org/jboss/seam/remoting/wrapper ...

Shane Bryzak sbryzak at redhat.com
Tue May 8 05:58:55 EDT 2007


  User: sbryzak2
  Date: 07/05/08 05:58:55

  Modified:    src/remoting/org/jboss/seam/remoting/wrapper 
                        BeanWrapper.java
  Log:
  JBSEAM-1305
  
  Revision  Changes    Path
  1.2       +5 -1      jboss-seam/src/remoting/org/jboss/seam/remoting/wrapper/BeanWrapper.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BeanWrapper.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/wrapper/BeanWrapper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- BeanWrapper.java	27 Feb 2007 22:15:24 -0000	1.1
  +++ BeanWrapper.java	8 May 2007 09:58:55 -0000	1.2
  @@ -198,6 +198,10 @@
         cls = cls.getSuperclass();
   
       String componentName = Seam.getComponentName(cls);
  +    Component component = componentName != null ? Component.forName(componentName) : null;
  +    
  +    if (component != null) 
  +       cls = component.getBeanClass();       
   
       if (componentName != null)
         out.write(componentName.getBytes());
  
  
  



More information about the jboss-cvs-commits mailing list