public class RiverMarshaller extends AbstractMarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeaderbuffer, bufferSizebyteOutput| Modifier | Constructor and Description |
|---|---|
protected |
RiverMarshaller(RiverMarshallerFactory marshallerFactory,
SerializableClassRegistry registry,
MarshallingConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearClassCache() |
void |
clearInstanceCache() |
protected void |
doWriteEmptyFields(SerializableClass info) |
protected void |
doWriteFields(SerializableClass info,
Object obj) |
protected void |
doWriteObject(Object original,
boolean unshared) |
protected void |
doWriteSerializableObject(SerializableClass info,
Object obj,
Class<?> objClass) |
protected org.jboss.marshalling.river.BlockMarshaller |
getBlockMarshaller() |
protected ObjectOutput |
getObjectOutput() |
void |
start(ByteOutput byteOutput) |
protected void |
writeClass(Class<?> objClass) |
protected void |
writeClassClass(Class<?> classObj) |
protected void |
writeEnumClass(Class<? extends Enum> objClass) |
protected void |
writeExternalizableClass(Class<?> objClass) |
protected void |
writeExternalizerClass(Class<?> objClass,
Externalizer externalizer) |
protected boolean |
writeKnownClass(Class<?> objClass) |
protected void |
writeNewClass(Class<?> objClass) |
protected void |
writeNewEnumClass(Class<? extends Enum> objClass) |
protected void |
writeNewExternalizableClass(Class<?> objClass) |
protected void |
writeNewExternalizerClass(Class<?> objClass,
Externalizer externalizer) |
protected void |
writeNewProxyClass(Class<?> objClass) |
protected void |
writeNewSerializableClass(Class<?> objClass) |
protected void |
writeObjectArrayClass(Class<?> objClass) |
protected void |
writeProxyClass(Class<?> objClass) |
protected void |
writeSerializableClass(Class<?> objClass) |
void |
writeUTF(String string) |
close, finish, writeObject, writeObjectUnsharedflush, shallowFlush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, write, write, writewriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShortwrite, write, writeprotected RiverMarshaller(RiverMarshallerFactory marshallerFactory, SerializableClassRegistry registry, MarshallingConfiguration configuration) throws IOException
IOExceptionprotected void doWriteObject(Object original, boolean unshared) throws IOException
doWriteObject in class AbstractObjectOutputIOExceptionprotected ObjectOutput getObjectOutput()
protected org.jboss.marshalling.river.BlockMarshaller getBlockMarshaller()
protected void doWriteSerializableObject(SerializableClass info, Object obj, Class<?> objClass) throws IOException
IOExceptionprotected void doWriteFields(SerializableClass info, Object obj) throws IOException
IOExceptionprotected void doWriteEmptyFields(SerializableClass info) throws IOException
IOExceptionprotected void writeProxyClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeNewProxyClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeEnumClass(Class<? extends Enum> objClass) throws IOException
IOExceptionprotected void writeNewEnumClass(Class<? extends Enum> objClass) throws IOException
IOExceptionprotected void writeClassClass(Class<?> classObj) throws IOException
IOExceptionprotected void writeObjectArrayClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeNewClass(Class<?> objClass) throws IOException
IOExceptionprotected boolean writeKnownClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeSerializableClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeNewSerializableClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeExternalizableClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeNewExternalizableClass(Class<?> objClass) throws IOException
IOExceptionprotected void writeExternalizerClass(Class<?> objClass, Externalizer externalizer) throws IOException
IOExceptionprotected void writeNewExternalizerClass(Class<?> objClass, Externalizer externalizer) throws IOException
IOExceptionpublic void clearInstanceCache()
throws IOException
IOExceptionpublic void clearClassCache()
throws IOException
IOExceptionpublic void start(ByteOutput byteOutput) throws IOException
start in interface Marshallerstart in class AbstractMarshallerIOExceptionpublic void writeUTF(String string) throws IOException
writeUTF in interface DataOutputwriteUTF in class SimpleDataOutputIOExceptionCopyright © 2011 JBoss, a division of Red Hat, Inc.