1 7 package org.jboss.test.remoting.marshall.dynamic.remote.socket; 8 9 import java.io.IOException ; 10 import java.io.OutputStream ; 11 import org.jboss.remoting.marshal.serializable.SerializableMarshaller; 12 import org.jboss.test.remoting.marshall.dynamic.remote.TestWrapper; 13 14 17 public class TestMarshaller extends SerializableMarshaller 18 { 19 public final static String DATATYPE = "test"; 20 21 23 31 public void write(Object dataObject, OutputStream output) throws IOException 32 { 33 TestWrapper wrapper = new TestWrapper(dataObject); 34 super.write(wrapper, output); 35 } 36 37 public String getDataType() 38 { 39 return DATATYPE; 40 } 41 } | Popular Tags |