[jboss-remoting-commits] JBoss Remoting SVN: r4001 - remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed Apr 16 23:03:00 EDT 2008


Author: david.lloyd at jboss.com
Date: 2008-04-16 23:03:00 -0400 (Wed, 16 Apr 2008)
New Revision: 4001

Modified:
   remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/Marshaller.java
   remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/ObjectResolver.java
Log:
Minor changes to marshallers - but this is the new api which is not yet implemented - so: nothing to see here, move along

Modified: remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/Marshaller.java
===================================================================
--- remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/Marshaller.java	2008-04-17 00:49:34 UTC (rev 4000)
+++ remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/Marshaller.java	2008-04-17 03:03:00 UTC (rev 4001)
@@ -1,6 +1,7 @@
 package org.jboss.cx.remoting.spi.marshal;
 
 import java.io.IOException;
+import java.io.Serializable;
 import org.jboss.cx.remoting.spi.DataMessageInput;
 import org.jboss.cx.remoting.spi.DataMessageOutput;
 import org.jboss.cx.remoting.spi.ObjectMessageInput;
@@ -9,15 +10,11 @@
 /**
  *
  */
-public interface Marshaller {
+public interface Marshaller extends Serializable {
     ObjectMessageOutput getMessageOutput(DataMessageOutput dataMessageOutput) throws IOException;
 
     ObjectMessageInput getMessageInput(DataMessageInput dataMessageInput) throws IOException;
 
-    Marshaller createChild() throws IOException;
-
-    Marshaller createChild(ClassLoader classLoader) throws IOException;
-
     void addFirstObjectResolver(ObjectResolver resolver);
 
     void addLastObjectResolver(ObjectResolver resolver);

Modified: remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/ObjectResolver.java
===================================================================
--- remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/ObjectResolver.java	2008-04-17 00:49:34 UTC (rev 4000)
+++ remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/marshal/ObjectResolver.java	2008-04-17 03:03:00 UTC (rev 4001)
@@ -1,11 +1,12 @@
 package org.jboss.cx.remoting.spi.marshal;
 
 import java.io.IOException;
+import java.io.Serializable;
 
 /**
  *
  */
-public interface ObjectResolver {
+public interface ObjectResolver extends Serializable {
     Object readResolve(Object original) throws IOException;
 
     Object writeReplace(Object original) throws IOException;




More information about the jboss-remoting-commits mailing list