You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/02/23 17:12:39 UTC

svn commit: r747061 - in /incubator/etch/branches/name-service/services/ns/src: main/etch/ main/java/etch/services/ns/ main/java/etch/services/ns/support/ main/java/org/ main/java/org/apache/ main/java/org/apache/etch/ main/java/org/apache/etch/service...

Author: sccomer
Date: Mon Feb 23 16:12:36 2009
New Revision: 747061

URL: http://svn.apache.org/viewvc?rev=747061&view=rev
Log:
rename the package for the name service.

Added:
    incubator/etch/branches/name-service/services/ns/src/main/java/org/
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceClient.java
      - copied, changed from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceClient.java
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceServer.java
      - copied, changed from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceServer.java
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceClient.java
      - copied, changed from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceClient.java
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceListener.java
      - copied, changed from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceListener.java
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/
      - copied from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/support/
    incubator/etch/branches/name-service/services/ns/src/test/java/org/
    incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/
    incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/
    incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/
    incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/
    incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/support/
      - copied from r747053, incubator/etch/branches/name-service/services/ns/src/test/java/etch/services/ns/support/
Removed:
    incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceClient.java
    incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceServer.java
    incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceClient.java
    incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceListener.java
    incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/support/
    incubator/etch/branches/name-service/services/ns/src/test/java/etch/services/ns/support/
Modified:
    incubator/etch/branches/name-service/services/ns/src/main/etch/ns.etch
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/DefaultNSLib.java
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/EtchTransportFactory.java
    incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/NSLib.java
    incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/support/TestNSLib.java

