diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-10 05:57:51 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-10 05:57:51 +0000 |
commit | 1265ef2c9979752024588a8aacbde31fed1e6df1 (patch) | |
tree | 986ece3dd1b45fa8829d95ba1f2c835da9e7b554 /java/sca/modules/assembly | |
parent | 6c21cd40d156d91d02d1a2ea6c658fbfac3c0d3a (diff) |
Create the runtime version of Endpoint2 for serialization
Serialize the EP using XML
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@783213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly')
-rw-r--r-- | java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/Endpoint2Impl.java | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/Endpoint2Impl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/Endpoint2Impl.java index 32506e63e2..26bf3bcda6 100644 --- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/Endpoint2Impl.java +++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/Endpoint2Impl.java @@ -18,10 +18,6 @@ */ package org.apache.tuscany.sca.assembly.impl; -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; import java.util.ArrayList; import java.util.List; @@ -42,8 +38,10 @@ import org.apache.tuscany.sca.policy.PolicySubject; * * @version $Rev$ $Date$ */ -public class Endpoint2Impl implements Endpoint2, Externalizable { - private ExtensionPointRegistry registry; +public class Endpoint2Impl implements Endpoint2 { + private static final long serialVersionUID = 7344399683703812593L; + + protected ExtensionPointRegistry registry; private Boolean unresolved; private String componentName; private Component component; @@ -186,16 +184,4 @@ public class Endpoint2Impl implements Endpoint2, Externalizable { return output; } - public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { - // TODO: Lookup an endpoint serializer utility from the UtilityExtensionPoint - // Read the EP from the XML document - // See javax.xml.ws.wsaddressing.W3CEndpointReference - } - - public void writeExternal(ObjectOutput out) throws IOException { - // TODO: Lookup an endpoint serializer utility from the UtilityExtensionPoint - // Write the EP as XML document - // See javax.xml.ws.wsaddressing.W3CEndpointReference - } - } |