org.infinispan.marshall.jboss
Class ExtendedRiverUnmarshaller

java.lang.Object
  extended by java.io.InputStream
      extended by org.jboss.marshalling.SimpleByteInput
          extended by org.jboss.marshalling.ByteInputStream
              extended by org.jboss.marshalling.SimpleDataInput
                  extended by org.jboss.marshalling.AbstractObjectInput
                      extended by org.jboss.marshalling.AbstractUnmarshaller
                          extended by org.jboss.marshalling.river.RiverUnmarshaller
                              extended by org.infinispan.marshall.jboss.ExtendedRiverUnmarshaller
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, org.jboss.marshalling.ByteInput, org.jboss.marshalling.Unmarshaller

public class ExtendedRiverUnmarshaller
extends org.jboss.marshalling.river.RiverUnmarshaller

An extended RiverUnmarshaller that allows Infinispan StreamingMarshaller instances to travel down the stack to potential externalizer implementations that might need it, such as MarshalledValue.Externalizer

Since:
5.1
Author:
Galder ZamarreƱo

Field Summary
 
Fields inherited from class org.jboss.marshalling.AbstractUnmarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, externalizerCreator, objectResolver, objectTable, serializabilityChecker, serializedCreator, streamHeader
 
Fields inherited from class org.jboss.marshalling.SimpleDataInput
buffer, limit, position
 
Fields inherited from class org.jboss.marshalling.ByteInputStream
byteInput
 
Constructor Summary
protected ExtendedRiverUnmarshaller(org.jboss.marshalling.river.RiverMarshallerFactory factory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration cfg)
           
 
Method Summary
 void finish()
           
 StreamingMarshaller getInfinispanMarshaller()
           
 void setInfinispanMarshaller(StreamingMarshaller infinispanMarshaller)
           
 
Methods inherited from class org.jboss.marshalling.river.RiverUnmarshaller
clearClassCache, clearInstanceCache, close, doReadNewObject, doReadObject, readFields, readString, readUTF, start
 
Methods inherited from class org.jboss.marshalling.AbstractObjectInput
readObject, readObject, readObjectUnshared, readObjectUnshared
 
Methods inherited from class org.jboss.marshalling.SimpleDataInput
available, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytes
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.marshalling.Unmarshaller
readObject, readObjectUnshared, readObjectUnshared
 
Methods inherited from interface java.io.ObjectInput
available, read, read, read, readObject, skip
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, skipBytes
 
Methods inherited from interface org.jboss.marshalling.ByteInput
available, read, read, read, skip
 

Constructor Detail

ExtendedRiverUnmarshaller

protected ExtendedRiverUnmarshaller(org.jboss.marshalling.river.RiverMarshallerFactory factory,
                                    org.jboss.marshalling.reflect.SerializableClassRegistry registry,
                                    org.jboss.marshalling.MarshallingConfiguration cfg)
Method Detail

getInfinispanMarshaller

public StreamingMarshaller getInfinispanMarshaller()

setInfinispanMarshaller

public void setInfinispanMarshaller(StreamingMarshaller infinispanMarshaller)

finish

public void finish()
            throws IOException
Specified by:
finish in interface org.jboss.marshalling.Unmarshaller
Overrides:
finish in class org.jboss.marshalling.river.RiverUnmarshaller
Throws:
IOException

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.