org.granite.messaging.jmf
Interface ExtendedObjectOutput

All Superinterfaces:
DataOutput, ObjectOutput
All Known Subinterfaces:
OutputContext
All Known Implementing Classes:
JMFSerializer

public interface ExtendedObjectOutput
extends ObjectOutput

Author:
Franck WOLFF

Method Summary
 String getAlias(String className)
           
 void getAndWriteProperty(Object obj, Property property)
           
 Reflection getReflection()
          Return the Reflection registered in the global JMF SharedContext.
 void write(byte[] b)
          Deprecated. 
 void write(byte[] b, int off, int len)
          Deprecated. 
 void write(int b)
          Deprecated. 
 void writeBytes(String s)
          Deprecated. 
 void writeChars(String s)
          Deprecated. 
 
Methods inherited from interface java.io.ObjectOutput
close, flush, writeObject
 
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Method Detail

getReflection

Reflection getReflection()
Return the Reflection registered in the global JMF SharedContext.

Returns:
A Reflection utility that can be used to load classes during the serialization process.

getAlias

String getAlias(String className)

getAndWriteProperty

void getAndWriteProperty(Object obj,
                         Property property)
                         throws IOException,
                                IllegalAccessException,
                                InvocationTargetException
Throws:
IOException
IllegalAccessException
InvocationTargetException

write

@Deprecated
void write(int b)
           throws IOException
Deprecated. 

Specified by:
write in interface DataOutput
Specified by:
write in interface ObjectOutput
Throws:
IOException

write

@Deprecated
void write(byte[] b)
           throws IOException
Deprecated. 

Specified by:
write in interface DataOutput
Specified by:
write in interface ObjectOutput
Throws:
IOException

write

@Deprecated
void write(byte[] b,
                      int off,
                      int len)
           throws IOException
Deprecated. 

Specified by:
write in interface DataOutput
Specified by:
write in interface ObjectOutput
Throws:
IOException

writeBytes

@Deprecated
void writeBytes(String s)
                throws IOException
Deprecated. 

Specified by:
writeBytes in interface DataOutput
Throws:
IOException

writeChars

@Deprecated
void writeChars(String s)
                throws IOException
Deprecated. 

Specified by:
writeChars in interface DataOutput
Throws:
IOException