[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Mon Oct 8 16:47:02 EDT 2007
User: rsigal
Date: 07/10/08 16:47:02
Modified: src/main/org/jboss/remoting Tag: remoting_2_2_0_GA
InvokerLocator.java
Log:
JBREM-687 - allow binding to 0.0.0.0
Revision Changes Path
No revision
No revision
1.22.8.1 +3 -3 JBossRemoting/src/main/org/jboss/remoting/InvokerLocator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvokerLocator.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/InvokerLocator.java,v
retrieving revision 1.22
retrieving revision 1.22.8.1
diff -u -b -r1.22 -r1.22.8.1
--- InvokerLocator.java 25 Jul 2006 19:52:21 -0000 1.22
+++ InvokerLocator.java 8 Oct 2007 20:47:02 -0000 1.22.8.1
@@ -58,7 +58,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.22 $
+ * @version $Revision: 1.22.8.1 $
*/
public class InvokerLocator implements Serializable
{
@@ -88,7 +88,7 @@
/**
* Indicates should address binding to all network interfaces (i.e. 0.0.0.0)
*/
- private static final String ANY = "0.0.0.0";
+ public static final String ANY = "0.0.0.0";
/**
* Constant value for server bind address system property. Value is 'jboss.bind.address'.
*/
@@ -271,7 +271,7 @@
{
try
{
- if(address == null || ANY.equals(address))
+ if(address == null)
{
boolean byHost = true;
String bindByHost = System.getProperty(BIND_BY_HOST, "True");
More information about the jboss-cvs-commits
mailing list