[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Ron Sigal ron_sigal at yahoo.com
Mon Jan 29 00:09:48 EST 2007


  User: rsigal  
  Date: 07/01/29 00:09:48

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x
                        MicroRemoteClientInvoker.java
  Log:
  JBREM-692:  the first time a marshaller/unmarshaller are created they are saved for later use.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.10  +3 -1      JBossRemoting/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MicroRemoteClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java,v
  retrieving revision 1.7.2.9
  retrieving revision 1.7.2.10
  diff -u -b -r1.7.2.9 -r1.7.2.10
  --- MicroRemoteClientInvoker.java	23 Jan 2007 09:39:02 -0000	1.7.2.9
  +++ MicroRemoteClientInvoker.java	29 Jan 2007 05:09:48 -0000	1.7.2.10
  @@ -27,7 +27,7 @@
    *
    * @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
    * @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
  - * @version $Revision: 1.7.2.9 $
  + * @version $Revision: 1.7.2.10 $
    */
   public abstract class MicroRemoteClientInvoker extends AbstractInvoker implements ClientInvoker
   {
  @@ -78,6 +78,7 @@
                  // went as far as possible to find a marshaller, will have to give up
                  throw new InvalidMarshallingResource("Can not find a valid marshaller for data type: " + getDataType());
               }
  +            setMarshaller(marshaller);
            }
         }
   
  @@ -99,6 +100,7 @@
                  // went as far as possible to find a unmarshaller, will have to give up
                  throw new InvalidMarshallingResource("Can not find a valid unmarshaller for data type: " + getDataType());
               }
  +            setUnMarshaller(unmarshaller);
            }
            unmarshaller.setClassLoader(remotingClassLoader);
         }
  
  
  



More information about the jboss-cvs-commits mailing list