java.io.Closeable, java.io.DataOutput, java.io.Flushable, java.io.ObjectOutput, java.lang.AutoCloseable, ByteOutput, Marshallerpublic class RiverMarshaller extends AbstractMarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeaderbyteOutputbuffer, bufferSize| Modifier | Constructor | Description |
|---|---|---|
protected |
RiverMarshaller(RiverMarshallerFactory marshallerFactory,
SerializableClassRegistry registry,
MarshallingConfiguration configuration) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clearClassCache() |
|
void |
clearInstanceCache() |
|
protected void |
doWriteEmptyFields(SerializableClass info) |
|
protected void |
doWriteFields(SerializableClass info,
java.lang.Object obj) |
|
protected void |
doWriteObject(java.lang.Object original,
boolean unshared) |
|
protected void |
doWriteSerializableObject(SerializableClass info,
java.lang.Object obj,
java.lang.Class<?> objClass) |
|
protected org.jboss.marshalling.river.BlockMarshaller |
getBlockMarshaller() |
|
protected java.io.ObjectOutput |
getObjectOutput() |
|
void |
start(ByteOutput byteOutput) |
|
protected void |
writeClass(java.lang.Class<?> objClass) |
|
protected void |
writeClassClass(java.lang.Class<?> classObj) |
|
protected void |
writeEnumClass(java.lang.Class<? extends java.lang.Enum> objClass) |
|
protected void |
writeExternalizableClass(java.lang.Class<?> objClass) |
|
protected void |
writeExternalizerClass(java.lang.Class<?> objClass,
Externalizer externalizer) |
|
protected boolean |
writeKnownClass(java.lang.Class<?> objClass,
boolean isSuper) |
|
protected void |
writeNewClass(java.lang.Class<?> objClass) |
|
protected void |
writeNewEnumClass(java.lang.Class<? extends java.lang.Enum> objClass) |
|
protected void |
writeNewExternalizableClass(java.lang.Class<?> objClass) |
|
protected void |
writeNewExternalizerClass(java.lang.Class<?> objClass,
Externalizer externalizer) |
|
protected void |
writeNewProxyClass(java.lang.Class<?> objClass) |
|
protected void |
writeNewSerializableClass(java.lang.Class<?> objClass) |
|
protected void |
writeNewSerialSuperClass(java.lang.Class<?> objClass) |
|
protected void |
writeObjectArrayClass(java.lang.Class<?> objClass) |
|
protected void |
writeProxyClass(java.lang.Class<?> objClass) |
|
protected void |
writeSerializableClass(java.lang.Class<?> objClass,
boolean isSuper) |
|
protected void |
writeSerialSuperClass(java.lang.Class<?> objClass) |
|
void |
writeUTF(java.lang.String string) |
close, finish, writeObject, writeObjectUnsharedwrite, write, writewriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, shallowFlush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShortprotected RiverMarshaller(RiverMarshallerFactory marshallerFactory, SerializableClassRegistry registry, MarshallingConfiguration configuration) throws java.io.IOException
java.io.IOExceptionprotected void doWriteObject(java.lang.Object original,
boolean unshared)
throws java.io.IOException
doWriteObject in class AbstractObjectOutputjava.io.IOExceptionprotected java.io.ObjectOutput getObjectOutput()
protected org.jboss.marshalling.river.BlockMarshaller getBlockMarshaller()
protected void doWriteSerializableObject(SerializableClass info, java.lang.Object obj, java.lang.Class<?> objClass) throws java.io.IOException
java.io.IOExceptionprotected void doWriteFields(SerializableClass info, java.lang.Object obj) throws java.io.IOException
java.io.IOExceptionprotected void doWriteEmptyFields(SerializableClass info) throws java.io.IOException
java.io.IOExceptionprotected void writeProxyClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewProxyClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeEnumClass(java.lang.Class<? extends java.lang.Enum> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewEnumClass(java.lang.Class<? extends java.lang.Enum> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeClassClass(java.lang.Class<?> classObj)
throws java.io.IOException
java.io.IOExceptionprotected void writeObjectArrayClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeSerialSuperClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewSerialSuperClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected boolean writeKnownClass(java.lang.Class<?> objClass,
boolean isSuper)
throws java.io.IOException
java.io.IOExceptionprotected void writeSerializableClass(java.lang.Class<?> objClass,
boolean isSuper)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewSerializableClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeExternalizableClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewExternalizableClass(java.lang.Class<?> objClass)
throws java.io.IOException
java.io.IOExceptionprotected void writeExternalizerClass(java.lang.Class<?> objClass,
Externalizer externalizer)
throws java.io.IOException
java.io.IOExceptionprotected void writeNewExternalizerClass(java.lang.Class<?> objClass,
Externalizer externalizer)
throws java.io.IOException
java.io.IOExceptionpublic void clearInstanceCache()
throws java.io.IOException
java.io.IOExceptionpublic void clearClassCache()
throws java.io.IOException
java.io.IOExceptionpublic void start(ByteOutput byteOutput) throws java.io.IOException
start in interface Marshallerstart in class AbstractMarshallerjava.io.IOExceptionpublic void writeUTF(java.lang.String string)
throws java.io.IOException
writeUTF in interface java.io.DataOutputwriteUTF in class SimpleDataOutputjava.io.IOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.