diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-25 05:48:26 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-25 05:48:26 +0000 |
commit | bca2abce51606d0a605e63961d8deff9288468bc (patch) | |
tree | b3663c5c06264778f1907ae90b2c862ec466816e /sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache | |
parent | 6f39aeb466f28198ea95877ca76bd4f7791c3c48 (diff) |
Don't include the implementation in the serialized endpoint. This fixes the issue with the implementation type needing to be available where the endpoint is deserialized
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@927277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/EndpointProcessor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/EndpointProcessor.java b/sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/EndpointProcessor.java index 2a76248d80..9b2b1cca6c 100644 --- a/sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/EndpointProcessor.java +++ b/sca-java-2.x/trunk/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/EndpointProcessor.java @@ -101,6 +101,7 @@ public class EndpointProcessor extends BaseAssemblyProcessor implements StAXArti composite.setName(ENDPOINT_QNAME); composite.setLocal(false); Component component = (Component)endpoint.getComponent().clone(); + component.setImplementation(null); composite.getComponents().add(component); component.getReferences().clear(); component.getServices().clear(); |