Author: ron.sigal(a)jboss.com
Date: 2008-04-11 21:05:41 -0400 (Fri, 11 Apr 2008)
New Revision: 3942
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/network/NetworkRegistry.java
Log:
JBREM-934: Renamed SystemUtility to SecurityUtility.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/network/NetworkRegistry.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/network/NetworkRegistry.java 2008-04-12
01:04:50 UTC (rev 3941)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/network/NetworkRegistry.java 2008-04-12
01:05:41 UTC (rev 3942)
@@ -37,7 +37,7 @@
import org.jboss.remoting.InvokerRegistry;
import org.jboss.remoting.detection.ServerInvokerMetadata;
import org.jboss.remoting.ident.Identity;
-import org.jboss.remoting.util.SystemUtility;
+import org.jboss.remoting.util.SecurityUtility;
/**
* NetworkRegistry is a concrete implemenation of the NetworkRegistryMBean
@@ -269,9 +269,9 @@
Identity identity = Identity.get(this.mBeanServer);
// this is a slight hack, but we have to have some way to know the main
// JBoss MBeanServer data
- SystemUtility.setSystemProperty("jboss.remoting.jmxid",
identity.getJMXId());
- SystemUtility.setSystemProperty("jboss.remoting.instanceid",
identity.getInstanceId());
- SystemUtility.setSystemProperty("jboss.remoting.domain",
identity.getDomain());
+ SecurityUtility.setSystemProperty("jboss.remoting.jmxid",
identity.getJMXId());
+ SecurityUtility.setSystemProperty("jboss.remoting.instanceid",
identity.getInstanceId());
+ SecurityUtility.setSystemProperty("jboss.remoting.domain",
identity.getDomain());
return objectName;
}
@@ -282,7 +282,7 @@
*/
public synchronized void changeDomain(String newDomain)
{
- SystemUtility.setSystemProperty("jboss.remoting.domain", newDomain);
+ SecurityUtility.setSystemProperty("jboss.remoting.domain", newDomain);
NetworkInstance servers[] = getServers();
if(servers == null || servers.length <= 0)
{
Show replies by date