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

Tom Elrod tom.elrod at jboss.com
Mon Jan 22 13:27:07 EST 2007


  User: telrod  
  Date: 07/01/22 13:27:07

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x
                        ServerInvocationHandler.java
  Log:
  Adding toString() method to interface so that if used within debugging statements (i.e. to print reference for handler) and the handler reference is actually a mbean proxy, will not error.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.10.1  +3 -1      JBossRemoting/src/main/org/jboss/remoting/ServerInvocationHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerInvocationHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvocationHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.4.10.1
  diff -u -b -r1.4 -r1.4.10.1
  --- ServerInvocationHandler.java	30 Dec 2005 05:26:38 -0000	1.4
  +++ ServerInvocationHandler.java	22 Jan 2007 18:27:07 -0000	1.4.10.1
  @@ -34,7 +34,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.4 $
  + * @version $Revision: 1.4.10.1 $
    */
   public interface ServerInvocationHandler
   {
  @@ -80,4 +80,6 @@
       */
      public void removeListener(InvokerCallbackHandler callbackHandler);
   
  +   public String toString();
  +
   }
  
  
  



More information about the jboss-cvs-commits mailing list