tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r565020 - in /incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld: HelloWorld.java HelloWorldComponent.java HelloWorldImpl.java
Date Sun, 12 Aug 2007 08:33:56 GMT
Author: antelder
Date: Sun Aug 12 01:33:55 2007
New Revision: 565020

URL: http://svn.apache.org/viewvc?view=rev&rev=565020
Log:
Remve remote exeception from sample interface

Modified:
    incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorld.java
    incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldComponent.java
    incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldImpl.java

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorld.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorld.java?view=diff&rev=565020&r1=565019&r2=565020
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorld.java
(original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorld.java
Sun Aug 12 01:33:55 2007
@@ -41,6 +41,6 @@
      * 
      * @param getGreetings
      */
-    public java.lang.String getGreetings(helloworld.Party getGreetings) throws java.rmi.RemoteException;
+    public java.lang.String getGreetings(helloworld.Party getGreetings);
 
 }

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldComponent.java?view=diff&rev=565020&r1=565019&r2=565020
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldComponent.java
(original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldComponent.java
Sun Aug 12 01:33:55 2007
@@ -18,13 +18,12 @@
  */
 package helloworld;
 
-import java.rmi.RemoteException;
 
 public class HelloWorldComponent implements HelloWorld {
 
     HelloWorld helloWorld;
 
-    public String getGreetings(Party party) throws RemoteException {
+    public String getGreetings(Party party)  {
         System.out.println("Called getGreetings");
         return helloWorld.getGreetings(party);
     }

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldImpl.java?view=diff&rev=565020&r1=565019&r2=565020
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldImpl.java
(original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldImpl.java
Sun Aug 12 01:33:55 2007
@@ -18,7 +18,6 @@
  */
 package helloworld;
 
-import java.rmi.RemoteException;
 import java.util.List;
 
 import org.osoa.sca.annotations.Service;
@@ -26,7 +25,7 @@
 @Service(HelloWorld.class)
 public class HelloWorldImpl implements HelloWorld {
 
-    public String getGreetings(Party party) throws RemoteException {
+    public String getGreetings(Party party) {
         System.out.println("Greeting party");
         StringBuffer greetings = new StringBuffer();
         greetings.append("Hello ");



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message