summaryrefslogtreecommitdiffstats
path: root/java/sca/itest
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-09-10 14:42:32 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-09-10 14:42:32 +0000
commit23f1742dcdf98549e021343ab1911c766231d6ec (patch)
tree4be4ca5eefecd9d22cedfae9ef1fcaf261df7d2c /java/sca/itest
parent9a454309b9cbadb96037203e600ca2f32435ab23 (diff)
Correct to JMS test interfaces that are missing the @Remotable annotation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693857 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest')
-rw-r--r--java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientService.java3
-rw-r--r--java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgService.java5
2 files changed, 8 insertions, 0 deletions
diff --git a/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientService.java b/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientService.java
index 23e7b88028..e8242467cc 100644
--- a/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientService.java
+++ b/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientService.java
@@ -18,10 +18,13 @@
*/
package org.apache.tuscany.sca.binding.jms;
+import org.osoa.sca.annotations.Remotable;
+
/**
* The client interface
*/
+@Remotable
public interface MsgClientService {
void aClientMethod();
diff --git a/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgService.java b/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgService.java
index 2fa81ec484..d376d74295 100644
--- a/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgService.java
+++ b/java/sca/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgService.java
@@ -19,7 +19,12 @@
package org.apache.tuscany.sca.binding.jms;
+import org.osoa.sca.annotations.AllowsPassByReference;
+import org.osoa.sca.annotations.Remotable;
+
+@Remotable
+@AllowsPassByReference
public interface MsgService {
void onMessage(javax.jms.Message msg);