diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-17 18:54:14 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-17 18:54:14 +0000 |
commit | c6b987877e4f4e0a4b77b559b77da2e397abda50 (patch) | |
tree | 63ed7db938eb97cab029dcfee6d14780f38141ab /java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java | |
parent | 9639aa77ebe41dab0bcdc979f84db72faaf28e4f (diff) |
Rationalize the interfaceContracts on Endpoint/EndpointReference
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java')
-rw-r--r-- | java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java index 60c05648a3..a16d8e14f7 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointSerializer.java @@ -28,13 +28,8 @@ import org.apache.tuscany.sca.assembly.EndpointReference; * A utility to seralize/deserialize Endpoint/EndpointReference objects */ public interface EndpointSerializer { - void read(Endpoint endpoint, String xml) throws IOException; - - String write(Endpoint endpoint) throws IOException; - - void read(EndpointReference endpointReference, String xml) throws IOException; EndpointReference readEndpointReference(String xml) throws IOException; - Endpoint readEndpoint(String xml) throws IOException; - String write(EndpointReference endpointReference) throws IOException; + Endpoint readEndpoint(String xml) throws IOException; + String write(Endpoint endpoint) throws IOException; } |