You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by mm...@apache.org on 2004/09/21 21:03:27 UTC

svn commit: rev 46993 - in incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server: . build src/org/beehive/demo

Author: mmerz
Date: Tue Sep 21 12:03:27 2004
New Revision: 46993

Removed:
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/AddressBookWS.jar
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/TEST-org.beehive.demo.AddressBookTest.txt
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/build/
Modified:
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Address.java
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBook.java
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookImpl.java
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookService.java
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Phone.java
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/StateType.java
Log:
Added copyright, removed binaries and test output.



Modified: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Address.java
==============================================================================
--- incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Address.java	(original)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Address.java	Tue Sep 21 12:03:27 2004
@@ -1,9 +1,27 @@
 package org.beehive.demo;
 
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
 
+import java.io.Serializable;
 
-
-public class Address  implements java.io.Serializable {
+public class Address  implements Serializable
+{
     private static final long serialVersionUID = 1L;
     private int streetNum;
     private java.lang.String streetName;

Modified: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBook.java
==============================================================================
--- incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBook.java	(original)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBook.java	Tue Sep 21 12:03:27 2004
@@ -1,8 +1,30 @@
 package org.beehive.demo;
 
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
 
+import java.rmi.Remote;
 
-public interface AddressBook extends java.rmi.Remote {
-    public void addEntry(java.lang.String name, Address address) throws java.rmi.RemoteException;
-    public Address getAddressFromName(java.lang.String name) throws java.rmi.RemoteException;
+public interface AddressBook extends Remote
+{
+    void addEntry(java.lang.String name, Address address)
+        throws java.rmi.RemoteException;
+
+    Address getAddressFromName(java.lang.String name)
+        throws java.rmi.RemoteException;
 }

Modified: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookImpl.java
==============================================================================
--- incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookImpl.java	(original)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookImpl.java	Tue Sep 21 12:03:27 2004
@@ -1,16 +1,39 @@
-
 package org.beehive.demo;
 
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import java.rmi.RemoteException;
+
 import java.util.Hashtable;
 import java.util.Map;
 
-public class AddressBookImpl implements AddressBook {
+public class AddressBookImpl implements AddressBook
+{
     private Map<String, Address> addresses = new Hashtable<String, Address>();
 
-    public void addEntry(java.lang.String name, Address address) throws java.rmi.RemoteException {
+    public void addEntry(String name, Address address) throws RemoteException
+    {
         this.addresses.put(name, address);
     }
-    public Address getAddressFromName(java.lang.String name) throws java.rmi.RemoteException {
+    
+    public Address getAddressFromName(String name) throws RemoteException
+    {
         return (Address) this.addresses.get(name);
     }
 }

Modified: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookService.java
==============================================================================
--- incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookService.java	(original)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/AddressBookService.java	Tue Sep 21 12:03:27 2004
@@ -1,11 +1,31 @@
 package org.beehive.demo;
 
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
 
+import java.net.URL;
 
-public interface AddressBookService extends javax.xml.rpc.Service {
-    public java.lang.String getAddressBookAddress();
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceException;
 
-    public AddressBook getAddressBook() throws javax.xml.rpc.ServiceException;
-
-    public AddressBook getAddressBook(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
+public interface AddressBookService extends Service
+{
+    String getAddressBookAddress();
+    AddressBook getAddressBook() throws ServiceException;
+    AddressBook getAddressBook(URL portAddress) throws ServiceException;
 }

Modified: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Phone.java
==============================================================================
--- incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Phone.java	(original)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/Phone.java	Tue Sep 21 12:03:27 2004
@@ -1,9 +1,29 @@
+package org.beehive.demo;
 
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
 
-package org.beehive.demo;
+import java.io.Serializable;
 
-public class Phone  implements java.io.Serializable {
+public class Phone  implements Serializable
+{
     private static final long serialVersionUID = 1L;
+    
     private int areaCode;
     private java.lang.String exchange;
     private java.lang.String number;

Modified: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/StateType.java
==============================================================================
--- incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/StateType.java	(original)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/server/src/org/beehive/demo/StateType.java	Tue Sep 21 12:03:27 2004
@@ -1,7 +1,27 @@
-
 package org.beehive.demo;
 
-public class StateType implements java.io.Serializable {
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import java.io.Serializable;
+
+public class StateType implements Serializable
+{
     private static final long serialVersionUID = 1L;
     String state;