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

Ovidiu Feodorov ovidiu.feodorov at jboss.com
Sat Jan 20 03:48:59 EST 2007


  User: ovidiu  
  Date: 07/01/20 03:48:59

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x
                        MicroRemoteClientInvoker.java
  Log:
  Added more TRACE logging.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.4   +8 -6      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.3
  retrieving revision 1.7.2.4
  diff -u -b -r1.7.2.3 -r1.7.2.4
  --- MicroRemoteClientInvoker.java	16 Jan 2007 08:15:03 -0000	1.7.2.3
  +++ MicroRemoteClientInvoker.java	20 Jan 2007 08:48:59 -0000	1.7.2.4
  @@ -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.3 $
  + * @version $Revision: 1.7.2.4 $
    */
   public abstract class MicroRemoteClientInvoker extends AbstractInvoker implements ClientInvoker
   {
  @@ -81,10 +81,11 @@
            }
         }
   
  -      // creating a new classloader containing the remoting class loader (for remote classloading) and
  -      // the current thread's class loader.  This allows to load remoting classes as well as user's classes.
  -      ClassLoader remotingClassLoader = new RemotingClassLoader(getClassLoader(),
  -                                                                Thread.currentThread().getContextClassLoader());
  +      // creating a new classloader containing the remoting class loader (for remote classloading)
  +      // and the current thread's class loader.  This allows to load remoting classes as well as
  +      // user's classes.
  +      ClassLoader remotingClassLoader =
  +         new RemotingClassLoader(getClassLoader(), Thread.currentThread().getContextClassLoader());
   
         if (unmarshaller == null)
         {
  @@ -114,7 +115,8 @@
            payload = invocationReq;
         }
   
  -      returnValue = transport(invocationReq.getSessionId(), payload, metadata, marshaller, unmarshaller);
  +      returnValue =
  +         transport(invocationReq.getSessionId(), payload, metadata, marshaller, unmarshaller);
   
         // Now check if is remoting response and process
         if (returnValue instanceof InvocationResponse)
  
  
  



More information about the jboss-cvs-commits mailing list