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

Tom Elrod tom.elrod at jboss.com
Thu Sep 21 23:23:59 EDT 2006


  User: telrod  
  Date: 06/09/21 23:23:59

  Modified:    src/main/org/jboss/remoting  ServerInvoker.java
  Log:
  JBREM-602 - adding check when setting lease period to only turn on leasing if lease period greater than zero AND there is at least one connection listener registered.
  
  Revision  Changes    Path
  1.49      +6 -3      JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -b -r1.48 -r1.49
  --- ServerInvoker.java	21 Sep 2006 20:33:33 -0000	1.48
  +++ ServerInvoker.java	22 Sep 2006 03:23:59 -0000	1.49
  @@ -58,7 +58,7 @@
    *
    * @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
    * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  - * @version $Revision: 1.48 $
  + * @version $Revision: 1.49 $
    */
   public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
   {
  @@ -594,7 +594,10 @@
         }
         else
         {
  +         if(connectionNotifier.size() > 0)
  +         {
       	  this.leaseManagement=true;
  +         }
       	  
         }
      }
  
  
  



More information about the jboss-cvs-commits mailing list