Modified: incubator/etch/branches/name-service/services/ns/src/main/etch/ns.etch
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/etch/ns.etch?rev=747061&r1=747060&r2=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/etch/ns.etch (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/etch/ns.etch Mon Feb 23 16:12:36 2009
@@ -18,7 +18,7 @@
  * under the License.
  */
 
-module etch.services.ns
+module org.apache.etch.services.ns
 
 /**
  * The NameService provides translation from an abstract name for a service to a

Copied: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceClient.java (from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceClient.java)
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceClient.java?p2=incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceClient.java&p1=incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceClient.java&r1=747053&r2=747061&rev=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceClient.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceClient.java Mon Feb 23 16:12:36 2009
@@ -18,10 +18,14 @@
  * under the License.
  */
 
-package etch.services.ns;
+package org.apache.etch.services.ns;
 
 import java.net.ConnectException;
 
+import org.apache.etch.services.ns.BaseNameServiceClient;
+import org.apache.etch.services.ns.RemoteNameServiceServer;
+
+
 /**
  * Your custom implementation of BaseNameServiceClient. Add methods here to provide
  * implementations of messages from the server.

Copied: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceServer.java (from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceServer.java)
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceServer.java?p2=incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceServer.java&p1=incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceServer.java&r1=747053&r2=747061&rev=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/ImplNameServiceServer.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/ImplNameServiceServer.java Mon Feb 23 16:12:36 2009
@@ -18,13 +18,17 @@
  * under the License.
  */
 
-package etch.services.ns;
+package org.apache.etch.services.ns;
 
 import java.util.Collections;
 import java.util.Date;
 import java.util.HashMap;
 import java.util.Map;
 
+import org.apache.etch.services.ns.BaseNameServiceServer;
+import org.apache.etch.services.ns.RemoteNameServiceClient;
+
+
 /**
  * Your custom implementation of BaseNameServiceServer. Add methods here to provide
  * implementations of messages from the client.

Copied: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceClient.java (from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceClient.java)
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceClient.java?p2=incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceClient.java&p1=incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceClient.java&r1=747053&r2=747061&rev=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceClient.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceClient.java Mon Feb 23 16:12:36 2009
@@ -18,7 +18,11 @@
  * under the License.
  */
 
-package etch.services.ns;
+package org.apache.etch.services.ns;
+
+import org.apache.etch.services.ns.NameServiceClient;
+import org.apache.etch.services.ns.NameServiceHelper;
+import org.apache.etch.services.ns.RemoteNameServiceServer;
 
 /**
  * Main program for NameServiceClient. This program makes a connection to the

Copied: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceListener.java (from r747053, incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceListener.java)
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceListener.java?p2=incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceListener.java&p1=incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceListener.java&r1=747053&r2=747061&rev=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/etch/services/ns/MainNameServiceListener.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/MainNameServiceListener.java Mon Feb 23 16:12:36 2009
@@ -18,11 +18,15 @@
  * under the License.
  */
 
-package etch.services.ns;
+package org.apache.etch.services.ns;
 
 import org.apache.etch.bindings.java.support.ServerFactory;
+import org.apache.etch.services.ns.NameServiceHelper;
+import org.apache.etch.services.ns.NameServiceServer;
+import org.apache.etch.services.ns.RemoteNameServiceClient;
 import org.apache.etch.util.core.io.Transport;
 
+
 /**
  * Main program for NameServiceServer. This program makes a listener to accept
  * connections from MainNameServiceClient.

Modified: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/DefaultNSLib.java
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/DefaultNSLib.java?rev=747061&r1=747053&r2=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/DefaultNSLib.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/DefaultNSLib.java Mon Feb 23 16:12:36 2009
@@ -18,22 +18,22 @@
  * under the License.
  */
 
-package etch.services.ns.support;
+package org.apache.etch.services.ns.support;
 
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
 
+import org.apache.etch.services.ns.BaseNameServiceClient;
+import org.apache.etch.services.ns.NameServiceClient;
+import org.apache.etch.services.ns.NameServiceHelper;
+import org.apache.etch.services.ns.RemoteNameServiceServer;
+import org.apache.etch.services.ns.NameService.Entry;
 import org.apache.etch.util.AlarmListener;
 import org.apache.etch.util.AlarmManager;
 import org.apache.etch.util.URL;
 import org.apache.etch.util.core.io.Session;
 
-import etch.services.ns.BaseNameServiceClient;
-import etch.services.ns.NameServiceClient;
-import etch.services.ns.NameServiceHelper;
-import etch.services.ns.RemoteNameServiceServer;
-import etch.services.ns.NameService.Entry;
 
 public class DefaultNSLib extends NSLib
 {

Modified: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/EtchTransportFactory.java
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/EtchTransportFactory.java?rev=747061&r1=747053&r2=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/EtchTransportFactory.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/EtchTransportFactory.java Mon Feb 23 16:12:36 2009
@@ -18,10 +18,8 @@
  * under the License.
  */
 
-package etch.services.ns.support;
+package org.apache.etch.services.ns.support;
 
-import etch.services.ns.NameService.Entry;
-import etch.services.ns.support.DefaultNSLib;
 
 import org.apache.etch.bindings.java.msg.Message;
 import org.apache.etch.bindings.java.msg.ValueFactory;
@@ -29,6 +27,8 @@
 import org.apache.etch.bindings.java.support.TransportFactory;
 import org.apache.etch.bindings.java.transport.SessionMessage;
 import org.apache.etch.bindings.java.transport.TransportMessage;
+import org.apache.etch.services.ns.NameService.Entry;
+import org.apache.etch.services.ns.support.DefaultNSLib;
 import org.apache.etch.util.AlarmListener;
 import org.apache.etch.util.AlarmManager;
 import org.apache.etch.util.Resources;

Modified: incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/NSLib.java
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/NSLib.java?rev=747061&r1=747053&r2=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/NSLib.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/main/java/org/apache/etch/services/ns/support/NSLib.java Mon Feb 23 16:12:36 2009
@@ -18,13 +18,13 @@
  * under the License.
  */
 
-package etch.services.ns.support;
+package org.apache.etch.services.ns.support;
 
 import java.util.Map;
 
+import org.apache.etch.services.ns.NameService.Entry;
 import org.apache.etch.util.core.io.Session;
 
-import etch.services.ns.NameService.Entry;
 
 /**
  * 

Modified: incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/support/TestNSLib.java
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/support/TestNSLib.java?rev=747061&r1=747053&r2=747061&view=diff
==============================================================================
--- incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/support/TestNSLib.java (original)
+++ incubator/etch/branches/name-service/services/ns/src/test/java/org/apache/etch/services/ns/support/TestNSLib.java Mon Feb 23 16:12:36 2009
@@ -18,21 +18,23 @@
  * under the License.
  */
 
-package etch.services.ns.support;
+package org.apache.etch.services.ns.support;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNull;
 
 import org.apache.etch.bindings.java.support.ServerFactory;
+import org.apache.etch.services.ns.MainNameServiceListener;
+import org.apache.etch.services.ns.NameServiceHelper;
+import org.apache.etch.services.ns.NameService.Entry;
+import org.apache.etch.services.ns.support.DefaultNSLib;
+import org.apache.etch.services.ns.support.NSLib;
 import org.apache.etch.util.core.io.Session;
 import org.apache.etch.util.core.io.Transport;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
-import etch.services.ns.MainNameServiceListener;
-import etch.services.ns.NameServiceHelper;
-import etch.services.ns.NameService.Entry;
 
 public class TestNSLib
 {