From c6b987877e4f4e0a4b77b559b77da2e397abda50 Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 17 Nov 2009 18:54:14 +0000 Subject: Rationalize the interfaceContracts on Endpoint/EndpointReference git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881438 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/runtime/EndpointSerializer.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'java/sca/modules/core-spi') 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; } -- cgit v1.2.3