summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-05-19 08:22:38 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-05-19 08:22:38 +0000
commit8a4005b935df759cac92732f617be9f76eb3b0bf (patch)
tree67b1d70ccdaa7e43773303c57da8e78f330042d6
parentcca5983ddcc392e981598aab537aebd00adfbb7a (diff)
Made the currency converter interfaces @Remotable so that it can have bindings added to it
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@776231 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sandbox/travelsample/contributions/currency-contribution/src/main/java/scatours/currencyconverter/CurrencyConverter.java3
-rw-r--r--sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/CurrencyConverter.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/sandbox/travelsample/contributions/currency-contribution/src/main/java/scatours/currencyconverter/CurrencyConverter.java b/sandbox/travelsample/contributions/currency-contribution/src/main/java/scatours/currencyconverter/CurrencyConverter.java
index defca47ee5..6d0efc8c66 100644
--- a/sandbox/travelsample/contributions/currency-contribution/src/main/java/scatours/currencyconverter/CurrencyConverter.java
+++ b/sandbox/travelsample/contributions/currency-contribution/src/main/java/scatours/currencyconverter/CurrencyConverter.java
@@ -18,9 +18,12 @@
*/
package scatours.currencyconverter;
+import org.osoa.sca.annotations.Remotable;
+
/**
* The CurrencyConverter service interface
*/
+@Remotable
public interface CurrencyConverter {
double getExchangeRate(String fromCurrencyCode,
diff --git a/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/CurrencyConverter.java b/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/CurrencyConverter.java
index 535ed84a94..5aa9e245aa 100644
--- a/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/CurrencyConverter.java
+++ b/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/CurrencyConverter.java
@@ -18,9 +18,12 @@
*/
package scatours;
+import org.osoa.sca.annotations.Remotable;
+
/**
* The CurrencyConverter service interface
*/
+@Remotable
public interface CurrencyConverter {
double getExchangeRate(String fromCurrencyCode,