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

Ron Sigal ron_sigal at yahoo.com
Tue Nov 6 04:40:51 EST 2007


  User: rsigal  
  Date: 07/11/06 04:40:51

  Modified:    src/main/org/jboss/remoting/detection/jndi  Tag:
                        remoting_2_x JNDIDetector.java
  Log:
  JBREM-846:  checkRemoteDetectionMsg() no longer calls detect() in the case of a lost server.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.14.2.3  +10 -3     JBossRemoting/src/main/org/jboss/remoting/detection/jndi/JNDIDetector.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JNDIDetector.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/detection/jndi/JNDIDetector.java,v
  retrieving revision 1.14.2.2
  retrieving revision 1.14.2.3
  diff -u -b -r1.14.2.2 -r1.14.2.3
  --- JNDIDetector.java	28 Mar 2007 01:19:07 -0000	1.14.2.2
  +++ JNDIDetector.java	6 Nov 2007 09:40:51 -0000	1.14.2.3
  @@ -296,11 +296,18 @@
                     {
                        unregisterDetection(regMsg.getIdentity().getInstanceId());
                     }
  +                  else
  +                  {
  +                     // Now, let parent handle detection
  +                     detect(regMsg);
                  }
  -
  +               }
  +               else
  +               {
                  // Now, let parent handle detection
                  detect(regMsg);
               }
  +            }
               else
               {
                  //verify local detection message is correct
  
  
  



More information about the jboss-cvs-commits mailing list