Package com.ibm.ws.serialization
Interface SerializationContext
- 
 public interface SerializationContextA context for serializing objects.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddObjectReplacer(SerializationObjectReplacer replacer)Add an object replacer local to this context only.java.io.ObjectOutputStreamcreateObjectOutputStream(java.io.OutputStream output)Create a stream for serializing objects using this context.
 
- 
- 
- 
Method Detail- 
addObjectReplacervoid addObjectReplacer(SerializationObjectReplacer replacer) Add an object replacer local to this context only.- Parameters:
- resolver- the resolver to add
 
 - 
createObjectOutputStreamjava.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream output) throws java.io.IOExceptionCreate a stream for serializing objects using this context.- Parameters:
- output- the output stream to write serialized object data
- Returns:
- a stream for serialization
- Throws:
- java.io.IOException- if the- ObjectOutputStreamconstructor throws an exception
 
 
- 
 
-