summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/interface-java/src/main/java
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-02-12 23:05:45 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-02-12 23:05:45 +0000
commit788e5e52292aad11f345c247b418386138976cea (patch)
treec8a5c6ac06b74dd9ab2110cef1e525f328bd6829 /sca-java-2.x/trunk/modules/interface-java/src/main/java
parentd708244921cd0fb6c664e3c4d070b4f0ef4d9e6b (diff)
TUSCANY-3290 - Fixing JavaInterfaceProcessor to write back the remotable attribute for the java interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@909649 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/interface-java/src/main/java')
-rw-r--r--sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java b/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java
index f3ced5c3e5..805e691f16 100644
--- a/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java
+++ b/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java
@@ -175,6 +175,10 @@ public class JavaInterfaceProcessor implements StAXArtifactProcessor<JavaInterfa
writer.writeAttribute(INTERFACE, javaInterface.getName());
}
+ if(javaInterface != null && javaInterface.isRemotableSet()) {
+ writer.writeAttribute(REMOTABLE, String.valueOf(javaInterface.isRemotable()));
+ }
+
JavaInterface javaCallbackInterface = (JavaInterface)javaInterfaceContract.getCallbackInterface();
if (javaCallbackInterface != null && javaCallbackInterface.getName() != null) {
writer.writeAttribute(CALLBACK_INTERFACE, javaCallbackInterface.getName());