Author: david.lloyd(a)jboss.com
Date: 2008-07-18 20:31:18 -0400 (Fri, 18 Jul 2008)
New Revision: 4401
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/AbstractAutoCloseable.java
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteClientEndpointLocalImpl.java
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteServiceEndpointLocalImpl.java
remoting3/trunk/protocol/basic/src/main/java/org/jboss/cx/remoting/protocol/basic/BasicHandler.java
Log:
Yet more logging improvements
Modified:
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/AbstractAutoCloseable.java
===================================================================
---
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/AbstractAutoCloseable.java 2008-07-19
00:28:25 UTC (rev 4400)
+++
remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/AbstractAutoCloseable.java 2008-07-19
00:31:18 UTC (rev 4401)
@@ -117,7 +117,7 @@
}
public String toString() {
- return "handle to " + String.valueOf(AbstractAutoCloseable.this);
+ return "handle <" + Integer.toString(hashCode(), 16) +
"> to " + String.valueOf(AbstractAutoCloseable.this);
}
}
Modified:
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteClientEndpointLocalImpl.java
===================================================================
---
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteClientEndpointLocalImpl.java 2008-07-19
00:28:25 UTC (rev 4400)
+++
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteClientEndpointLocalImpl.java 2008-07-19
00:31:18 UTC (rev 4401)
@@ -113,6 +113,6 @@
}
public String toString() {
- return "local client endpoint (request listener = " +
String.valueOf(requestListener) + ")";
+ return "local client endpoint <" + Integer.toString(hashCode(), 16)
+ "> (request listener = " + String.valueOf(requestListener) +
")";
}
}
Modified:
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteServiceEndpointLocalImpl.java
===================================================================
---
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteServiceEndpointLocalImpl.java 2008-07-19
00:28:25 UTC (rev 4400)
+++
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/RemoteServiceEndpointLocalImpl.java 2008-07-19
00:31:18 UTC (rev 4401)
@@ -82,6 +82,6 @@
}
public String toString() {
- return "local service endpoint (request listener = " +
String.valueOf(requestListener) + ")";
+ return "local service endpoint <" + Integer.toString(hashCode(), 16)
+ "> (request listener = " + String.valueOf(requestListener) +
")";
}
}
Modified:
remoting3/trunk/protocol/basic/src/main/java/org/jboss/cx/remoting/protocol/basic/BasicHandler.java
===================================================================
---
remoting3/trunk/protocol/basic/src/main/java/org/jboss/cx/remoting/protocol/basic/BasicHandler.java 2008-07-19
00:28:25 UTC (rev 4400)
+++
remoting3/trunk/protocol/basic/src/main/java/org/jboss/cx/remoting/protocol/basic/BasicHandler.java 2008-07-19
00:31:18 UTC (rev 4401)
@@ -561,7 +561,7 @@
}
public String toString() {
- return "forwarded client endpoint (id = " + identifier +
")";
+ return "forwarded client endpoint <" +
Integer.toString(hashCode(), 16) + "> (id = " + identifier + ")";
}
}
@@ -645,7 +645,7 @@
}
public String toString() {
- return "forwarded service endpoint (id = " + identifier +
")";
+ return "forwarded service endpoint <" +
Integer.toString(hashCode(), 16) + "> (id = " + identifier + ")";
}
}
}