diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-05 00:44:16 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-05 00:44:16 +0000 |
commit | 2f27de73c145464414bd076613f2582e406b2f42 (patch) | |
tree | 8d730a91a2fb16ab7317d02131e6cc5eeb16e71d /sca-java-2.x/trunk/modules/core | |
parent | 7143648c3377e3ff5e655c3b8c56d7bf75d8b91e (diff) |
Keep the remote flag
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@887470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core')
-rw-r--r-- | sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java index abe0fdd78b..3cc6b61782 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java @@ -59,6 +59,7 @@ public class EndpointSerializerImpl implements EndpointSerializer { try { XMLStreamReader reader = inputFactory.createXMLStreamReader(new StringReader(xml)); Endpoint result = processor.read(reader, new ProcessorContext(registry)); + result.setRemote(true); reader.close(); return result; } catch (Exception e) { @@ -83,6 +84,7 @@ public class EndpointSerializerImpl implements EndpointSerializer { try { XMLStreamReader reader = inputFactory.createXMLStreamReader(new StringReader(xml)); EndpointReference result = refProcessor.read(reader, new ProcessorContext(registry)); + result.setRemote(true); reader.close(); return result; } catch (Exception e) { |