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

Tom Elrod tom.elrod at jboss.com
Wed Sep 20 00:22:24 EDT 2006


  User: telrod  
  Date: 06/09/20 00:22:24

  Modified:    src/main/org/jboss/remoting/transport/rmi 
                        RMIClientInvoker.java
  Log:
  JBREM-596 - fix for leasing problem when have multiple clients using same client invoker.  Basically moved all lease managment for clients into the client invokers themselves.
  
  Revision  Changes    Path
  1.9       +14 -9     JBossRemoting/src/main/org/jboss/remoting/transport/rmi/RMIClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RMIClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/rmi/RMIClientInvoker.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- RMIClientInvoker.java	14 Feb 2006 16:23:59 -0000	1.8
  +++ RMIClientInvoker.java	20 Sep 2006 04:22:24 -0000	1.9
  @@ -22,6 +22,16 @@
   
   package org.jboss.remoting.transport.rmi;
   
  +import org.jboss.logging.Logger;
  +import org.jboss.remoting.CannotConnectException;
  +import org.jboss.remoting.ConnectionFailedException;
  +import org.jboss.remoting.InvokerLocator;
  +import org.jboss.remoting.RemoteClientInvoker;
  +import org.jboss.remoting.marshal.Marshaller;
  +import org.jboss.remoting.marshal.MarshallerDecorator;
  +import org.jboss.remoting.marshal.UnMarshaller;
  +import org.jboss.remoting.marshal.rmi.RMIMarshaller;
  +
   import java.io.ByteArrayInputStream;
   import java.io.ByteArrayOutputStream;
   import java.io.IOException;
  @@ -31,24 +41,19 @@
   import java.rmi.registry.LocateRegistry;
   import java.rmi.registry.Registry;
   import java.util.Map;
  -import org.jboss.remoting.CannotConnectException;
  -import org.jboss.remoting.ConnectionFailedException;
  -import org.jboss.remoting.InvokerLocator;
  -import org.jboss.remoting.RemoteClientInvoker;
  -import org.jboss.remoting.marshal.Marshaller;
  -import org.jboss.remoting.marshal.MarshallerDecorator;
  -import org.jboss.remoting.marshal.UnMarshaller;
  -import org.jboss.remoting.marshal.rmi.RMIMarshaller;
   
   /**
    * RMIClientInvoker
    *
    * @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
    * @author <a href="mailto:telrod at vocalocity.net">Tom Elrod</a>
  - * @version $Revision: 1.8 $
  + * @version $Revision: 1.9 $
    */
   public class RMIClientInvoker extends RemoteClientInvoker
   {
  +   private static final Logger log = Logger.getLogger(RMIClientInvoker.class);
  +   private static final boolean isTraceEnabled = log.isTraceEnabled();
  +   
      private RMIServerInvokerInf server;
   
      /**
  
  
  



More information about the jboss-cvs-commits mailing list