org.jboss.serial.objectmetamodel
Interface ObjectsCache.JBossSeralizationOutputInterface

All Superinterfaces:
java.io.DataOutput, java.io.ObjectOutput
Enclosing class:
ObjectsCache

public static interface ObjectsCache.JBossSeralizationOutputInterface
extends java.io.ObjectOutput

Required operations to work well with ObjectsCache


Method Summary
 void addObjectReference(int reference)
          Extracts the integer of an object, and add the output
 void closeObjectDefinition()
           
 boolean isCheckSerializableClass()
           
 void openObjectDefinition()
           
 void saveImmutable(ObjectsCache cache, java.lang.Object obj)
           
 void writeByteDirectly(byte parameter)
           
 
Methods inherited from interface java.io.ObjectOutput
close, flush, write, write, write, writeObject
 
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Method Detail

addObjectReference

void addObjectReference(int reference)
                        throws java.io.IOException
Extracts the integer of an object, and add the output

Throws:
java.io.IOException

openObjectDefinition

void openObjectDefinition()
                          throws java.io.IOException
Throws:
java.io.IOException

closeObjectDefinition

void closeObjectDefinition()
                           throws java.io.IOException
Throws:
java.io.IOException

writeByteDirectly

void writeByteDirectly(byte parameter)
                       throws java.io.IOException
Throws:
java.io.IOException

isCheckSerializableClass

boolean isCheckSerializableClass()

saveImmutable

void saveImmutable(ObjectsCache cache,
                   java.lang.Object obj)
                   throws java.io.IOException
Throws:
java.io.IOException


JBoss Serialization, a new approach to java-serialization.