tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rineh...@apache.org
Subject svn commit: r451310 - in /incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile: LoginService.java ProfileService.java
Date Fri, 29 Sep 2006 14:31:34 GMT
Author: rineholt
Date: Fri Sep 29 07:31:33 2006
New Revision: 451310

URL: http://svn.apache.org/viewvc?view=rev&rev=451310
Log:
make other inferfaces also sdo databinding is this necessary?

Modified:
    incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/LoginService.java
    incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/ProfileService.java

Modified: incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/LoginService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/LoginService.java?view=diff&rev=451310&r1=451309&r2=451310
==============================================================================
--- incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/LoginService.java
(original)
+++ incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/LoginService.java
Fri Sep 29 07:31:33 2006
@@ -20,6 +20,11 @@
 
 import java.rmi.RemoteException;
 
+import org.apache.tuscany.api.annotation.DataType;
+import org.osoa.sca.annotations.Remotable;
+
+@Remotable
+@DataType(name = "commonj.sdo.DataObject")
 public interface LoginService {
 
     public static final int SUCCESS = 1;

Modified: incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/ProfileService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/ProfileService.java?view=diff&rev=451310&r1=451309&r2=451310
==============================================================================
--- incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/ProfileService.java
(original)
+++ incubator/tuscany/java/sampleapps/bigbank/webclient/src/main/java/bigbank/webclient/services/profile/ProfileService.java
Fri Sep 29 07:31:33 2006
@@ -18,21 +18,26 @@
  */
 package bigbank.webclient.services.profile;
 
+import org.apache.tuscany.api.annotation.DataType;
+import org.osoa.sca.annotations.Remotable;
+
+@Remotable
+@DataType(name = "commonj.sdo.DataObject")
 public interface ProfileService {
 
-    public String getFirstName();
+     String getFirstName();
 
-    public void setFirstName(String pName);
+     void setFirstName(String pName);
 
-    public String getLastName();
+     String getLastName();
 
-    public void setLastName(String pName);
+     void setLastName(String pName);
 
-    public boolean isLoggedIn();
+     boolean isLoggedIn();
 
-    public void setLoggedIn(boolean pStatus);
+     void setLoggedIn(boolean pStatus);
 
-    public int getId();
+     int getId();
 
-    public void setId(int pId);
+     void setId(int pId);
 }



---------------------------------------------------------------------
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